/* ============================================
   ARIELLES — Classic & Elegant Restaurant Site
   Teal + Slate Grey Palette
   ============================================ */

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

:root {
    --teal-900: #0a3d40;
    --teal-800: #0d5c5f;
    --teal-700: #0d7377;
    --teal-600: #118a8e;
    --teal-500: #14a3a8;
    --teal-100: #d4eeef;
    --teal-50:  #eaf7f8;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --cream:     #faf9f6;
    --warm-white:#fefcf7;
    --gold:      #c9a84c;
    --gold-light:#e8d5a0;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md:  0 4px 20px rgba(15, 23, 42, 0.1);
    --shadow-lg:  0 10px 40px rgba(15, 23, 42, 0.12);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--slate-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.menu-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-700), transparent);
    margin: 24px auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ---------- Header ---------- */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

#site-header.scrolled {
    background: rgba(250, 249, 246, 0.98);
    border-bottom-color: var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-900);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    font-style: italic;
    color: var(--teal-700);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--teal-700);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

#main-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-600);
    position: relative;
    padding: 4px 0;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-700);
    transition: width var(--transition);
}

#main-nav a:hover {
    color: var(--teal-700);
}

#main-nav a:hover::after {
    width: 100%;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--slate-700);
    transition: all var(--transition);
    transform-origin: center;
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/17130442/pexels-photo-17130442.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 61, 64, 0.82) 0%,
        rgba(13, 93, 95, 0.70) 50%,
        rgba(15, 23, 42, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

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

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--warm-white);
}

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--teal-200);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

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

.feature-icon {
    color: var(--teal-700);
}

.about-feature span:last-child {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-700);
}

/* ---------- Menu ---------- */
.menu {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.menu-category {
    background: #fff;
    border-radius: 4px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.menu-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--slate-900);
}

.category-line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--teal-700);
    flex-shrink: 0;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-list li {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-100);
}

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

.dish-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.dish-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.menu-footer {
    padding: 60px 0 20px;
}

.menu-note {
    font-size: 0.9rem;
    color: var(--slate-500);
    font-style: italic;
    margin-bottom: 24px;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0 100px;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ---------- Visit ---------- */
.visit {
    padding: 120px 0;
    background: var(--slate-900);
    color: #fff;
}

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

.visit .section-eyebrow {
    color: var(--gold-light);
}

.visit .section-title {
    color: #fff;
}

.visit-intro {
    color: var(--slate-400);
    font-size: 1.05rem;
    margin-bottom: 48px;
    line-height: 1.8;
}

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

.visit-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    color: var(--teal-500);
    flex-shrink: 0;
    margin-top: 4px;
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

.visit-detail a {
    color: var(--teal-400);
}

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

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
    align-items: start;
}

.contact-info p {
    color: var(--slate-600);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-direct {
    padding: 32px;
    background: var(--slate-50);
    border-radius: 4px;
    border-left: 3px solid var(--teal-700);
}

.contact-direct p {
    margin-bottom: 8px;
    color: var(--slate-700);
    font-size: 1rem;
}

.contact-direct a {
    color: var(--teal-700);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--slate-800);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    padding: 14px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-700);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

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

.form-success {
    display: none;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: 4px;
    color: var(--teal-800);
    font-size: 0.95rem;
}

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

/* ---------- Footer ---------- */
#footer {
    background: var(--slate-900);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--slate-400);
}

.footer-contact a {
    color: var(--teal-400);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-600);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--teal-700);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    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) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }

    .menu-grid {
        gap: 24px;
    }
}

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

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

    .about-image-accent {
        display: none;
    }

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

    .visit-map {
        aspect-ratio: 16/9;
    }

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

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

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

    #main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 40px 40px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }

    #main-nav.open {
        transform: translateX(0);
    }

    #main-nav ul {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    #main-nav a {
        font-size: 0.9rem;
    }

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

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

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

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

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-features {
        flex-direction: column;
        gap: 24px;
    }

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