/* ===== CSS Custom Properties ===== */
:root {
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --burgundy-light: #8B3A42;
    --blush: #F5E6E0;
    --blush-light: #FBF5F3;
    --blush-dark: #E8CFC4;
    --cream: #FFFAF7;
    --charcoal: #2C2C2C;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 2px 8px rgba(114, 47, 55, 0.06);
    --shadow-md: 0 4px 20px rgba(114, 47, 55, 0.1);
    --shadow-lg: 0 8px 40px rgba(114, 47, 55, 0.15);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

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

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

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

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

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--blush-dark);
    transition: var(--transition);
}

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

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--burgundy);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1.5rem;
    color: var(--burgundy);
    padding: 8px;
}

.mobile-menu-overlay ul {
    list-style: none;
    text-align: center;
    gap: var(--space-md);
    display: flex;
    flex-direction: column;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--burgundy);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(114, 47, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

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

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 2;
}

.stat-card {
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: -2s;
    margin-left: 40px;
}

.stat-card:nth-child(3) {
    animation-delay: -4s;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img--large {
    width: 320px;
    height: 420px;
    top: 10%;
    right: 15%;
    z-index: 1;
}

.hero-img--small {
    width: 220px;
    height: 280px;
    top: 35%;
    right: 0;
    z-index: 2;
}

.hero-img--accent {
    width: 160px;
    height: 200px;
    bottom: 5%;
    right: 35%;
    z-index: 3;
}

/* ===== About Section ===== */
.about {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

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

.about-text {
    max-width: 520px;
}

.about-body {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-body:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--burgundy);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.2;
}

/* ===== Collection Section ===== */
.collection {
    padding: var(--space-2xl) 0;
    background: var(--blush-light);
}

.section-header {
    margin-bottom: var(--space-xl);
}

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

.collection-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.collection-card-img {
    overflow: hidden;
    height: 280px;
}

.collection-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.collection-card-content {
    padding: var(--space-md);
}

.collection-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.collection-card-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Visit Section ===== */
.visit {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit-info {
    max-width: 500px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.visit-detail {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.visit-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.6;
    white-space: nowrap;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-md);
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-text .section-eyebrow {
    color: var(--blush);
}

.contact-text .section-title {
    color: var(--white);
}

.contact-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 440px;
}

.contact-form {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--blush-light);
    border: 1.5px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-md);
    background: var(--blush);
    border-radius: var(--radius-md);
    color: var(--burgundy);
    font-weight: 500;
    margin-top: var(--space-sm);
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 var(--space-sm);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: var(--space-md);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subheadline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: var(--space-lg);
        flex-wrap: wrap;
    }
    
    .stat-card {
        animation: none;
    }
    
    .stat-card:nth-child(2) {
        margin-left: 0;
    }
    
    .hero-images {
        display: none;
    }
    
    .about-container,
    .visit-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .visit-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .stat-card {
        min-width: 140px;
    }
}
