/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ARCADA DA HORTÊNSIA (LIGHT PROFESSIONAL)
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-main: #ffffff;          /* Pure white canvas */
    --color-bg-secondary: #f9f9fb;     /* Soft warm grey alternate background */
    --color-bg-light: #f5f0e6;         /* Light cream accents */
    --color-bg-glass: rgba(255, 255, 255, 0.9); /* Translucent glass */
    --color-bg-card: #ffffff;          /* White card base */
    
    --color-primary: #b58d3d;          /* Premium warm gold/bronze */
    --color-primary-hover: #9b752f;    /* Darker gold for states */
    --color-primary-glow: rgba(181, 141, 61, 0.15);
    --color-primary-light: rgba(181, 141, 61, 0.08);
    
    --color-secondary: #2d3748;        /* Charcoal grey */
    --color-text-main: #4a5568;        /* Readable dark grey */
    --color-text-title: #1a202c;       /* Deep charcoal-black for headings */
    --color-text-muted: #828e9f;       /* Muted grey */
    
    --color-border: #e2e8f0;           /* Soft grey borders */
    --color-border-glow: rgba(181, 141, 61, 0.25);
    
    /* Layout Constants */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
}
body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

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

/* ==========================================================================
   GLOBAL UTILITIES & TYPOGRAPHY
   ========================================================================== */

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

.text-center { text-align: center; }
.position-relative { position: relative; }
.rounded { border-radius: var(--border-radius-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

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

.align-center { align-items: center; }
.gap-4 { gap: 48px; }

.padding-y {
    padding: 90px 0;
}

/* Typography styles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-title);
    letter-spacing: -0.3px;
}

.accent-text {
    color: var(--color-primary);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 14px;
    background: var(--color-primary-light);
    padding: 5px 14px;
    border-radius: 4px;
    border: 1px solid rgba(181, 141, 61, 0.15);
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-weight: 300;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-text-title);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.7;
}

p {
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(181, 141, 61, 0.2);
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(181, 141, 61, 0.35);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.15);
}
.btn-secondary:hover {
    background: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45, 55, 72, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}
.btn-outline:hover {
    background: #f8f9fa;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 14px 0;
    background: var(--color-bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
}

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

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo .header-logo-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

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

.nav-link i {
    font-size: 0.8rem;
    margin-right: 4px;
    color: var(--color-text-muted);
}

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

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

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

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-title);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   REUSABLE ANTIGRAVITY FLOATING ANIMATION
   ========================================================================== */

@keyframes antigravity {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.antigravity-element {
    animation: antigravity var(--float-dur, 10s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)), url('assets/hero_bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 140px;
    padding-bottom: 70px;
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* Unified Vertical Logo Title */
.hero-brand-title {
    margin-bottom: 32px;
    display: inline-block;
}

.hero-brand-logo {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.03));
    transition: var(--transition-smooth);
}

.hero-brand-logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 12px 24px rgba(181, 141, 61, 0.15));
}

/* Elegant antigravity background elements */
.antigravity-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.floating-item {
    position: absolute;
    color: rgba(181, 141, 61, 0.15); /* Subtle golden items */
    font-size: 1.8rem;
    animation: antigravity var(--float-dur) ease-in-out infinite;
    animation-delay: var(--float-delay);
}

.floating-item.cutlery-1 { top: 20%; left: 12%; font-size: 2rem; }
.floating-item.cutlery-2 { top: 15%; right: 15%; font-size: 2.2rem; }
.floating-item.cutlery-3 { top: 60%; left: 16%; font-size: 2.5rem; }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-main);
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 1.25rem;
    color: var(--color-primary);
}

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

.animate-bounce {
    animation: bounce 2s infinite ease-in-out;
}

/* ==========================================================================
   SOBRE NÓS (ABOUT SECTION)
   ========================================================================== */

.about-section {
    position: relative;
    background-color: var(--color-bg-main);
}

