/* assets/css/styles.css */
/* Base Styles */
:root {
    --primary-color: #007bff;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --section-spacing: 8rem;
    --input-height: 56px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* Navigation Styles */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.nav-scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-scrolled .nav-link {
    color: #333;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-link {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

/* Hero Section */
.hero-section {
    position: relative;
 
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

/* Booking Form */
.booking-overlay {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.booking-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 585px;
    width: 100%;
}

.form-group {
    margin-bottom: 1.8rem;
}

.iti{
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Date Picker */
.modern-input {
    appearance: none;
    cursor: pointer;
    width: 100%; /* Fallback for older browsers */
    width: -moz-available;    /* Firefox */
    width: -webkit-fill-available; /* Chrome/Safari */
    width: fill-available;    /* Standard property */
    width: stretch;           /* Legacy WebKit fallback */
    padding: 0.9rem 0rem;
        padding-right: 0rem;
        padding-left: 0rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    padding-right: 2.5rem;
    padding-left: 1rem;
}

.daterangepicker {
    font-family: 'Inter', sans-serif;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.daterangepicker td, .daterangepicker th {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

.daterangepicker td.active {
    background: var(--primary-color);
    border-radius: 6px;
}

/* Phone Input */
.phone-input-container {
    position: relative;
}

.intl-tel-input {
    width: 100% !important;
}

.intl-tel-input .selected-flag {
    padding: 0 15px;
}

/* Guest Control */
.guest-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f3f5;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

#guests {
    width: 80px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 1.1rem;
    background: #f8f9fa;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #0066cc);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    opacity: 0;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sections */
.page-section {
    padding: var(--section-spacing) 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer-section {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-column {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Price Summary Styles */
.price-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-header {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

.selected-rooms {
    margin: 10px 0;
}

.nights-count {
    color: #666;
    margin: 5px 0;
}

.total-price {
    font-size: 1.2em;
    color: #2c3e50;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    :root {
        --section-spacing: 4rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .booking-container {
        padding: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .booking-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* About Section Styles */
#about {
    background: #fff;
    padding: 8rem 10rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(0, 123, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.feature-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.zoom-effect {
    transition: transform 0.3s ease;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-item:hover .zoom-effect {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

/* Rules Section Styles */
#rules {
    background: #f8faff;
    padding: 8rem 2rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.rule-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.rule-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.rule-icon {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.rule-card:hover .rule-icon-wrapper {
    transform: rotate(15deg) scale(1.1);
}

.rule-title {
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.rule-content {
    position: relative;
    height: 120px;
    overflow: hidden;
    transition: height 0.4s ease;
}

.rule-content p {
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rule-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding-top: 1rem;
}

.rule-toggle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

/* Expanded State */
.rule-card.active {
    background: rgba(0, 123, 255, 0.03);
}

.rule-card.active .rule-content {
    height: 220px;
}

.rule-card.active .rule-details {
    opacity: 1;
    transform: translateY(0);
}

.rule-card.active .rule-icon-wrapper {
    background: var(--primary-color);
}

.rule-card.active .rule-icon {
    fill: #fff;
}

.rule-card.active .rule-toggle {
    display: none;
}

/* Rules Disclaimer Styles */
.rules-disclaimer {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: #fff5f5;
    border-radius: 12px;
    border: 2px solid #ffebee;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.rules-disclaimer:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.08);
}

.warning-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    fill: #ff4444;
}

.disclaimer-text {
    color: #cc0000;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .rules-disclaimer {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin: 3rem 1rem 0;
    }
    
    .warning-icon {
        width: 30px;
        height: 30px;
    }
}

/* Map Section Styles */
.map-section {
    position: relative;
    height: 100vh;
    width: 100%;
}

#map-container {
    height: 100%;
    width: 100%;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    pointer-events: none;
}

.location-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 280px;
    transform: translateY(20px);
    opacity: 0;
    animation: cardEntrance 0.6s ease-out 0.5s forwards;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.location-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.location-info h3 {
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}

.location-info p {
    color: var(--text-light);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.directions-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    pointer-events: all;
}

.directions-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@keyframes cardEntrance {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Custom Map Styling */
.gm-style .gm-style-iw-c {
    border-radius: 12px !important;
    padding: 1rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.gm-style .gm-style-iw-t::after {
    background: #fff !important;
}

/* Loading Spinner Styles */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.loading-spinner.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.booking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 1rem auto 0;
    font-weight: 400;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .booking-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

#message {
    text-align: center;
    padding-top: 20px;
}

.daterangepicker td.disabled {
    color: #ccc;
    text-decoration: line-through;
    background: #f8f9fa;
}

.daterangepicker td.in-range.disabled {
    background-color: #fff0f0;
}

/* Date Range Picker Button Styling */
.daterangepicker .apply-btn {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.daterangepicker .apply-btn:hover {
    background-color: #0069d9 !important;
    border-color: #0062cc !important;
    transform: translateY(-1px);
}

.daterangepicker .cancel-btn {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.daterangepicker .cancel-btn:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    transform: translateY(-1px);
}

/* Button container spacing */
.daterangepicker .drp-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Footer Styles */
.site-footer {
    padding: 2rem 1rem;
    text-align: center;
    background-color: #000;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

.site-footer p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 1rem;
    }
}

select.modern-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    padding-left: 1rem;
}

/* Compact Form Styling */
.booking-container {
    padding: 1.5rem;
    max-width: 600px;
}

.booking-header {
    margin-bottom: 1.5rem;
}

.booking-subtitle {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.compact-guest-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 150px;
    margin: 0 auto;
}

.compact-guest-control input {
    width: 50px;
    padding: 0.5rem;
}

.guest-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.submit-btn.compact {
    padding: 0.8rem;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .compact-guest-control {
        max-width: 100%;
    }
    
    .booking-container {
        padding: 1rem;
    }
}

/* Message Styles */
.form-messages {
    margin-bottom: 1rem;
    text-align: center;
}

.message-error {
    color: #dc3545;
    padding: 0.5rem;
    border-radius: 4px;
    background: #fff5f5;
    border: 1px solid #ffdfdf;
}

.message-info {
    color: #0066cc;
    padding: 0.5rem;
    border-radius: 4px;
    background: #f0f8ff;
    border: 1px solid #cce5ff;
}

/* Availability Calendar Styles */
.availability-section {
    padding: 4rem 1rem;
    background: #f8f9fa;
}

.availability-container {
    max-width: 1200px;
    margin: 0 auto;
}

.room-type-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.room-type-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
}

.room-type-tab.active {
    background: var(--primary-color);
    color: white;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    padding: 1rem;
    text-align: center;
    background: white;
    border: 1px solid #dee2e6;
    min-height: 80px;
    position: relative;
}

.calendar-day.booked {
    background: #fff5f5;
    color: #dc3545;
}

.calendar-day.available {
    background: #f0fff4;
    color: #28a745;
}

.calendar-day.booked::after {
    content: "✕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0.3;
}

/* Enhanced Calendar Styles */
.calendar-day {
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    padding: 1.2rem;
    min-height: 90px;
}

.calendar-day:hover:not(.booked) {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-day.selected {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    font-weight: 600;
}

.calendar-day.selected::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    font-size: 24px;
}

/* Legend Styles */
.calendar-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available { background: #f0fff4; border: 1px solid #c3e6cb; }
.legend-color.booked { background: #fff5f5; border: 1px solid #f5c6cb; }
.legend-color.selected { background: #e3f2fd; border: 1px solid #b8daff; }

/* Mobile Touch Optimization */
@media (hover: none) {
    .calendar-day:hover:not(.booked) {
        transform: none;
        box-shadow: none;
    }
    
    .calendar-day:active:not(.booked) {
        transform: scale(0.95);
    }
}

/* Enhanced Calendar Controls */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.calendar-nav {
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.calendar-nav:hover {
    background: #0069d9;
    transform: scale(1.1);
}

.nav-arrow {
    width: 24px;
    height: 24px;
    fill: white;
}

.current-month {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    min-width: 200px;
    text-align: center;
}

@media (max-width: 480px) {
    .calendar-controls {
        gap: 1rem;
    }
    
    .current-month {
        font-size: 1.2rem;
        min-width: 160px;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
    }
    
    .nav-arrow {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
      height: auto;
      min-height: 100vh;
    }
  
    .booking-container {
      width: 95%;
      padding: 1rem;
      margin: 1rem 0;
      position: static;
      transform: none;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
    }
  
    .modern-input {
      font-size: 16px;
    }
  
    .compact-guest-control {
      max-width: 100%;
    }
  
    .rules-grid {
      grid-template-columns: 1fr;
      padding: 0;
    }
  
    .calendar-grid {
      grid-template-columns: repeat(7, minmax(40px, 1fr));
    }
  
    .room-type-nav {
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
    }
  
    .map-section {
      height: 300px;
    }
  
    .location-card {
      width: 90%;
      left: 5%;
      padding: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .booking-header h1 {
      font-size: 1.5rem;
    }
  
    .booking-subtitle {
      font-size: 0.9rem;
    }
  
    .form-group label {
      font-size: 0.9rem;
    }
  
    .guest-btn {
      padding: 0.5rem;
    }
  
    .rule-card {
      padding: 1rem;
    }
  
    .calendar-controls h3 {
      font-size: 1rem;
    }
  
    .calendar-legend {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  /* Touch Optimization */
  @media (hover: none) {
    .guest-btn {
      padding: 1rem;
      min-width: 44px;
      min-height: 44px;
    }
  
    .room-type-tab {
      padding: 0.8rem 1.2rem;
      min-width: 120px;
    }
  
    .submit-btn {
      padding: 1.2rem;
    }
  }
  
  /* Form Element Tweaks */
  select.modern-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2em;
  }
  
  /* Date Input Container */
  #dates {
    background: #f7fafc;
    cursor: not-allowed;
  }
  
  /* Loading State */
  .loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .loading .loader {
    display: inline-block;
  }

  @media (max-width: 768px) {
    .booking-overlay {
        padding-top: 55px;
    } 
    #about {
        background: #fff;
        padding: 1rem;
      }
  }

  @media (max-width: 480px) {
    .booking-overlay {
        padding-top: 55px;
    }

    .mobile-menu-btn {
        padding-right: 59px;
    }  
}

/* Calendar Styles */
.availability-section {
    padding: 1rem;
    background: var(--light-bg);
  }
  
  .calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    gap: 1rem;
  }
  
  .current-month {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-align: center;
  }
  
  .calendar-nav {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--primary-color);
  }
  
  .nav-arrow {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr));
    gap: 2px;
    font-size: 0.9rem;
  }
  
  .calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 6px;
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .calendar-day:hover:not(.disabled) {
    background: var(--light-bg);
  }
  
  .calendar-day.disabled {
    background: #f8f9fa;
    color: #a0aec0;
    cursor: not-allowed;
  }
  
  /* Availability States */
  .available {
    background: #c6f6d5;
    border-color: #48bb78;
  }
  
  .booked {
    background: #fed7d7;
    border-color: #f56565;
    cursor: not-allowed;
  }
  
  .selected {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
  }
  
  /* Legend Styles */
  .calendar-legend {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
  }
  
  /* Mobile Optimization */
  @media (max-width: 768px) {
    .calendar-grid {
      grid-template-columns: repeat(7, minmax(35px, 1fr));
      gap: 1px;
      font-size: 0.8rem;
    }
  
    .calendar-day {
      padding: 0.2rem;
      border-radius: 4px;
    }
  
    .calendar-controls {
      flex-wrap: wrap;
      gap: 0.5rem;
    }
  
    .current-month {
      order: -1;
      width: 100%;
      font-size: 1rem;
    }
  
    .room-type-nav {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      padding-bottom: 0.5rem;
    }
  
    .room-type-tab {
      flex-shrink: 0;
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
    }
  
    .calendar-legend {
      gap: 1rem;
      font-size: 0.8rem;
    }
  
    .legend-color {
      width: 16px;
      height: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .calendar-grid {
      grid-template-columns: repeat(7, minmax(30px, 1fr));
      font-size: 0.75rem;
    }
  
    .calendar-day {
      min-height: 35px;
    }
  
    .nav-arrow {
      width: 20px;
      height: 20px;
    }
  }
  
  /* Scrollbar Styling */
  .room-type-nav::-webkit-scrollbar {
    height: 4px;
  }
  
  .room-type-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
  }

  /* Base Daterangepicker Styles */

  
  /* Mobile Optimization */
  @media (max-width: 768px) {
    .daterangepicker {
      position: fixed !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: 95% !important;
      max-width: 400px !important;
      height: auto !important;
      padding: 1rem;
    }
    .calendar-table {
        padding: 0rem 1rem;
    }

    .daterangepicker .calendar-table table {
        border-collapse: unset;
        border-spacing: 2px;
        
    }
  
    .daterangepicker .calendar {
      float: none !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0;
    }
  
    .daterangepicker .calendar-table {
      width: 100% !important;
    }
  
    .daterangepicker .calendar-table th,
    .daterangepicker .calendar-table td {
      min-width: 44px !important;
      height: 44px !important;
      font-size: 14px;
    }
  
    .daterangepicker .drp-buttons {
      flex-direction: column;
      gap: 8px;
      padding: 1rem;
    }
  
    .daterangepicker .drp-buttons .btn {
      margin: 0 !important;
      padding: 12px;
    }
  
    .daterangepicker:before,
    .daterangepicker:after {
      display: none !important;
    }
  }
  

  /* Hero Intro Styling */
  .booking-overlay {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
}

.booking-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}


.icon-pin {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
 

/* Updated Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}



.hero-intro {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    width: 40%;
    max-width: 500px;
}



.hero-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.highlight-text {
    background: rgba(0, 123, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    font-weight: 500;
    color: var(--text-dark);
}

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px; /* Add bottom padding */
        display: block;
        height: 1400px;
    }

    .booking-overlay {
        flex-direction: column;
        gap: 2rem;
        padding: 35px;
        margin-top: 30px; /* Push down from nav */
    }

    .hero-intro {
        order: -1; /* Ensure intro comes first */
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .booking-container {
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px; /* Space before next section */
        position: relative;
        z-index: 2;
    }

    /* Ensure proper spacing between sections */
    .hero-section + .page-section {
        padding-top: 40px !important;
    }
}

@media (max-width: 480px) {
    .hero-intro {
        margin-top: 345px;
        padding: 1rem;
    }
    
    .booking-container {
        padding: 1.5rem;
        margin-bottom: 30px;
    }
}

/* Payment Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto; /* Enable scrolling for the modal backdrop */
}

.modal-content {
    background-color: #fff;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 90vh; /* Limit height to 90% of viewport */
    overflow-y: auto; /* Enable vertical scrolling */
    box-sizing: border-box;
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
        max-height: 95vh;
        padding: 1.5rem;
    }
}

@media (max-height: 600px) {
    .modal-content {
        margin: 0.5rem auto;
        max-height: 98vh;
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 1;
}

.close:hover {
    color: #333;
}

#payment-reference {
    margin: 1rem 0;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

/* Payment status indicator */
.payment-status {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.payment-status.checking {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.payment-status.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.payment-status.failed {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.payment-status.pending {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffcc02;
}

/* Loading spinner for payment status */
.payment-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#payment-reference:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

/* Select2 Styles */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 38px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    border: 1px solid #0056b3;
    color: white;
    border-radius: 4px;
    padding: 2px 8px;
}

.select2-container--default .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
}

.select2-selection--multiple{
    appearance: none !important;
  cursor: pointer !important;
  padding: 0.7rem 0rem !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #f8f9fa !important;
  padding-right: 2.5rem !important;
  padding-left: 1rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #007bff !important;
  border: 1px solid #0056b3 !important;

}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    margin-right: 5px !important;
    padding: 2px 4px !important;

}


