/* ============================================
   Teavibe — Bakery & Grocery
   Bold Editorial Style
   Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #1B2A4A;
    --navy-deep: #0F1B33;
    --navy-light: #2C3E6B;
    --gold: #C8A45C;
    --gold-light: #D4B76E;
    --gold-pale: #F5E6C4;
    --cream: #FAF6F0;
    --cream-dark: #F0E8DA;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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 2rem;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.heading-accent {
    color: var(--gold);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all var(--transition-fast);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 92, 0.3);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(27, 42, 74, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--navy-deep);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    padding: 0.625rem 1.5rem;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    transition: all var(--transition-fast);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--white);
    padding: 0.5rem;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    padding: 0.75rem 0;
    transition: color var(--transition-fast);
}

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

.mobile-menu-divider {
    width: 48px;
    height: 1.5px;
    background: var(--gold);
    margin: 2rem auto;
}

.mobile-menu-address {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 27, 51, 0.82) 0%,
        rgba(27, 42, 74, 0.72) 50%,
        rgba(15, 27, 51, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-tag-line {
    width: 48px;
    height: 1.5px;
    background: var(--gold);
}

.hero-tag span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-headline-accent {
    color: var(--gold);
    font-style: italic;
}

.hero-subhead {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll span {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

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

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

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

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1.5px solid var(--gold);
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

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

.about-values {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.value-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.product-card {
    background: var(--cream);
    overflow: hidden;
    transition: all var(--transition);
}

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

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

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

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

.product-card-content {
    padding: 2rem;
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

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

/* --- Editorial --- */
.editorial {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.editorial-bg {
    position: absolute;
    inset: 0;
}

.editorial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 27, 51, 0.8);
}

.editorial-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.editorial-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
}

.editorial-quote p {
    margin-bottom: 1.5rem;
}

.editorial-quote cite {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* --- Experience --- */
.experience {
    padding: 8rem 0;
    background: var(--cream);
}

.experience-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.experience-item {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.experience-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gold);
    opacity: 0.3;
}

.experience-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 1rem;
}

.experience-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.experience-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Visit --- */
.visit {
    padding: 8rem 0;
    background: var(--white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.visit-info {
    padding: 2rem 0;
}

.visit-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.visit-detail-icon {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.visit-detail h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--text-mid);
    transition: color var(--transition-fast);
}

.visit-detail a:hover {
    color: var(--gold);
}

.visit-map {
    min-height: 450px;
    background: var(--cream-dark);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%) contrast(1.05);
}

/* --- Contact --- */
.contact {
    padding: 8rem 0;
    background: var(--navy);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(200, 164, 92, 0.12);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-size: 0.9375rem;
}

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

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

/* --- Footer --- */
.footer {
    background: var(--navy-deep);
    padding: 4rem 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy-deep);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

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

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

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 3rem;
    }

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

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

    .experience-item:nth-child(2)::after {
        display: none;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .visit-map {
        min-height: 350px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .about {
        padding: 5rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .about-image-accent {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }

    .products {
        padding: 5rem 0;
    }

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

    .editorial {
        padding: 4rem 2rem;
    }

    .experience {
        padding: 5rem 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experience-item::after {
        display: none !important;
    }

    .visit {
        padding: 5rem 0;
    }

    .contact {
        padding: 5rem 0;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .hero-content {
        padding: 0 1.25rem;
    }

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