/* ============================================
   DESIGN PHILOSOPHY: Elegant Classic with Artisan Touch
   - Playfair Display for headings (serif elegance)
   - Lato for body text (clean readability)
   - Warm color palette: beige, cream, chocolate, rose gold
   - Large product images as focal point
   - Asymmetric layout with generous whitespace
   - Subtle animations on hover
   ============================================ */

/* ============================================
   ROOT & VARIABLES
   ============================================ */
:root {
    /* Colors */
    --color-background: #f5f1ed;
    --color-foreground: #3c3c3c;
    --color-accent: #c85a54;
    --color-accent-hover: #b84a44;
    --color-muted: #8b8b8b;
    --color-border: #e8e4e0;
    --color-card-bg: #ffffff;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius: 0.65rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: var(--spacing-md) 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.menu-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: transparent;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.menu-link:hover {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, rgba(245, 241, 237, 0.5) 0%, rgba(245, 241, 237, 0.3) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><path d="M50 50 Q100 0 150 50 T250 50" stroke="%23e8e4e0" stroke-width="1" fill="none" opacity="0.3"/><path d="M0 100 Q50 50 100 100 T200 100" stroke="%23e8e4e0" stroke-width="1" fill="none" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="none"/><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    background-size: 200px 200px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hero-title h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-muted);
    line-height: 1.8;
    max-width: 500px;
}

.hero-button-container {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background-color: var(--color-accent);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    min-height: 60px;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.button-icon {
    font-size: 1.5rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.info-card:hover {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-title {
    font-weight: 600;
    color: var(--color-foreground);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px and up) */
@media (max-width: 1024px) {
    .hero-title h1 {
        font-size: 2.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-image {
        min-height: 300px;
    }
}

/* Mobile (640px and up) */
@media (max-width: 768px) {
    :root {
        --spacing-2xl: 2rem;
        --spacing-xl: 1.5rem;
    }
    
    .header-container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo {
        height: 40px;
    }
    
    .menu-link {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
        min-height: 50px;
        width: 100%;
    }
    
    .button-icon {
        font-size: 1.25rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .info-card {
        padding: var(--spacing-sm);
    }
    
    .hero-image {
        min-height: 250px;
    }
}

/* Small Mobile (480px and down) */
@media (max-width: 480px) {
    :root {
        --spacing-2xl: 1.5rem;
        --spacing-xl: 1rem;
        --spacing-lg: 1rem;
    }
    
    .header {
        padding: var(--spacing-sm) 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .logo {
        height: 36px;
    }
    
    .menu-link {
        width: 100%;
        justify-content: center;
    }
    
    .hero-container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: var(--spacing-md) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

.hero-image {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header {
        display: none;
    }
    
    .cta-button {
        border: 1px solid var(--color-foreground);
    }
}
