/* Modern Beach Reservation System - Professional Styling */

/* ========== Global Styles ========== */
:root {
    /* Paradise Beach Color Scheme - Inspired by Boho Logo */
    --primary-color: #8B4513;        /* Saddle Brown - Main brown from logo */
    --primary-dark: #654321;         /* Dark Brown - Darker shade */
    --secondary-color: #D2691E;      /* Chocolate - Warm secondary */
    --accent-color: #CD853F;         /* Peru - Golden accent */
    --text-dark: #3E2723;            /* Very Dark Brown */
    --text-light: #8D6E63;           /* Medium Brown */
    --bg-light: #FFF8F0;             /* Warm White */
    --bg-cream: #F5E6D3;             /* Cream - Logo background */
    --bg-white: #ffffff;
    --border-color: #D7CCC8;         /* Light Brown Border */
    --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.08);
    --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.12);
    --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    --gradient-warm: linear-gradient(135deg, #CD853F 0%, #DEB887 100%);
    --gradient-earth: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

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

html, body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

/* ========== Navigation ========== */
.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 10000 !important;
    transition: var(--transition);
    overflow: visible;
}

.navbar-modern .container-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    overflow: visible;
}

.nav-brand-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand-modern .nav-logo {
    height: 35px;
    width: 35px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-brand-modern .nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand-modern i {
    font-size: 28px;
}

/* Responsive logo size for mobile */
@media (max-width: 768px) {
    .nav-brand-modern .nav-logo {
        height: 30px;
        width: 30px;
    }

    .nav-brand-modern span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .nav-brand-modern .nav-logo {
        height: 28px;
        width: 28px;
    }
}

.nav-menu-modern {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link-modern {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

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

.btn-nav-modern {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-nav-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    height: 100vh;
    background: var(--gradient-earth),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.95;
}

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

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

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

/* ========== Quick Booking Section ========== */
.quick-booking-section {
    padding: 80px 0;
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.booking-form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.form-row-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group-modern label i {
    color: var(--primary-color);
    margin-right: 6px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 147, 176, 0.1);
}

.btn-booking-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-booking-submit i {
    margin-right: 8px;
}

/* ========== Features Section ========== */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== Beaches Section ========== */
.beaches-section {
    padding: 80px 0;
    background: white;
}

.beaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.beach-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.beach-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.beach-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.beach-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.beach-card-modern:hover .beach-card-image {
    transform: scale(1.1);
}

.beach-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.beach-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.beach-card-modern:hover .beach-card-overlay {
    opacity: 1;
}

.btn-view-beach {
    padding: 12px 32px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view-beach:hover {
    transform: scale(1.05);
}

.beach-card-content-modern {
    padding: 24px;
}

.beach-card-content-modern h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.beach-location {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 14px;
}

.beach-location i {
    color: var(--primary-color);
}

.beach-description {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.beach-stats {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.beach-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 14px;
}

.beach-stats i {
    color: var(--primary-color);
}

.beach-card-footer {
    display: flex;
    gap: 12px;
}

.btn-beach-explore,
.btn-beach-book {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-beach-explore {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-beach-explore:hover {
    background: var(--border-color);
}

.btn-beach-book {
    background: var(--gradient-primary);
    color: white;
}

.btn-beach-book:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== Restaurants Section ========== */
.restaurants-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.loading-restaurants {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

.loading-restaurants i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

/* Restaurant meal & charge badges */
.meal-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.meal-badge.lunch {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFCC80;
}

.meal-badge.dinner {
    background: #EDE7F6;
    color: #5E35B1;
    border: 1px solid #CE93D8;
}

.min-charge-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* ========== Contact Section ========== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.btn-contact-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== Footer ========== */
.footer-modern {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    .nav-menu-modern {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .beaches-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .booking-form-card {
        padding: 24px;
    }
}

/* ========== Utility Classes ========== */
.no-beaches-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-beaches-message i {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

/* ========== OTP Verification Section ========== */
.check-bookings-section input[type="tel"]:focus,
.check-bookings-section input[type="email"]:focus,
.check-bookings-section input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.check-bookings-section button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.check-bookings-section button[type="submit"]:active {
    transform: translateY(0);
}

.check-bookings-section button[type="button"]:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.check-bookings-section button[type="button"]:active {
    transform: translateY(0);
}

/* OTP Input Field Animation */
#otp-code {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: #e0e0e0;
    }
    50% {
        border-color: #667eea;
    }
}

#otp-code:focus {
    animation: none;
    border-color: #667eea !important;
}

/* Reservation Card Hover Effect */
#reservations-list > div {
    transition: transform 0.2s, box-shadow 0.2s;
}

#reservations-list > div:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Loading State */
.check-bookings-section button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Icon Circle Animation */
.check-bookings-section .fa-search,
.check-bookings-section .fa-shield-alt,
.check-bookings-section .fa-list-alt {
    animation: float 3s ease-in-out infinite;
}

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

/* Success/Error Message Styling */
#otp-request-message,
#otp-verify-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness for OTP Section */
@media (max-width: 768px) {
    .check-bookings-section {
        padding: 60px 0 !important;
    }

    .check-bookings-section > div > div > div {
        padding: 30px 20px !important;
    }

    #reservations-list > div {
        padding: 15px !important;
    }

    #otp-code {
        font-size: 20px !important;
        letter-spacing: 5px !important;
    }
}

/* ========== Table Marker Animations ========== */
@keyframes pulse-available {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(17, 153, 142, 0.6), 0 0 0 3px rgba(56, 239, 125, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(17, 153, 142, 0.8), 0 0 0 6px rgba(56, 239, 125, 0.4);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    70% {
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
    75% {
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

.table-marker {
    animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.table-marker:active {
    animation: none !important;
}

/* Enhanced interactive states */
.table-marker.selected {
    border: 3px solid #fff;
    box-shadow: 0 10px 40px rgba(17, 153, 142, 1), 0 0 0 8px rgba(56, 239, 125, 0.6) !important;
    transform: translate(-50%, -50%) scale(1.3) !important;
    z-index: 999 !important;
}

.table-marker.unavailable:hover::after {
    content: 'Reserved';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(238, 9, 121, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

.table-marker.not-suitable:hover::after {
    content: 'Capacity mismatch';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(127, 140, 141, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* ========== Hero Slider Styles ========== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 550px; /* Professional slider height */
    max-height: 70vh; /* Don't exceed 70% of viewport height */
    background: var(--bg-cream);
    overflow: hidden;
    margin-top: 80px;
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills entire slider while maintaining aspect ratio */
    object-position: center center; /* Centers the image */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide:nth-child(1) .slide-overlay {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.5) 0%, rgba(210, 105, 30, 0.5) 100%);
}

.hero-slide:nth-child(2) .slide-overlay {
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.5) 0%, rgba(205, 133, 63, 0.5) 100%);
}

.hero-slide:nth-child(3) .slide-overlay {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.5) 0%, rgba(139, 69, 19, 0.5) 100%);
}

.hero-slide:nth-child(4) .slide-overlay {
    background: linear-gradient(135deg, rgba(205, 133, 63, 0.5) 0%, rgba(107, 142, 35, 0.5) 100%);
}

.hero-slide:nth-child(5) .slide-overlay {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.5) 0%, rgba(218, 165, 32, 0.5) 100%);
}

.hero-slide:nth-child(6) .slide-overlay {
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.5) 0%, rgba(139, 69, 19, 0.5) 100%);
}

.hero-slide:nth-child(7) .slide-overlay {
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.5) 0%, rgba(218, 165, 32, 0.5) 100%);
}

.hero-slide:nth-child(8) .slide-overlay {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.5) 0%, rgba(205, 133, 63, 0.5) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    width: 90%;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--bg-light);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: var(--bg-cream);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.5);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.8);
    color: white;
    border: 2px solid var(--bg-cream);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.5);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    border-color: var(--bg-cream);
    box-shadow: 0 0 10px rgba(139, 69, 19, 0.6);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Slider */
