/* ============================================
   CARNARNIC — Restaurant Website
   Classic & Elegant · Terracotta + Sand
   ============================================ */

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

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

body {
    font-family: 'Lato', 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #3D2B1F;
    background-color: #F5F0EB;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 500;
    line-height: 1.15;
    color: #2C1810;
}

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

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C06C4B;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    color: #2C1810;
    margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #C06C4B;
    color: #FFFFFF;
    border: 1.5px solid #C06C4B;
}

.btn--primary:hover {
    background-color: #A85A3A;
    border-color: #A85A3A;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(192, 108, 75, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #F5F0EB;
    border: 1.5px solid rgba(245, 240, 235, 0.6);
}

.btn--ghost:hover {
    border-color: #F5F0EB;
    background-color: rgba(245, 240, 235, 0.1);
}

.btn--large {
    padding: 18px 40px;
    font-size: 0.9rem;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #2C1810;
    color: #F5F0EB;
    padding: 8px 16px;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 0.85rem;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 108, 75, 0.2);
    transition: background-color 0.3s ease;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #F5F0EB;
    letter-spacing: 0.02em;
}

.nav__logo:hover {
    color: #C06C4B;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C06C4B;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #F5F0EB;
}

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

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C06C4B;
    transition: color 0.3s ease;
}

.nav__cta:hover {
    color: #D4896A;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #F5F0EB;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Mobile menu */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav__menu.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .nav__cta {
        font-size: 0.9rem;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #2C1810;
    overflow: hidden;
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 24, 16, 0.92) 0%,
        rgba(44, 24, 16, 0.75) 50%,
        rgba(44, 24, 16, 0.5) 100%
    );
}

.hero__grid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero__content {
    max-width: 560px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C06C4B;
    margin-bottom: 20px;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
    color: #F5F0EB;
    margin-bottom: 24px;
}

.hero__headline em {
    font-style: italic;
    color: #D4896A;
}

.hero__sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(245, 240, 235, 0.75);
    margin-bottom: 40px;
    max-width: 440px;
}

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

/* Hero Aside */
.hero__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__card {
    background-color: rgba(192, 108, 75, 0.12);
    border: 1px solid rgba(192, 108, 75, 0.3);
    border-radius: 4px;
    padding: 32px;
}

.hero__card-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #C06C4B;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(192, 108, 75, 0.25);
}

.hero__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__list-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #F5F0EB;
}

.hero__list-desc {
    font-size: 0.82rem;
    color: rgba(245, 240, 235, 0.55);
    font-style: italic;
}

.hero__card-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: rgba(245, 240, 235, 0.45);
    font-style: italic;
    line-height: 1.5;
}

.hero__stat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hero__stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #C06C4B;
    line-height: 1;
    flex-shrink: 0;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(245, 240, 235, 0.6);
    line-height: 1.6;
    padding-top: 8px;
}

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    color: rgba(245, 240, 235, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll svg {
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 100px;
    }

    .hero__aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__card {
        flex: 1;
        min-width: 260px;
    }

    .hero__stat {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 600px) {
    .hero__aside {
        flex-direction: column;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background-color: #F5F0EB;
}

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

.about__image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

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

.about__image-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(192, 108, 75, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.about__content {
    padding: 20px 0;
}

.about__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4A3728;
    margin-bottom: 20px;
}

.about__body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6B5344;
    margin-bottom: 32px;
}

.about__signature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about__sig-img {
    opacity: 0.7;
}

.about__sig-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #8B7355;
}

@media (max-width: 900px) {
    .about__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-wrap {
        max-width: 500px;
    }

    .about__image-wrap::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .about {
        padding: 80px 0;
    }
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: 120px 0;
    background-color: #2C1810;
}

.menu__eyebrow {
    text-align: center;
}

.menu__title {
    text-align: center;
    color: #F5F0EB;
    margin-bottom: 16px;
}

.menu__intro {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 240, 235, 0.65);
}

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

.menu__cat {
    margin-bottom: 28px;
}

.menu__cat-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #C06C4B;
    margin-bottom: 8px;
}

.menu__divider {
    width: 40px;
    height: 1px;
    background-color: rgba(192, 108, 75, 0.5);
}

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

.menu__items li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(245, 240, 235, 0.07);
}

.menu__items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu__item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #F5F0EB;
}

.menu__item-desc {
    font-size: 0.82rem;
    color: rgba(245, 240, 235, 0.45);
    font-style: italic;
    line-height: 1.5;
}

.menu__note {
    text-align: center;
    margin-top: 48px;
    font-size: 0.8rem;
    color: rgba(245, 240, 235, 0.35);
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .menu__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .menu {
        padding: 80px 0;
    }
}

/* ============================================
   AMBIANCE
   ============================================ */
.ambiance {
    padding: 120px 0;
    background-color: #F5F0EB;
}

.ambiance__title {
    text-align: center;
    margin-bottom: 64px;
}

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

.ambiance__item {
    border-radius: 4px;
    overflow: hidden;
    background-color: #EDE5DC;
}

.ambiance__item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ambiance__item:hover img {
    transform: scale(1.03);
}

.ambiance__item-text {
    padding: 28px 24px;
}

.ambiance__item-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2C1810;
    margin-bottom: 8px;
}

.ambiance__item-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #6B5344;
}

@media (max-width: 900px) {
    .ambiance__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .ambiance__item img {
        height: 240px;
    }
}

@media (max-width: 600px) {
    .ambiance {
        padding: 80px 0;
    }

    .ambiance__title {
        margin-bottom: 40px;
    }
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 120px 0;
    background-color: #EDE5DC;
}

.visit__title {
    margin-bottom: 48px;
}

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

.visit__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.visit__detail {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.visit__detail-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C06C4B;
}

.visit__detail-value {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3D2B1F;
}

.visit__phone {
    color: #3D2B1F;
    font-weight: 500;
    transition: color 0.3s ease;
}

.visit__phone:hover {
    color: #C06C4B;
}

.visit__map {
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
    background-color: #D4C8BC;
}

.visit__map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 900px) {
    .visit__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit__map {
        min-height: 300px;
    }

    .visit__map iframe {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .visit {
        padding: 80px 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1E120C;
    padding: 64px 0 32px;
    color: rgba(245, 240, 235, 0.6);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 240, 235, 0.08);
}

.footer__logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #F5F0EB;
    display: block;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(245, 240, 235, 0.45);
    max-width: 280px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav a {
    font-size: 0.85rem;
    color: rgba(245, 240, 235, 0.6);
    transition: color 0.3s ease;
}

.footer__nav a:hover {
    color: #C06C4B;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__phone {
    font-size: 0.95rem;
    font-weight: 500;
    color: #C06C4B;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #D4896A;
}

.footer__address {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(245, 240, 235, 0.45);
}

.footer__bottom {
    padding-top: 24px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.78rem;
    color: rgba(245, 240, 235, 0.3);
}

@media (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        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; }
}
</style>
