/* ========================================
   19 Food — Brand Styles
   Palette: Plum (#6B3F6B) + Amber (#F5C518)
   Fonts: Playfair Display + Inter
======================================== */

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

:root {
    --plum: #6B3F6B;
    --plum-dark: #4E2F4E;
    --plum-deeper: #3A233A;
    --plum-light: #8B5F8B;
    --plum-muted: #D4B8D4;
    --amber: #F5C518;
    --amber-dark: #D4A800;
    --amber-light: #FDE68A;
    --cream: #FDF8F0;
    --cream-dark: #F5EDE0;
    --text-dark: #1A1018;
    --text-body: #3D2E3D;
    --text-muted: #7A657A;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 24px;
}

.text-plum { color: var(--plum); }
.text-amber { color: var(--amber-dark); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--plum-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 63, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--plum);
    border: 1.5px solid var(--plum);
}

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

.btn-full {
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 63, 107, 0.08);
    transition: all 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    box-shadow: 0 4px 32px rgba(107, 63, 107, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-serif);
    text-decoration: none;
}

.logo-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--plum);
    line-height: 1;
}

.logo-word {
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: 100px;
    transition: all 0.3s var(--ease-smooth);
}

.main-nav a:hover {
    color: var(--plum);
    background: rgba(107, 63, 107, 0.06);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.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 nav overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    display: block;
    padding: 16px 32px;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 12px;
    transition: all 0.3s var(--ease-smooth);
}

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(107, 63, 107, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 197, 24, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(107, 63, 107, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--plum-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1.5px;
    background: var(--amber);
}

.hero-headline {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-subhead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 40px;
}

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

/* Hero image grid */
.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    height: 100%;
    max-height: 680px;
}

.hero-img {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.hero-img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
}

.hero-img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.hero-img-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* --- Section Divider --- */
.section-divider {
    padding: 0;
    overflow: hidden;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--plum-muted), transparent);
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--amber);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

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

.about-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(107, 63, 107, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(107, 63, 107, 0.15);
}

/* --- Products --- */
.products {
    padding: 120px 0;
    background: var(--white);
}

.products-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

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

.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--cream);
    transition: all 0.4s var(--ease-out);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(107, 63, 107, 0.12);
}

.product-card-image {
    overflow: hidden;
    height: 260px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.product-card-content {
    padding: 32px;
}

.product-card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-card-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* --- Feature Banner --- */
.feature-banner {
    padding: 120px 0;
    background: var(--plum);
    position: relative;
    overflow: hidden;
}

.feature-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 10% 20%, rgba(245, 197, 24, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(245, 197, 24, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.feature-banner .container {
    position: relative;
    z-index: 2;
}

.feature-eyebrow {
    color: var(--amber) !important;
}

.feature-title {
    color: var(--white);
    margin-bottom: 64px;
}

.feature-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(245, 197, 24, 0.15);
    color: var(--amber);
}

.feature-item-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-item-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Location --- */
.location {
    padding: 120px 0;
    background: var(--cream);
}

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

.location-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.location-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.location-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(107, 63, 107, 0.08);
    color: var(--plum);
}

.location-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.location-detail-value {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.location-detail-value a {
    color: var(--plum);
    transition: color 0.3s;
}

.location-detail-value a:hover {
    color: var(--plum-dark);
    text-decoration: underline;
}

.location-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 8px 32px rgba(107, 63, 107, 0.1);
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 440px;
}

.contact-form-wrapper {
    background: var(--cream);
    border-radius: 24px;
    padding: 48px;
}

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

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

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-input {
    padding: 14px 18px;
    border: 1.5px solid rgba(107, 63, 107, 0.15);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s var(--ease-smooth);
    outline: none;
    width: 100%;
}

.form-input:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 4px rgba(107, 63, 107, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B3F6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

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

/* Form success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success.visible {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--text-dark);
}

.success-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

/* --- Footer --- */
.site-footer {
    background: var(--plum-deeper);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.logo-footer .logo-number {
    color: var(--amber);
}

.logo-footer .logo-word {
    color: var(--white);
}

.footer-tagline {
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 24px;
}

.footer-links ul,
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--amber);
    opacity: 0.7;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

    .hero-image-grid {
        max-height: 400px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .hero-img-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        height: 100%;
    }

    .hero-img-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .hero-img-3 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .about-grid {
        gap: 48px;
    }

    .products-grid {
        gap: 24px;
    }

    .feature-items {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .location-map-wrapper {
        min-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .mobile-menu-btn {
        display: flex;
    }

    .header-inner {
        height: 70px;
    }

    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .hero .container {
        padding-bottom: 48px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-image-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px;
        max-height: none;
    }

    .hero-img-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        height: 200px;
    }

    .hero-img-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 200px;
    }

    .hero-img-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 200px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper img {
        height: 360px;
    }

    .about-image-accent {
        width: 120px;
        height: 120px;
        bottom: -12px;
        right: -12px;
    }

    .about-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .products {
        padding: 80px 0;
    }

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

    .feature-banner {
        padding: 80px 0;
    }

    .location {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .hero-subhead {
        font-size: 1rem;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }
}