@media (max-width: 1024px) {
    .hero-slider-section {
        height: 450px;
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 400px;
        max-height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        height: 300px;
        max-height: 45vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ========== Beach Gallery Styles ========== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(139, 69, 19, 0.9) 0%, rgba(139, 69, 19, 0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

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

.gallery-content {
    color: white;
    width: 100%;
}

.gallery-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.gallery-description {
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.gallery-view-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.gallery-view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.no-gallery-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

#lightbox-caption {
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Lightbox Counter */
#lightbox-counter {
    text-align: center;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    margin-top: 15px;
    display: inline-block;
}

/* Lightbox Thumbnails */
.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    max-width: 90%;
    overflow-x: auto;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(205, 133, 63, 0.6);
}

/* Image transition animation */
#lightbox-image {
    transition: opacity 0.3s ease;
}

#lightbox-image.transitioning {
    opacity: 0;
}

/* ========== Floating Check Bookings Button ========== */
.floating-check-bookings-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-check-bookings-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 19, 0.5);
}

.floating-check-bookings-btn i {
    font-size: 1.2rem;
}

/* ========== Bookings Modal ========== */
.bookings-modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.bookings-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bookings-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bookings-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.bookings-modal-close:hover {
    color: var(--primary-color);
}

.modal-header {
    text-align: center;
    padding: 40px 40px 20px;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.modal-header p {
    color: var(--text-light);
    margin: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .floating-check-bookings-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .floating-check-bookings-btn span {
        display: none;
    }

    .floating-check-bookings-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-thumbnails {
        bottom: 10px;
        padding: 10px 15px;
        max-width: 95%;
    }

    .lightbox-thumbnail {
        width: 60px;
        height: 45px;
    }
}

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

/* ========== Mobile & iPhone Responsive Fixes ========== */
@media (max-width: 768px) {
    .container-modern {
        padding: 0 16px !important;
    }

    .navbar-modern .container-modern {
        padding: 12px 16px !important;
    }

    .quick-booking-section {
        padding: 60px 0 !important;
    }

    .section-header-center {
        margin-bottom: 32px !important;
    }

    .section-title {
        font-size: 26px !important;
    }

    .section-subtitle {
        font-size: 14px !important;
    }

    .booking-form-card {
        padding: 24px 16px !important;
    }

    /* Beach map container fixes */
    #beach-map-wrapper {
        margin: 0 -16px !important;
        width: calc(100% + 32px) !important;
    }

    #beach-map-container {
        border-radius: 0 !important;
    }
}