.about-text {
    padding-right: 16px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-badge {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    background: var(--color-primary-light);
    border: 1px solid rgba(181, 141, 61, 0.2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.badge-content h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-title);
}

.badge-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-frame {
    padding: 10px;
    border-radius: var(--border-radius-md);
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

/* ==========================================================================
   MENU SECTION
   ========================================================================== */

.menu-section {
    position: relative;
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.menu-tab-btn {
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 10px 22px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-tab-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.menu-tab-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(181, 141, 61, 0.15);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.menu-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: left;
    display: none; /* Controlled by JS filtering */
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.menu-card.show {
    display: flex;
    animation: fade-up 0.4s forwards ease-in-out;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.menu-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.menu-item-price {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.15rem;
    background: var(--color-primary-light);
    padding: 3px 12px;
    border-radius: 4px;
    border: 1px solid rgba(181, 141, 61, 0.15);
}

.menu-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-title);
}

.menu-card-body p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.menu-card-footer {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.menu-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 2px 8px;
    border-radius: 2px;
    border: 1px solid rgba(181, 141, 61, 0.1);
}

/* ==========================================================================
   GALERIA SECTION (BENTO GRID & TABS)
   ========================================================================== */

.gallery-section {
    position: relative;
    background-color: var(--color-bg-main);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    padding: 10px 22px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-tab-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.gallery-tab-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(181, 141, 61, 0.15);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: none; /* Controlled by JS filtering */
}

.gallery-item.show {
    display: block;
    animation: fade-up 0.4s forwards ease-in-out;
}

/* Bento Grid Span definitions */
.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.85); /* Clean charcoal cover */
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-overlay h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-overlay p {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ==========================================================================
   LOCALIZAÇÃO & CONTACTOS
   ========================================================================== */

.contact-section {
    position: relative;
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.contact-info-container {
    padding-right: 20px;
}

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: var(--color-primary-light);
    border: 1px solid rgba(181, 141, 61, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    height: 380px;
    background: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background: #1a202c; /* Clean dark grey for professional footer */
    color: #a0aec0;
    padding: 60px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .footer-logo-img {
    height: 55px;
    width: auto;
    display: block;
    object-fit: contain;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
}

.social-links a {
    color: #a0aec0;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 6px 16px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(181, 141, 61, 0.2);
    border-color: var(--color-primary);
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 24px 0;
}

.copyright {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0;
}

/* ==========================================================================
   BOOKING MODAL (PROFESSIONAL LIGHT)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.4); /* soft shadow */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    padding: 24px;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 560px;
    padding: 36px;
    box-shadow: var(--shadow-lg),
                0 0 40px rgba(0,0,0,0.03);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

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

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 6px;
    color: var(--color-text-title);
}

.modal-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

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

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-title);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

label i {
    margin-right: 4px;
    color: var(--color-primary);
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 10px 14px;
    color: var(--color-text-title);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary-glow);
    background: #ffffff;
}

textarea {
    resize: none;
}

/* Success State inside modal */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.success-message.active {
    display: flex;
    animation: fade-in 0.3s forwards;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    animation: scale-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

@keyframes scale-up {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-message h3 {
    font-size: 1.6rem;
    color: var(--color-text-title);
    margin-bottom: 10px;
}

.booking-summary {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    padding: 18px;
    margin: 20px 0;
    width: 100%;
    text-align: left;
}

.booking-summary p {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--color-text-main);
}
.booking-summary p:last-child {
    margin-bottom: 0;
}
.booking-summary strong {
    color: var(--color-text-title);
}

/* ==========================================================================
   LIGHTBOX OVERLAY
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 32, 44, 0.95); /* modern clean dark grey lightbox overlay */
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scale-up 0.4s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    font-family: var(--font-heading);
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-rows: 180px;
    }
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .gap-4 { gap: 20px; }
    
    .padding-y {
        padding: 50px 0;
    }
    
    /* Mobile Menu Drawer */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: #ffffff;
        z-index: 99;
        display: flex;
        align-items: center;
        padding: 100px 30px;
        border-left: 1px solid var(--color-border);
        box-shadow: -5px 0 20px rgba(0,0,0,0.05);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    #btn-reserve-nav {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    /* Hero */
    .hero-section {
        padding-top: 110px;
        text-align: center;
        background-attachment: scroll;
    }
    
    .hero-brand-logo {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* About Us */
    .about-text {
        padding-right: 0;
        text-align: center;
    }
    
    .section-tag {
        justify-content: center;
    }
    
    .about-features {
        align-items: center;
    }
    
    .feature-badge {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .gallery-item.wide, .gallery-item.tall, .gallery-item.large {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4/3;
    }
    
    /* Contact */
    .contact-info-container {
        padding-right: 0;
    }
    
    .map-container {
        height: 280px;
    }
    
    /* Booking form rows */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
