/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: rgba(10, 15, 13, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(10, 15, 13, 0.95);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: #D1D5DB;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFF;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background-image: url('https://www.lahti-huvilat.fi/images/tuotteet/modernisauna1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 15, 13, 0.4), var(--bg-primary));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #E5E7EB;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  background: #2ce06d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.items-center { align-items: center; }

/* Product Page Header */
.page-header {
  padding: 12rem 0 6rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.1), transparent 70%);
  border-bottom: 1px solid var(--glass-border);
}

/* Glassmorphic Card */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-image {
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--glass-border);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.card .btn { margin: 0 2rem 2rem; width: calc(100% - 4rem); }

/* Features List */
.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Utilities & Animations */
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.rounded-image { border-radius: 20px; }
.shadow-premium { box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--glass-border); }

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

/* Mobile Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-buttons { flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active {
    max-height: 400px;
  }
  .nav-links li {
    text-align: center;
    padding: 1rem 0;
  }
  .hamburger {
    display: block;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