@media (max-width: 480px) {
    .container-modern {
        padding: 0 12px !important;
    }

    .navbar-modern .container-modern {
        padding: 10px 12px !important;
    }

    .quick-booking-section {
        padding: 50px 0 !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .section-subtitle {
        font-size: 13px !important;
    }

    .booking-form-card {
        padding: 20px 12px !important;
    }

    /* Ensure content fits on small screens */
    #beach-map-wrapper {
        margin: 0 -12px !important;
        width: calc(100% + 24px) !important;
    }
}

/* iPhone specific fixes */
@media (max-width: 390px) {
    .container-modern {
        padding: 0 10px !important;
    }

    .nav-brand-modern span {
        font-size: 16px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .booking-form-card {
        padding: 18px 10px !important;
    }

    /* Form inputs on very small screens */
    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 10px 12px !important;
    }

    .form-group-modern label {
        font-size: 13px !important;
    }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }

    section, div {
        overflow-x: hidden;
    }

    /* Ensure buttons are easily tappable */
    button, .btn-primary-modern, .btn-secondary-modern {
        min-height: 44px !important;
        font-size: 15px !important;
    }

    /* Improve form field spacing on mobile */
    .form-row-modern {
        gap: 16px !important;
    }

    /* Make dropdowns easier to tap */
    select {
        min-height: 44px !important;
    }

    /* Improve input field sizes */
    input, textarea, select {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Fix beach map on mobile */
    #beach-map-wrapper {
        overflow: hidden !important;
    }

    #beach-map-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}
