/* ========================================
   Sauna Haven - Premium Design System
   Award-Winning Design Implementation
   ======================================== */

/* CSS Variables - Wellness/Natural Palette */
:root {
    --primary: #2D5016;           /* Deep Forest Green */
    --primary-dark: #1E3A0E;      /* Darker Green */
    --primary-light: #4A7C2E;     /* Lighter Green */
    --secondary: #D4A574;         /* Warm Amber */
    --secondary-dark: #B8865A;    /* Dark Amber */
    --accent: #C9A961;            /* Soft Gold */
    --neutral-dark: #2C2C2C;      /* Charcoal */
    --neutral-medium: #6B7280;    /* Cool Gray */
    --neutral-light: #FAF9F6;     /* Warm White */
    --neutral-border: #E5E7EB;    /* Light Border */
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header & Navigation
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-border);
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: 28px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-dark);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neutral-dark);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212,165,116,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 80px 0;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--neutral-dark);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--neutral-dark);
}

/* ========================================
   Category Cards
   ======================================== */

.featured-categories {
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.category-card {
    background: var(--neutral-light);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--neutral-border);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon {
    font-size: 36px;
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--neutral-dark);
}

.category-card p {
    color: var(--neutral-medium);
    margin-bottom: 24px;
    line-height: 1.6;
}

.category-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.category-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   Product Cards
   ======================================== */

.featured-products {
    background: var(--neutral-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--neutral-border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--neutral-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    padding-right: 80px;
}

.product-card h3 a {
    color: var(--neutral-dark);
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-border);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.rating {
    color: var(--accent);
    font-size: 14px;
}

.product-card p {
    color: var(--neutral-medium);
    margin-bottom: 24px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ========================================
   Trust Section
   ======================================== */

.why-trust-us {
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.trust-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.trust-item p {
    color: var(--neutral-medium);
    line-height: 1.6;
}

/* ========================================
   Newsletter
   ======================================== */

.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: var(--neutral-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ========================================
   Mobile Responsive
   ======================================== */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .category-grid,
    .product-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .container {
        padding: 0 16px;
    }
}
