/* CSS Custom Properties */
:root {
    --color-burgundy: #781F2E;
    --color-burgundy-dark: #5A1520;
    --color-burgundy-light: #9E2A3D;
    --color-blush: #FCE4D6;
    --color-blush-light: #FFF5F0;
    --color-blush-dark: #E8C4B0;
    --color-cream: #FDF8F4;
    --color-charcoal: #2C2C2C;
    --color-text: #1A1A1A;
    --color-text-light: #4A4A4A;
    --color-white: #FFFFFF;
    --color-border: #E8DDD5;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 2px 8px rgba(120, 31, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(120, 31, 46, 0.12);
    --shadow-lg: 0 8px 40px rgba(120, 31, 46, 0.16);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-burgundy);
}

.nav {
    display: flex;
    gap: var(--space-md);
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-burgundy);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--color-burgundy);
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--color-burgundy);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-blush-light) 100%);
}

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

.hero-content {
    max-width: 540px;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    color: var(--color-text-light);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
}

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-secondary:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
    margin-top: var(--space-md);
}

.btn-outline:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    margin-top: var(--space-sm);
}

/* Features Section */
.features {
    padding: var(--space-xl) 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-md);
    background: var(--color-cream);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blush);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Products Section */
.products {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.product-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: var(--space-md);
}

.product-info h3 {
    margin-bottom: var(--space-xs);
    color: var(--color-burgundy);
}

.product-info p {
    font-size: 0.95rem;
}

/* Community Section */
.community {
    padding: var(--space-xl) 0;
    background: var(--color-white);
}

.community-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.community-content .section-tag {
    display: block;
    text-align: left;
}

.community-content h2 {
    margin-bottom: var(--space-md);
}

.community-content p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.community-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* CTA Section */
.cta {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--color-burgundy) 0%, var(--color-burgundy-dark) 100%);
}

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

.cta-content .section-tag {
    color: var(--color-blush);
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-content > p {
    color: var(--color-blush);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    text-align: left;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-item svg {
    color: var(--color-blush);
    margin-bottom: var(--space-xs);
}

.contact-item strong {
    color: var(--color-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p,
.contact-item a {
    color: var(--color-blush);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: var(--space-lg) 0 var(--space-md);
    background: var(--color-charcoal);
}

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

.footer-brand p {
    color: var(--color-blush-dark);
    margin-top: var(--space-sm);
    font-size: 0.95rem;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    color: var(--color-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    color: var(--color-blush-dark);
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
    transition: color 0.3s ease;
}

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

.footer-contact p,
.footer-contact a {
    display: block;
    color: var(--color-blush-dark);
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-blush-dark);
    font-size: 0.875rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        font-size: 1.1rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .community-split {
        grid-template-columns: 1fr;
    }
    
    .community-image {
        order: -1;
    }
    
    .community-image img {
        height: 400px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 640px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
