/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for consistent design system */
:root {
    --champagne-gold: #D4AF37;
    --pine-green: #2D5016;
    --deep-indigo: #1E3A8A;
    --snow-white: #FFFAFA;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-light: #E5E7EB;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing system (8px grid) */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--snow-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

/* Header */
.header {
    background-color: var(--snow-white);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.nav {
    margin-left: auto;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: background-color 0.2s ease;
}

.nav a:hover {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.btn-primary {
    background-color: var(--champagne-gold);
    color: var(--text-dark);
    border: 2px solid var(--champagne-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--champagne-gold);
}

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

.btn-secondary:hover {
    background-color: var(--pine-green);
    color: var(--snow-white);
}

/* Hero Section */
.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--snow-white) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content h1 {
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Placeholder Images */
.placeholder-image {
    background-color: var(--border-light);
    border: 2px dashed var(--text-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
    width: 100%;
    height: 300px;
}

/* Sections */
section {
    padding: var(--space-3xl) 0;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

/* Centered sections for index page */
.centered-section {
    text-align: center;
}

.centered-section .container > * {
    margin-left: auto;
    margin-right: auto;
}

.centered-section .services-grid,
.centered-section .products-grid,
.centered-section .features-grid,
.centered-section .steps,
.centered-section .collections-grid,
.centered-section .testimonials-grid {
    text-align: left;
}

/* Introduction */
.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--champagne-gold);
}

.stat-label {
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
}

/* Services Grid */
.services h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background-color: var(--snow-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.service-icon {
    margin-bottom: var(--space-md);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

/* Products */
.products h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background-color: var(--snow-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-price {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--champagne-gold);
    margin: var(--space-sm) var(--space-md);
}

.product-card h3,
.product-card p {
    padding: 0 var(--space-md);
}

.product-card h3 {
    padding-top: var(--space-md);
    color: var(--text-dark);
}

.product-actions {
    padding: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Features Grid */
.why-choose h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature {
    text-align: center;
}

.feature h3 {
    color: var(--pine-green);
    margin-bottom: var(--space-sm);
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--champagne-gold);
    color: var(--text-dark);
    border-radius: 50%;
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

/* Collections */
.seasonal h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.collection {
    text-align: center;
}

.collection-image {
    width: 100%;
    height: 250px;
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.collection h3 {
    color: var(--deep-indigo);
    margin-bottom: var(--space-sm);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial {
    background-color: var(--snow-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial cite {
    font-weight: var(--font-weight-medium);
    color: var(--pine-green);
}

/* Contact */
.contact {
    background-color: var(--pine-green);
    color: var(--snow-white);
}

.contact h2 {
    text-align: center;
    color: var(--snow-white);
    margin-bottom: var(--space-2xl);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.contact-item h3 {
    color: var(--champagne-gold);
    margin-bottom: var(--space-sm);
}

.contact-item a {
    color: var(--snow-white);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.contact-item a:hover {
    color: var(--champagne-gold);
}

.contact-item address {
    font-style: normal;
    color: var(--snow-white);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--snow-white);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.footer-column h3,
.footer-contact h3 {
    color: var(--champagne-gold);
    margin-bottom: var(--space-md);
}

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

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column ul a,
.footer-contact a {
    color: var(--snow-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul a:hover,
.footer-contact a:hover {
    color: var(--champagne-gold);
}

.footer-brand p,
.footer-contact p {
    color: var(--snow-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-md);
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .btn {
        flex: 1;
        min-width: auto;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    .centered-section {
        text-align: left;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .service-card,
    .testimonial {
        padding: var(--space-md);
    }
}