/* =========================================
   Custom Styles for HTML/CSS/JS Version
   ========================================= */

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-panel {
    position: fixed;
    top: 0;
    left: -380px;
    width: 360px;
    height: 100%;
    background: #fff;
    z-index: 100000;
    transition: all 0.4s ease;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
}
.sidebar-panel.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e1e1e1;
}
.sidebar-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fbb438;
    margin: 0;
}
.sidebar-close {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    padding: 5px;
}
.sidebar-close:hover {
    color: #fbb438;
}

.sidebar-content {
    padding: 25px;
}
.sidebar-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 25px;
    outline: none;
}
.sidebar-search input:focus {
    border-color: #fbb438;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.sidebar-menu ul li {
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-menu ul li a {
    display: block;
    padding: 12px 0;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.sidebar-menu ul li a:hover {
    color: #fbb438;
    padding-left: 8px;
}

.sidebar-contact h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.sidebar-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}
.sidebar-contact a {
    color: #fbb438;
    font-weight: 600;
    font-size: 16px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #fbb438;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(86, 12, 227, 0.3);
}
.scroll-top:hover {
    background: #f58424;
    transform: translateY(-3px);
}

/* Preloader fix */
#loading {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99999;
    margin-top: 0px;
    top: 0px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}









/* =========================================
   Booking Form - Overlapping Hero
   ========================================= */

/* Hero Section - Make space for overlapping form */
.tg-hero-area {
    padding-bottom: 50px;
}

/* Booking Form Overlay */
.booking-overlay-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 30px;
}

.booking-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.booking-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 30px;
    border: 1px solid #e9ecef;
    border-bottom: none; /* replaced by the orange inset highlight below */
    width: 100%;
    position: relative;
    /* Outer drop shadow + an inset shadow that hugs the bottom edge,
       curving with border-radius, to create the orange highlight line */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 -4px 0 0 #fbb438;
}

.booking-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #fbb438;
    letter-spacing: 1px;
}

/* Form rows use a 12-column grid so widths always add up correctly
   (grid gaps are subtracted from the track sizes automatically,
   unlike flex-basis percentages + gap, which caused uneven shrinking). */
.form-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
    width: 100%;
    align-items: start; /* top-align columns so extra content (e.g. the
                            capacity hint under Units) doesn't push the
                            other columns' controls out of alignment */
}

.form-row:first-child {
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* prevents inputs from forcing their column to overflow */
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 44px;
}

.form-group .form-control:focus {
    border-color: #fbb438;
    box-shadow: 0 0 0 3px rgba(251, 180, 56, 0.2);
    outline: none;
    background: white;
}

.form-group select.form-control {
    cursor: pointer;
    appearance: auto;
}

/* Row 1 (12 cols: 6 + 3 + 3) */
.activity-group {
    grid-column: span 6;
}

.date-group {
    grid-column: span 3;
}

.time-group {
    grid-column: span 3;
}

/* Row 2 (12 cols: 3 + 3 + 3 + 3 = four equal 25% columns) */
.guests-group {
    grid-column: span 3;
}

.units-group {
    grid-column: span 3;
    position: relative; /* lets capacity-hint be pulled out of flow below */
}

.price-group {
    grid-column: span 3;
}

.submit-group {
    grid-column: span 3;
    display: flex;
    align-items: flex-end;
}

/* Guest Controls */
.guest-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 3px;
    height: 44px;
    width: 100%;
}

.guest-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: white;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guest-btn:hover {
    background: #fbb438;
    color: white;
}

.guest-control .guest-input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 0;
    height: 34px;
    min-width: 30px;
}

/* Price Display */
.price-display {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    font-size: 18px;
    font-weight: 700;
    color: #fbb438;
    height: 44px;
    width: 100%;
}

/* Capacity Hint */
.capacity-hint {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
    min-height: 16px;
    font-weight: 500;
}

.capacity-hint.warning {
    color: #e74a3b;
    font-weight: 600;
}

/* Book Button - Properly aligned */
.book-btn {
    width: 100%;
    padding: 10px 20px;
    background: #fbb438;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-btn:hover {
    background: #f58424;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(251, 180, 56, 0.4);
}

/* Capacity Modal */
.capacity-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.capacity-modal.show {
    display: flex;
}

.capacity-modal-content {
    background: white;
    padding: 30px 35px;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

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

.capacity-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.capacity-close:hover {
    color: #333;
}

.capacity-modal-content h3 {
    margin: 0 0 15px 0;
    color: #e74a3b;
    font-size: 20px;
}

.capacity-modal-content ul {
    padding-left: 20px;
    margin: 12px 0;
}

.capacity-modal-content ul li {
    margin: 6px 0;
    font-size: 14px;
    color: #555;
}

.capacity-modal-content .capacity-btn {
    padding: 10px 30px;
    background: #fbb438;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.capacity-modal-content .capacity-btn:hover {
    background: #f58424;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .booking-overlay-wrapper {
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    .booking-overlay-wrapper {
        margin-top: -20px;
        padding-bottom: 20px;
    }

    .booking-container {
        padding: 18px 15px;
    }

    .booking-title {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 0 !important;
    }

    /* Full-width rows */
    .activity-group,
    .price-group,
    .submit-group {
        grid-column: span 2;
    }

    /* Paired half-width rows */
    .date-group,
    .time-group,
    .guests-group,
    .units-group {
        grid-column: span 1;
    }

    .form-group {
        margin-bottom: 4px;
    }

    .form-group .form-control {
        height: 38px;
        font-size: 13px;
        padding: 8px 12px;
    }

    .guest-control {
        height: 38px;
    }

    .guest-btn {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .price-display {
        font-size: 15px;
        height: 38px;
    }

    .book-btn {
        height: 38px;
        font-size: 14px;
    }
}







/* =========================================
   Hero Video Background
   ========================================= */
.tg-hero-tu-wrapper {
    position: relative;
    overflow: hidden;
    height: 850px;
    display: flex;
    align-items: center;
}

.tg-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* adjust below if the subject is cropped */
    z-index: 0;
    pointer-events: none;
}

.tg-hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.tg-hero-tu-wrapper .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 768px) {
    .tg-hero-tu-wrapper {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .tg-hero-tu-wrapper {
        height: 500px;
    }
}




/* Social Media Icons - Footer */
.tg-footer-social .social-icon:hover {
    background: #fbb438 !important;
    color: #333 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(251, 180, 56, 0.4);
}

/* Alternative with different colors per platform */
.tg-footer-social .social-icon:hover.facebook:hover {
    background: #1877f2 !important;
    color: white !important;
}

.tg-footer-social .social-icon:hover.twitter:hover {
    background: #1da1f2 !important;
    color: white !important;
}

.tg-footer-social .social-icon:hover.instagram:hover {
    background: #e4405f !important;
    color: white !important;
}

.tg-footer-social .social-icon:hover.youtube:hover {
    background: #ff0000 !important;
    color: white !important;
}

.tg-footer-social .social-icon:hover.pinterest:hover {
    background: #bd081c !important;
    color: white !important;
}
