/* ══════════════════════════════════════════════════════════
   YADES LOUNGE CAFE — Style Sheet
   Mediterranean warm palette: terracotta, olive, sand
   Fonts: Cormorant Garamond (serif) + Outfit (sans-serif)
   ══════════════════════════════════════════════════════════ */

:root {
    --terracotta: #C4704B;
    --terracotta-light: #d4896a;
    --olive: #6B7B3F;
    --olive-light: #8a9e58;
    --sand: #F5ECD7;
    --dark: #2C2418;
    --cream: #FDF8F0;
    --white: #ffffff;
    --gray: #8a8274;
    --border: #e0d6c4;

    --ff-serif: 'Cormorant Garamond', Georgia, serif;
    --ff-sans: 'Outfit', system-ui, sans-serif;

    --radius: 8px;
    --shadow: 0 4px 24px rgba(44, 36, 24, 0.08);
    --shadow-lg: 0 12px 48px rgba(44, 36, 24, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--ff-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--ff-serif); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); }
h3 { font-size: 1.4rem; }
h1 em { font-style: italic; color: var(--terracotta); }

.section-tag {
    display: inline-block;
    font-family: var(--ff-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-desc {
    max-width: 560px;
    margin: 16px auto 0;
    color: var(--gray);
    font-size: 1.05rem;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--ff-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}
.btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-ghost:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ── Section ── */
.section { padding: 100px 0; }
.section-sand { background: var(--sand); }

/* ══════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition);
    padding: 20px 0;
}
.header.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}
.header.scrolled .nav-logo,
.header.scrolled .nav-links a,
.header.scrolled .nav-cta { color: var(--dark); }
.header.scrolled .nav-cta { border-color: var(--terracotta); color: var(--terracotta); }
.header.scrolled .nav-cta:hover { background: var(--terracotta); color: var(--white); }
.header.scrolled .nav-toggle span { background: var(--dark); }

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--ff-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    transition: color var(--transition);
}
.nav-logo span {
    font-weight: 400;
    font-size: 0.85rem;
    display: block;
    letter-spacing: 4px;
    opacity: 0.8;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 10px 24px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    transition: all var(--transition);
}
.nav-cta:hover {
    background: var(--white);
    color: var(--dark);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 36, 24, 0.5) 0%,
        rgba(44, 36, 24, 0.65) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 720px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
}
.hero h1 { margin-bottom: 20px; color: var(--white); }
.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-highlights div { text-align: center; }
.hero-highlights strong {
    display: block;
    font-family: var(--ff-serif);
    font-size: 1.6rem;
    font-weight: 700;
}
.hero-highlights span { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.hero-highlights .sep { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* ══════════════════════════════════════
   OUR STORY
   ══════════════════════════════════════ */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.story-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.story-text h2 { margin-bottom: 24px; }
.story-text p { color: var(--gray); margin-bottom: 16px; font-size: 1.05rem; }
.story-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat strong {
    display: block;
    font-family: var(--ff-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
}
.stat span { font-size: 0.85rem; color: var(--gray); }

/* ══════════════════════════════════════
   MENU
   ══════════════════════════════════════ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.menu-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.menu-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.menu-card h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--terracotta);
    color: var(--dark);
}
.menu-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.menu-list li:last-child { border-bottom: none; }
.menu-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.item-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.item-dots {
    flex: 1;
    border-bottom: 1px dotted var(--border);
    min-width: 20px;
    margin-bottom: 4px;
}
.item-price {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--terracotta);
    white-space: nowrap;
}
.item-desc {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
    line-height: 1.5;
}

/* ══════════════════════════════════════
   GALLERY / ATMOSPHERE
   ══════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-wide { grid-column: span 2; }
.gallery-item-wide img { height: 320px; }

/* ══════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.review-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-4px); }
.review-stars {
    color: #e8a838;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.review-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 24px;
    font-style: italic;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.review-author strong { display: block; font-size: 0.9rem; }
.review-author span { font-size: 0.75rem; color: var(--gray); }

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-card {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.contact-card h3 {
    font-family: var(--ff-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}
.contact-card p { color: var(--gray); font-size: 0.95rem; }
.contact-card a {
    color: var(--terracotta);
    transition: color var(--transition);
}
.contact-card a:hover { color: var(--olive); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray);
    border-bottom: 1px solid var(--border);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--dark); }

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow);
}
.contact-map iframe { min-height: 400px; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    font-family: var(--ff-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.footer-logo span {
    font-weight: 400;
    font-size: 0.75rem;
    display: block;
    letter-spacing: 4px;
    opacity: 0.6;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 {
    font-family: var(--ff-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-nav ul li,
.footer-contact ul li,
.footer-legal ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer a { transition: color var(--transition); }
.footer a:hover { color: var(--terracotta-light); }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.visible {
    opacity: 1;
    transform: translate(0);
}

/* ══════════════════════════════════════
   LEGAL PAGES (privacy, terms)
   ══════════════════════════════════════ */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}
.legal-page .container { max-width: 800px; }
.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}
.legal-page .legal-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--dark);
}
.legal-page p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.legal-page ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-page ul li {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.legal-page a {
    color: var(--terracotta);
    text-decoration: underline;
}
.legal-page a:hover { color: var(--olive); }

.legal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: var(--shadow);
}
.legal-nav .nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.legal-nav .nav-logo { color: var(--dark); }
.legal-nav .back-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--terracotta);
    transition: color var(--transition);
}
.legal-nav .back-link:hover { color: var(--dark); }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-image { order: -1; }
    .story-image img { aspect-ratio: 16/9; }
    .menu-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item-wide { grid-column: span 2; }
    .reviews-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 36, 24, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.2rem; color: var(--white); }

    .hero-btns { flex-direction: column; align-items: center; }
    .hero-highlights { flex-direction: row; gap: 20px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-wide { grid-column: span 1; }
    .gallery-item img,
    .gallery-item-wide img { height: 220px; }

    .story-stats { flex-direction: column; gap: 20px; }

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

    .section { padding: 72px 0; }
}

@media (max-width: 480px) {
    .menu-card { padding: 28px 20px; }
    .item-name { font-size: 0.85rem; }
    .contact-card { padding: 20px; }
}
