/* ===== CSS Custom Properties ===== */
:root {
    --burgundy: #781f24;
    --burgundy-dark: #5a171c;
    --burgundy-light: #9e2a30;
    --blush: #f5e6e0;
    --blush-light: #faf3f0;
    --blush-dark: #e8d0c8;
    --cream: #fdf8f5;
    --charcoal: #2a2220;
    --charcoal-light: #4a3f3c;
    --warm-gray: #8a7e7a;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --shadow-sm: 0 2px 8px rgba(120, 31, 36, 0.06);
    --shadow-md: 0 8px 30px rgba(120, 31, 36, 0.1);
    --shadow-lg: 0 16px 60px rgba(120, 31, 36, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

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

.btn-nav {
    background: var(--blush);
    color: var(--burgundy);
    border-color: var(--blush);
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

.btn-full { width: 100%; justify-content: center; }

/* ===== Section Labels ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--warm-gray);
    max-width: 560px;
    line-height: 1.7;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(120, 31, 36, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(253, 248, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--burgundy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--charcoal-light);
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--burgundy);
    background: var(--blush);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    padding-top: 72px;
    background: var(--blush);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 60px 0 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--burgundy);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 85%;
    aspect-ratio: 600/750;
}

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

.hero-img-float {
    position: absolute;
    bottom: 60px;
    left: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 55%;
    aspect-ratio: 400/300;
    border: 4px solid var(--white);
}

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

.hero-stat {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--burgundy);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.813rem;
    color: var(--warm-gray);
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Products ===== */
.products {
    padding: 100px 0;
    background: var(--cream);
}

.products .section-subtitle {
    margin-bottom: 48px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    aspect-ratio: 400/300;
    overflow: hidden;
}

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

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

.product-body {
    padding: 24px 24px 16px;
    flex: 1;
}

.product-body h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.product-body p {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.product-tag {
    margin: 0 24px 20px;
    display: inline-block;
    background: var(--blush);
    color: var(--burgundy);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-visual {
    position: relative;
}

.why-img-stack {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 500/600;
}

.why-img-stack img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 55%;
    aspect-ratio: 300/200;
    border: 4px solid var(--white);
}

.why-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-content .section-subtitle {
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

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

.feature-item h4 {
    font-family: var(--font-body);
    font-size: 1.063rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.feature-item p {
    font-size: 0.938rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ===== Community ===== */
.community {
    padding: 100px 0;
    background: var(--burgundy);
}

.community .section-label { color: var(--blush); }
.community .section-title { color: var(--white); }
.community .section-subtitle { color: rgba(245, 230, 224, 0.7); }

.community-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.community-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--blush);
    font-size: 1.063rem;
    font-weight: 500;
}

.community-list svg {
    color: var(--blush);
    flex-shrink: 0;
}

.community-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 500/400;
}

.community-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Visit ===== */
.visit {
    padding: 100px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.visit-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-detail {
    display: flex;
    gap: 16px;
}

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

.visit-detail-label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--burgundy);
    font-weight: 600;
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1/1;
    min-height: 400px;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--blush);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 64px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-text .section-subtitle {
    margin-bottom: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(120, 31, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--blush);
    border-radius: var(--radius-sm);
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.938rem;
}

.form-success svg {
    flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--charcoal);
    color: var(--blush);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--blush);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(245, 230, 224, 0.6);
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blush);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(245, 230, 224, 0.6);
    font-size: 0.938rem;
    transition: var(--transition);
}

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

.footer-contact a {
    color: rgba(245, 230, 224, 0.6);
    font-size: 0.938rem;
    transition: var(--transition);
}

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

.footer-contact li:last-child {
    color: rgba(245, 230, 224, 0.6);
    font-size: 0.938rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 224, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(245, 230, 224, 0.4);
    font-size: 0.813rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { align-items: center; }
    .hero-img-main { width: 70%; }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .community-card,
    .visit-grid,
    .contact-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .community-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .contact-card { padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.open { right: 0; }

    .nav-menu li { width: 100%; }
    .nav-menu li a { display: block; padding: 12px 16px; width: 100%; }
    .nav-menu li .btn-nav { text-align: center; justify-content: center; }

    .products-grid { grid-template-columns: 1fr; }

    .hero-img-float { display: none; }
    .hero-img-main { width: 90%; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .contact-card { padding: 28px; }

    .why-img-accent { right: -10px; bottom: -20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
</style>
