/* ========================================
   PREMIUM RESERVATION SECTION STYLES
   ======================================== */

/* Main Section with Parallax Background */
.gt-booking-reserve-section {
    position: relative;
    background-image: url('../img/hotel-image/Hotel-adhira-hero.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 120px 0;
}

/* Dark Gradient Overlay with Gold Accent */
.gt-booking-reserve-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.97) 0%,
            rgba(28, 28, 28, 0.92) 50%,
            rgba(183, 142, 90, 0.15) 100%);
    z-index: 1;
}

/* Decorative Floating Elements */
.reservation-deco-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
    z-index: 2;
}

.reservation-deco-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(183, 142, 90, 0.4), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.reservation-deco-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(183, 142, 90, 0.3), transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

/* Container positioned above overlays */
.gt-booking-reserve-section .container {
    position: relative;
    z-index: 10;
}

/* Premium Glassmorphism Card */
.gt-booking-reserve-wrapper {
    padding: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 99;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gt-booking-reserve-wrapper:hover {
    transform: translateY(-5px);
    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* Section Title Styling */
.gt-booking-reserve-wrapper .gt-section-title h2 {
    position: relative;
    display: inline-block;
}

.gt-booking-reserve-wrapper .gt-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gt-theme), transparent);
    border-radius: 2px;
}

/* Form Fields with Premium Effects */
.gt-booking-reserve-wrapper .form-clt {
    margin-top: 30px;
    animation: fadeInUp 0.6s ease backwards;
}

.gt-booking-reserve-wrapper .row>div:nth-child(1) .form-clt {
    animation-delay: 0.1s;
}

.gt-booking-reserve-wrapper .row>div:nth-child(2) .form-clt {
    animation-delay: 0.2s;
}

.gt-booking-reserve-wrapper .row>div:nth-child(3) .form-clt {
    animation-delay: 0.3s;
}

.gt-booking-reserve-wrapper .row>div:nth-child(4) .form-clt {
    animation-delay: 0.4s;
}

.gt-booking-reserve-wrapper .row>div:nth-child(5) .form-clt {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Input Fields */
.gt-booking-reserve-wrapper .form-clt input {
    border: none;
    width: 100%;
    background: transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
    color-scheme: dark;
    color: var(--gt-white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.gt-booking-reserve-wrapper .form-clt input:focus {
    outline: none;
    border-bottom-color: var(--gt-theme);
    box-shadow: 0 2px 20px rgba(183, 142, 90, 0.3);
}

.gt-booking-reserve-wrapper .form-clt input:hover {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Select Dropdowns */
.gt-booking-reserve-wrapper .form-clt .form .single-select {
    border: none;
    background-color: transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 0;
    padding-bottom: 19px;
    line-height: initial;
    height: initial;
    transition: all 0.3s ease;
}

.gt-booking-reserve-wrapper .form-clt .form .single-select:hover {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.gt-booking-reserve-wrapper .form-clt .form .single-select.open {
    border-bottom-color: var(--gt-theme);
    box-shadow: 0 2px 20px rgba(183, 142, 90, 0.3);
}

/* Premium Button - Matching Site Diagonal Swipe */
.gt-booking-reserve-wrapper .gt-theme-btn {
    position: relative;
    overflow: hidden;
    transition: 500ms;
    z-index: 1;
}

.gt-booking-reserve-wrapper .gt-theme-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 130%;
    height: 0%;
    margin: auto;
    transform: rotate(-45deg);
    background-color: var(--gt-header);
    transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
}

.gt-booking-reserve-wrapper .gt-theme-btn:hover::before {
    height: 550%;
}

/* Specific Button Styling */
.gt-booking-reserve-wrapper .reservation-submit-btn {
    max-width: 380px !important;
    margin: 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.gt-booking-reserve-wrapper .reservation-submit-btn span {
    position: relative;
    z-index: 2;
    line-height: 1;
    transition: color 0.3s ease;
}

.gt-booking-reserve-wrapper .reservation-submit-btn i {
    position: relative;
    z-index: 2;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* Hover: Black text color for contrast with white background */
.gt-booking-reserve-wrapper .reservation-submit-btn:hover span,
.gt-booking-reserve-wrapper .reservation-submit-btn:hover i {
    color: var(--gt-header) !important;
}

.gt-booking-reserve-wrapper .reservation-submit-btn:hover i {
    transform: translateX(5px);
}

/* Center the button wrapper */
.gt-booking-reserve-wrapper .form-clt-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Video Section Adjustments */
.gt-booking-reserve-video {
    margin-top: -200px;
    position: relative;
    z-index: 5;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .gt-booking-reserve-wrapper {
        padding: 60px;
    }

    .gt-booking-reserve-section {
        padding: 100px 0;
    }
}

@media (max-width: 991px) {
    .gt-booking-reserve-wrapper {
        padding: 50px;
    }

    .gt-booking-reserve-section {
        padding: 80px 0;
        background-attachment: scroll;
        /* Better performance on tablets */
    }

    .reservation-deco-orb.orb-1 {
        width: 300px;
        height: 300px;
    }

    .reservation-deco-orb.orb-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .gt-booking-reserve-wrapper {
        padding: 40px;
    }

    .gt-booking-reserve-section {
        padding: 60px 0;
    }

    .gt-booking-reserve-wrapper .gt-section-title h2 {
        font-size: 32px;
    }

    /* Stack form fields on mobile */
    .gt-booking-reserve-wrapper .form-clt {
        margin-top: 25px;
    }
}

@media (max-width: 575px) {
    .gt-booking-reserve-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .gt-booking-reserve-section {
        padding: 40px 0;
    }

    .gt-booking-reserve-wrapper .gt-section-title h2 {
        font-size: 28px;
    }

    .gt-booking-reserve-wrapper .gt-section-title h6 {
        font-size: 14px;
    }

    /* Hide decorative orbs on very small screens for performance */
    .reservation-deco-orb {
        display: none;
    }

    .gt-booking-reserve-wrapper .form-clt {
        margin-top: 20px;
    }

    .gt-booking-reserve-wrapper .form-clt span {
        font-size: 16px;
    }
}

/* Remove parallax on mobile for performance */
@media (max-width: 768px) {
    .gt-booking-reserve-section {
        background-attachment: scroll;
    }
}

/* High-end responsive - Extra large screens */
@media (min-width: 1400px) {
    .gt-booking-reserve-wrapper {
        padding: 100px;
    }
}

/* Fix for background image fitting on mobile */
/* Fix for background image fitting on desktop */
@media (min-width: 768px) {
    .gt-booking-reserve-video {
        margin-top: -100px !important;
        height: 500px !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .gt-booking-reserve-video .gt-video-items {
        padding: 0 !important;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Fix for background image fitting on mobile */
@media (max-width: 767px) {
    .gt-booking-reserve-video {
        margin-top: 0 !important;
        height: 250px !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .gt-booking-reserve-video .gt-video-items {
        padding: 0 !important;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}