/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --gold-primary: #c5a880;
    --gold-light: #e6d5b8;
    --gold-dark: #a68b62;
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --bg-charcoal: #181818;
    --border-color: #262626;
    
    /* Text Colors */
    --text-white: #f5f5f5;
    --text-muted: #a0a0a0;
    --text-dark: #121212;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 90px;
    --header-height-scrolled: 70px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.accent-text {
    color: var(--gold-primary);
    font-family: var(--font-serif);
}

.section-title {
    margin-bottom: 40px;
}

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

.section-title h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 8px;
    letter-spacing: -0.5px;
}

.section-title .subtitle {
    color: var(--gold-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    display: inline-block;
}

.section-title .underline {
    width: 60px;
    height: 2px;
    background-color: var(--gold-primary);
    margin: 20px auto 0 auto;
}

.bg-charcoal {
    background-color: var(--bg-charcoal);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background-color: var(--gold-primary);
    color: var(--text-dark);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid var(--gold-primary);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--text-dark);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold-primary);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .btn-header {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-card);
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.1rem;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/hero-bg.webp') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(10,10,10,0.95) 90%),
                linear-gradient(rgba(10,10,10,0.4), rgba(10,10,10,0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-top: 60px;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--gold-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 24px;
}

.award-badge i {
    font-size: 0.65rem;
}

.hero-section h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    cursor: pointer;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite ease;
}

@keyframes scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
}

.chef-quote {
    border-left: 2px solid var(--gold-primary);
    padding-left: 24px;
    margin-top: 40px;
}

.chef-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 12px;
}

.chef-signature {
    display: flex;
    flex-direction: column;
}

.chef-signature .name {
    font-weight: 600;
    color: var(--gold-primary);
}

.chef-signature .title {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-wrapper {
    position: relative;
    height: 100%;
    min-height: 450px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-card);
    border: 1px solid var(--gold-primary);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.floating-badge .number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.floating-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .image-wrapper {
        min-height: 350px;
    }
    .floating-badge {
        left: 20px;
    }
}

/* ==========================================================================
   MENU SECTION
   ========================================================================== */
.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.category-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-btn:hover, .category-btn.active {
    border-color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.05);
    color: var(--gold-primary);
}

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

.menu-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.menu-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 12px;
}

.menu-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.menu-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 16px;
}

.menu-labels {
    display: flex;
    gap: 8px;
}

.label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
}

.label.gf {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.label.vg {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

/* Hidden class for javascript filter logic */
.menu-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

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

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item.large {
        grid-column: span 1;
    }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(18, 18, 18, 0.95)),
                url('../assets/hero-bg.webp') no-repeat center center/cover;
    position: relative;
}

.testimonials-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-slide .stars {
    color: var(--gold-primary);
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.testimonial-slide .quote {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    line-height: 1.5;
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 30px;
}

.testimonial-slide .author {
    display: flex;
    flex-direction: column;
}

.testimonial-slide .name {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-slide .publication {
    font-size: 0.8rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Slider navigation */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.control-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #333;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--gold-primary);
    transform: scale(1.2);
}

/* ==========================================================================
   RESERVATION & CONTACT SECTION
   ========================================================================== */
.contact-info-column {
    padding: 60px;
}

.contact-text {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.detail-item i {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-top: 3px;
}

.detail-item h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

.reservation-form-column {
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.01);
    border-left: 1px solid var(--border-color);
}

@media (max-width: 900px) {
    .contact-info-column, .reservation-form-column {
        padding: 40px;
    }
    .reservation-form-column {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background-color: #0c0c0c;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.form-group select option {
    background-color: var(--bg-card);
}

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

/* Validation styles */
.form-group.error input, .form-group.error select, .form-group.error textarea {
    border-color: #f44336;
}

.error-msg {
    color: #f44336;
    font-size: 0.75rem;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

/* Spinner for button loading */
.spinner {
    display: inline-block;
    margin-left: 10px;
}

.spinner.hidden {
    display: none;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-info h3 span {
    color: var(--gold-primary);
}

.footer-info p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 168, 128, 0.05);
}

.footer-links h4, .footer-newsletter h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 6px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 8px 0;
    font-size: 0.95rem;
}

.newsletter-form button {
    cursor: pointer;
    color: var(--gold-primary);
    padding: 8px;
}

.newsletter-form button:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

@media (max-width: 576px) {
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   SUCCESS MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--gold-primary);
    width: 100%;
    max-width: 540px;
    border-radius: 8px;
    position: relative;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.modal-body h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.booking-summary {
    width: 100%;
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-label {
    color: var(--text-muted);
    text-align: left;
}

.summary-val {
    font-weight: 600;
    text-align: right;
}

.summary-val.highlight {
    color: var(--gold-primary);
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.modal-footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-footer-note span {
    color: var(--text-white);
    font-weight: 600;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* ==========================================================================
   LIVE BACKEND UI (availability, status, manage booking)
   ========================================================================== */
.api-note { display:flex; align-items:center; gap:8px; margin-top:14px; font-size:.8rem; color:var(--text-muted, #9a9a9a); letter-spacing:.02em; }
.api-dot { width:8px; height:8px; border-radius:50%; background:#777; flex:none; }
.api-note.live .api-dot { background:#3fb950; box-shadow:0 0 0 0 rgba(63,185,80,.6); animation:apiPulse 2s infinite; }
.api-note.offline .api-dot { background:#d29922; }
@keyframes apiPulse { 70% { box-shadow:0 0 0 7px rgba(63,185,80,0); } 100% { box-shadow:0 0 0 0 rgba(63,185,80,0); } }
.demo-note { margin-top:6px; font-size:.74rem; color:#777; }
.form-alert { margin-top:12px; padding:12px 14px; border:1px solid rgba(226,86,75,.4); background:rgba(226,86,75,.08); color:#f0b4ae; font-size:.85rem; border-radius:4px; }
.form-alert button { margin:6px 6px 0 0; background:none; border:1px solid var(--gold-primary); color:var(--gold-primary); padding:5px 10px; cursor:pointer; font:inherit; font-size:.78rem; }
.form-alert button:hover { background:var(--gold-primary); color:#111; }
select option:disabled { color:#666; }
.host-link { color:var(--gold-primary); text-decoration:none; border-bottom:1px solid transparent; }
.host-link:hover { border-bottom-color:var(--gold-primary); }
.manage-booking { margin-top:26px; border-top:1px solid rgba(255,255,255,.08); padding-top:18px; }
.manage-booking summary { cursor:pointer; color:var(--gold-primary); font-size:.9rem; letter-spacing:.04em; }
.manage-form { display:grid; grid-template-columns:1fr 1fr auto; gap:10px; margin-top:14px; }
.manage-form input { background:transparent; border:1px solid rgba(255,255,255,.15); color:inherit; padding:12px 14px; font:inherit; }
.manage-result { margin-top:14px; font-size:.9rem; }
.manage-result .card { border:1px solid rgba(197,168,128,.35); padding:14px 16px; display:grid; gap:6px; }
.manage-result .cancelled { color:#e2564b; }
@media (max-width:640px) { .manage-form { grid-template-columns:1fr; } }

/* bot trap: a field only a script would fill in */
.hp-field { position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
