/* ============================================
   CARDAS RESTAURANT — Minimalist Design System
   Colors: Teal + Slate Grey
   Fonts: Cormorant Garamond + Manrope
============================================ */

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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans:  'Manrope', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background-color: var(--slate-50);
    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;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-700);
}

.btn-outline:hover {
    background-color: var(--teal-700);
    color: #fff;
}

.btn-text {
    background: transparent;
    color: var(--slate-600);
    border: none;
    padding: 0.9rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.btn-text:hover {
    color: var(--teal-700);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s var(--ease-out);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--slate-900);
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.btn):hover {
    color: var(--teal-700);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--slate-50);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--slate-800);
    transition: color 0.25s ease;
}

.mobile-menu a:hover {
    color: var(--teal-600);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    background: var(--slate-50);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: calc(100vh - 72px);
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    padding: 5rem 4rem 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 400px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

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

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--slate-200);
}

/* ---------- About ---------- */
.about {
    padding: 8rem 0;
    background: #fff;
}

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

.about-text p {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--slate-700);
    margin-bottom: 1.5rem;
}

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

/* ---------- Divider ---------- */
.divider {
    padding: 3rem 0;
    background: var(--teal-950);
    text-align: center;
}

.divider-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--teal-200);
    letter-spacing: 0.04em;
}

/* ---------- Menu ---------- */
.menu {
    padding: 7rem 0 8rem;
    background: var(--slate-50);
}

.menu .container {
    max-width: 1000px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.menu-category h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.item-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-800);
    letter-spacing: 0.01em;
}

.item-desc {
    font-size: 0.82rem;
    color: var(--slate-400);
    font-weight: 300;
}

.menu-note {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.82rem;
    color: var(--slate-400);
    letter-spacing: 0.03em;
}

/* ---------- Visit ---------- */
.visit {
    padding: 8rem 0;
    background: #fff;
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 3rem;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
}

.detail-value {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.7;
    font-weight: 300;
}

.detail-value a {
    color: var(--slate-700);
    transition: color 0.25s ease;
}

.detail-value a:hover {
    color: var(--teal-700);
}

.visit-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--slate-100);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- Footer ---------- */
.footer {
    padding: 3rem 0;
    background: var(--slate-950);
    border-top: 1px solid var(--slate-800);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--slate-200);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 300;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-right a {
    font-size: 0.78rem;
    color: var(--slate-400);
    transition: color 0.25s ease;
    font-weight: 300;
}

.footer-right a:hover {
    color: var(--teal-300);
}

.footer-sep {
    color: var(--slate-700);
    font-size: 0.7rem;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }

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

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

    .hero-content {
        padding: 5rem 2rem 3rem;
        max-width: 100%;
    }

    .hero-image {
        min-height: 50vh;
    }

    .about-container,
    .visit-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .visit-map {
        height: 300px;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

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

    .hero-headline {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
