/* =========================================
   VARIABLES & SETUP
========================================= */
:root {
    /* Color Palette */
    --color-primary: #003B5C;
    /* Deep Petroleum Blue */
    --color-primary-light: #005682;
    /* Lighter Blue */
    --color-accent: #009384;
    /* Dark Turquoise */
    --color-accent-light: #20b2aa;
    --color-gold: #c5a880;
    /* Subtle sand/gold */
    --color-bg-light: #F9F9F9;
    --color-ivory: #FFFFF0;
    --color-white: #FFFFFF;

    --color-text-main: #2C3E50;
    --color-text-light: #5A6A7A;
    --color-border: #E1E8EE;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Shadows & Transitions */
    --shadow-soft: 0 10px 30px rgba(0, 59, 92, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 59, 92, 0.15);
    --shadow-floating: 0 20px 40px rgba(0, 147, 132, 0.3);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

/* =========================================
   TYPOGRAPHY & TAGS 
========================================= */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    /* Elegant slightly rounded corners */
    font-weight: 500;
    font-size: 1rem;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 147, 132, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 59, 92, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* =========================================
   FLOATING RESERVATION BUTTON
========================================= */
.floating-res-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-floating);
    cursor: pointer;
    z-index: 999;
    animation: floatingBob 3s ease-in-out infinite;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-res-btn i {
    font-size: 1.4rem;
}

.floating-res-btn:hover {
    transform: scale(1.05) translateY(-5px) !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 25px 50px rgba(0, 59, 92, 0.4);
    animation-play-state: paused;
}

@keyframes floatingBob {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =========================================
   MODAL FORM
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 48, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-white);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    padding: 3rem 2.5rem;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Split Modal Enhancement */
.modal-split {
    max-width: 900px;
    width: 95%;
    /* Better fit for small desktop */
    height: auto;
    max-height: 90vh;
    /* Prevent it from being larger than the screen */
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    /* Ensure image respects border-radius */
}

.modal-image-side {
    flex: 1;
    display: none;
    /* Hidden on mobile by default */
    background-color: var(--color-primary);
    /* Fallback */
}

.modal-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-form-side {
    flex: 1;
    padding: 2.5rem 2rem;
    overflow-y: auto;
    /* Enable scrolling inside the form if it exceeds max-height */
}

/* Custom Scrollbar for the form side */
.modal-form-side::-webkit-scrollbar {
    width: 6px;
}

.modal-form-side::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-form-side::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .modal-image-side {
        display: block;
        /* Show image on tablet and larger */
    }
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.close-modal:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.input-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    background-color: #FAFCFD;
    transition: var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 147, 132, 0.1);
}

.modal-warning {
    display: flex;
    gap: 0.8rem;
    background-color: #FFF9E6;
    border-left: 4px solid var(--color-gold);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.modal-warning i {
    color: var(--color-gold);
    font-size: 1.5rem;
}

.modal-warning p {
    font-size: 0.85rem;
    margin: 0;
    color: #665233;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #1EBE59;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* =========================================
   HEADER NAV
========================================= */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(0, 30, 48, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: var(--color-white);
    font-size: 2rem;
    letter-spacing: 1px;
}

.logo-text span {
    font-weight: 400;
    font-style: italic;
    color: var(--color-gold);
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--color-primary);
    /* Fallback */
    /* Placeholder gradient for image */
    background: url('https://images.unsplash.com/photo-1559314809-0d155014e29e?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 24, 40, 0.85) 0%, rgba(0, 59, 92, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: var(--color-white);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================
   PRESENTATION
========================================= */
.presentation {
    padding: 6rem 0;
    background-color: var(--color-ivory);
}

.presentation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.presentation-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.presentation-text strong,
.presentation-text em {
    color: var(--color-primary);
}

/* Custom Image Styles */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.presentation-img,
.info-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

/* =========================================
   SPECIALTIES
========================================= */
.specialties {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.specialty-card {
    padding: 3rem 2rem;
    background-color: var(--color-bg-light);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.specialty-card:hover {
    background-color: var(--color-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-border);
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 147, 132, 0.1), rgba(0, 59, 92, 0.1));
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition-fast);
}

.specialty-card:hover .specialty-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
}

.specialty-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.specialty-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* =========================================
   MENU SECTION
========================================= */
.menu-section {
    padding: 6rem 0;
    background-color: #F4F7F9;
    /* Very subtle blue tint */
    background-image: radial-gradient(circle at 100% 100%, rgba(0, 147, 132, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(0, 59, 92, 0.03) 0%, transparent 50%);
}

.menu-header {
    margin-bottom: 4rem;
}

.menu-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-categories {
    column-count: 2;
    /* Masonry layout for menu */
    column-gap: 3rem;
}

.menu-category {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 3rem;
    break-inside: avoid;
    border-top: 4px solid var(--color-primary);
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-gold);
}

.category-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-item {
    position: relative;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
    position: relative;
}

/* Dotted leader for price */
.item-header::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    border-bottom: 1px dotted var(--color-border);
    z-index: 0;
}

.item-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-main);
    background-color: var(--color-white);
    padding-right: 15px;
    position: relative;
    z-index: 1;
}

.item-meta {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-left: 5px;
}

.item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    background-color: var(--color-white);
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
    padding-right: 50px;
}

/* =========================================
   INFO SECTION
========================================= */
.info-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--color-accent);
    background-color: rgba(0, 147, 132, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.info-item strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================
   FINAL CTA
========================================= */
.final-cta {
    padding: 8rem 0;
    position: relative;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1579027989536-b7b1f875659b?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
}

.final-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 59, 92, 0.9) 0%, rgba(0, 24, 40, 0.95) 100%);
}

.final-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.final-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   FOOTER
========================================= */
.main-footer {
    background-color: #00121D;
    /* Very dark blue */
    color: var(--color-white);
    padding: 4rem 0 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
}

.footer-social a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-bottom: 2rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .menu-categories {
        column-count: 1;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .presentation-container,
    .info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .presentation-image-placeholder {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* In a real scenario, implement a hamburger menu */
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .floating-res-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .floating-res-btn span {
        display: none;
        /* Only show icon on very small screens to save space */
    }
}