/* ============================================
   Lj's Sweetheart Bar — Editorial Style
   Terracotta + Sand Palette
   ============================================ */

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

:root {
    --color-terracotta: #B85C38;
    --color-terracotta-dark: #9A4B2C;
    --color-terracotta-light: #D4845E;
    --color-sand: #F5F0E8;
    --color-sand-dark: #E8DFD0;
    --color-cream: #FDF9F3;
    --color-warm-white: #FEFCF8;
    --color-charcoal: #2C2420;
    --color-text: #3D3028;
    --color-text-light: #6B5B50;
    --color-text-muted: #9A8A7E;
    --color-border: #E8DFD0;
    --color-success: #4A7C59;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
}

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

.type-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-terracotta);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-terracotta);
    color: #fff;
    border-color: var(--color-terracotta);
}

.btn--primary:hover {
    background-color: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

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

.btn--ghost:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
    transform: translateY(-2px);
}

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

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 243, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo__mark {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.4rem;
    line-height: 1;
}

.logo__text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-charcoal);
    letter-spacing: -0.01em;
}

/* ---------- NAV ---------- */
.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition);
    position: relative;
}

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

.nav__link:hover {
    color: var(--color-terracotta);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background-color: var(--color-terracotta);
    color: #fff !important;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background-color: var(--color-terracotta-dark);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.nav__hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition);
}

.nav__hamburger::before,
.nav__hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--color-charcoal);
    left: 0;
    transition: all var(--transition);
}

.nav__hamburger::before { top: -6px; }
.nav__hamburger::after { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__hamburger {
    background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero__accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-terracotta);
}

.hero__sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.hero__image {
    position: relative;
}

.hero__image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(44, 36, 32, 0.15);
}

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

.hero__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-terracotta);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

/* ---------- MARQUEE ---------- */
.marquee {
    background: var(--color-terracotta);
    color: #fff;
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee__track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: var(--space-md);
}

.marquee__item {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.marquee__dot {
    font-size: 0.5rem;
    opacity: 0.6;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-warm-white);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    margin-bottom: var(--space-2xl);
}

.about__lead {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    line-height: 1.6;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.about__body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.about__values {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.value {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.value__icon {
    width: 24px;
    height: 24px;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.value__text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

.about__image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.about__img {
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

/* ---------- PRODUCTS ---------- */
.products {
    padding: var(--space-3xl) 0;
    background: var(--color-sand);
}

.products__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

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

.product-card {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.1);
}

.product-card__img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.product-card__body {
    padding: var(--space-md);
}

.product-card__title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

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

/* ---------- QUOTE ---------- */
.quote-section {
    padding: var(--space-3xl) 0;
    background: var(--color-charcoal);
}

.quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote__mark {
    width: 44px;
    height: 36px;
    color: var(--color-terracotta);
    margin: 0 auto var(--space-md);
    opacity: 0.8;
}

.quote__text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--color-sand);
    margin-bottom: var(--space-md);
}

.quote__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.quote__location {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta-light);
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.gallery__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

.gallery__item--large {
    grid-column: span 7;
    aspect-ratio: 6/5;
}

.gallery__item--wide {
    grid-column: span 12;
    aspect-ratio: 2/1;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) {
    aspect-ratio: 4/3;
}

/* ---------- VISIT ---------- */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--color-sand);
}

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

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

.visit__detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.visit__icon {
    width: 24px;
    height: 24px;
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

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

.visit__detail-link {
    color: var(--color-terracotta);
    font-weight: 500;
    transition: color var(--transition);
}

.visit__detail-link:hover {
    color: var(--color-terracotta-dark);
}

.map-placeholder {
    background: var(--color-sand-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.map-placeholder__content {
    text-align: center;
    padding: var(--space-xl);
}

.map-placeholder__icon {
    width: 48px;
    height: 48px;
    color: var(--color-terracotta);
    margin: 0 auto var(--space-md);
}

.map-placeholder__text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-warm-white);
}

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

.contact__body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-md);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact__info-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition);
}

.contact__info-item:hover {
    color: var(--color-terracotta);
}

.contact__info-icon {
    width: 20px;
    height: 20px;
    color: var(--color-terracotta);
    flex-shrink: 0;
}

/* ---------- FORM ---------- */
.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-cream);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--color-terracotta);
    background: var(--color-warm-white);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--color-text-muted);
}

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

.form__success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 1.25rem;
    background: rgba(74, 124, 89, 0.08);
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: var(--radius-sm);
    margin-top: var(--space-md);
    animation: fadeIn 0.4s ease;
}

.form__success svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

.form__success span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-success);
}

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

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-charcoal);
    color: var(--color-sand);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    max-width: 300px;
}

.footer__nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__nav a {
    font-size: 0.9375rem;
    color: var(--color-sand-dark);
    transition: color var(--transition);
}

.footer__nav a:hover {
    color: var(--color-terracotta-light);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__contact p {
    font-size: 0.9375rem;
    color: var(--color-sand-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

.footer__link {
    color: var(--color-terracotta-light);
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--color-terracotta);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
}

.footer__copy {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.footer__location {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__container {
        gap: var(--space-lg);
    }

    .hero__headline {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }

    .about__container {
        gap: var(--space-xl);
    }

    .products__grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
        --space-2xl: 3.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .nav__list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 243, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav__list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav__link--cta {
        display: inline-block;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

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

    .hero__sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__image-frame {
        aspect-ratio: 4/5;
    }

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

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

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

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

    .gallery__item--large {
        grid-column: span 2;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

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

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

    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
}

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .gallery__item--large,
    .gallery__item--wide {
        grid-column: span 1;
    }
}
