/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Color Palette - Professional & Sophisticated */
    --primary: #2C2C2C;
    --secondary: #8B7355;
    --accent: #C4A57B;
    --light-accent: #E8DCC4;
    --background: #FAFAF8;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --border-light: #E5E5E5;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.brand-logo {
    height: 50px;
    width: auto;
    margin-right: 1rem;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--secondary);
    background-color: var(--light-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7) 0%, rgba(139, 115, 85, 0.7) 100%), url('../assets/bg_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-logo {
    width: 500px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    animation: fadeInUp 1s ease-out;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: var(--transition);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-content {
    padding: var(--spacing-md);
}

.product-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.feature {
    padding: 0.4rem 0.8rem;
    background-color: var(--light-accent);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}

.product-size {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.125rem;
}

.add-to-cart {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
}

.add-to-cart:hover {
    background-color: var(--secondary);
    transform: translateX(2px);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--white), var(--background));
}

.about-text {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--primary);
    color: var(--white);
}

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

.contact-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-content > p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 6px;
    margin-top: var(--spacing-sm);
}

.submit-button:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
        padding: var(--spacing-sm) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-logo {
        width: 360px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .brand-logo {
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .nav-brand h1 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-logo {
        width: 300px;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .product-content h3 {
        font-size: 1.5rem;
    }
    
    .brand-logo {
        height: 35px;
        margin-right: 0.5rem;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
    }
}
