/* Unified Booking Form Styles */
@font-face {
    font-family: 'asmaa';
    src: url('https://www.fontstatic.com/fonts/asmaa/asmaa.eot?#iefix');
    src: url('https://www.fontstatic.com/fonts/asmaa/asmaa.eot?#iefix') format('eot'),
        url('https://www.fontstatic.com/fonts/asmaa/asmaa.woff') format('woff'),
        url('https://www.fontstatic.com/fonts/asmaa/asmaa.ttf') format('truetype'),
        url('https://www.fontstatic.com/fonts/asmaa/asmaa.svg#asmaa') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    padding-top: 80px;
    min-height: 100%;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 10px;
    margin: 5px 0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 10px;
    border: 2px solid rgba(20, 20, 20, 0.5);
    transition: background 0.3s ease, transform 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #DAA520, #FFED4E);
    transform: scaleX(1.1);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #FFD700 rgba(20, 20, 20, 0.5);
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.navbar-brand img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-collapse {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-items {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-item {
    margin: 0;
    position: relative;
}

.nav-item .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-item .nav-link:hover::after,
.nav-item .nav-link.active::after {
    width: 80%;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: #ffffff !important;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    z-index: 1001;
    padding: 8px 12px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Section Common Styles */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
    background: #000000;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: titleFadeIn 1.2s ease-out;
}

@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title i {
    font-size: 2.5rem;
    color: #FFD700;
    animation: float 3s ease-in-out infinite;
    display: inline-block !important;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border-radius: 2px;
}

/* Booking Container & Wrapper */
.booking-wrapper,
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.booking-container {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Header */
.booking-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-header i {
    font-size: 4rem;
    color: #FFD700;
    margin-bottom: 20px;
    display: block;
}

.booking-header h1 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'asmaa', 'Tajawal', sans-serif;
}

.booking-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Offer Header specific */
.offer-image-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 25px;
}

.offer-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-image-section:hover .offer-image-preview {
    transform: scale(1.05);
}

.offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
}

.offer-title {
    font-family: 'asmaa', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.offer-price-tag {
    display: inline-block;
    background: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.offer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    text-align: center;
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.detail-item i {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 5px;
}


/* Form Fields */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
}

.form-group label i {
    color: #FFD700;
    margin-left: 8px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(20, 20, 20, 0.6);
    color: #ffffff;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    color: #ffffff;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(20, 20, 20, 0.6);
    color: #ffffff;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.custom-dropdown-input.active {
    border-color: #FFD700;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px 10px 0 0;
}

.custom-dropdown-arrow {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .custom-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #FFD700;
}

.custom-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid #FFD700;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow: hidden;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.custom-dropdown.active .custom-dropdown-list {
    display: block;
}

.custom-dropdown-search {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.95);
}

.custom-dropdown-search input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(40, 40, 40, 0.8);
    color: white;
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

.custom-dropdown-options {
    max-height: 200px;
    overflow-y: auto;
}

.custom-dropdown-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: right;
}

.custom-dropdown-option:hover,
.custom-dropdown-option.highlighted {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 5px 10px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 6px;
    border-right: 3px solid #FFD700;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #DAA520, #FFED4E);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Hotel Info Box (booking.php) */
.hotel-info {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
}

.hotel-info-label {
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.hotel-info-value {
    color: #ffffff;
    font-size: 1.1rem;
}

/* Return to Home Button */
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-top: 20px;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.back-link:hover {
    color: #DAA520;
    background: rgba(255, 215, 0, 0.1);
    text-decoration: none;
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(5px);
}

/* Date Input Styling */
input[type="date"] {
    position: relative;
    color-scheme: dark;
    /* Forces browser to use dark theme for calendar popup */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    opacity: 0.8;
    transition: all 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar .container-fluid {
        padding: 0 10px;
    }

    .navbar-collapse {
        flex-grow: 0;
    }

    .nav-items {
        gap: 5px;
    }

    .nav-item .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .container-fluid {
        padding: 0 15px;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        display: none;
        flex-grow: 0;
    }

    .navbar-collapse.show {
        display: block;
    }

    .nav-items {
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
        z-index: 1001;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-item .nav-link {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .booking-container {
        padding: 25px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}