/* Global Styles */
:root {
    --primary-color: #49a46b; /* Orange */
    --primary-hover: #e56500;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --light-bg: #f9f9f9;
    --light-text: #333;
    --light-card: #ffffff;
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
}

body {
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--light-text);
    background-color: var(--light-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    color: var(--dark-text);
    background-color: var(--dark-bg);
}

/* Header & Navigation */
.navbar {
    background-color: var(--light-card) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

body.dark-mode .navbar {
    background-color: var(--dark-card) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.navbar-brand .logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Tajawal', sans-serif;
}

.navbar-brand img {
    height: 40px;
    margin-left: 10px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light-text);
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(30deg);
}

body.dark-mode .theme-toggle {
    color: #ffb74d;
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Make the theme toggle more visible on mobile */
@media (max-width: 991px) {
    .theme-toggle {
        margin: 0 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        order: 1;
    }
    
    .navbar-toggler {
        order: 2;
    }
    
    .navbar-brand {
        order: 0;
        margin-left: 0;
        margin-right: auto;
    }
    
    .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .navbar-collapse .d-flex {
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #49a46b; /* Orange */
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Tajawal', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Cards & Sections */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: var(--light-card);
}

body.dark-mode .card {
    background-color: var(--dark-card);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body.dark-mode .card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card-header {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .card-header {
    color: var(--dark-text);
    background-color: rgba(255,255,255,0.05);
}

.card-body {
    padding: 20px;
}

body.dark-mode .card-text,
body.dark-mode .list-group-item {
    color: var(--dark-text);
    background-color: var(--dark-card);
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    color: #49a46b; /* Orange */
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    width: 80px;
    height: 3px;
    background-color: #49a46b; /* Orange */
    transform: translateX(50%);
}

/* Features Icons */
.features-section i {
    color: #fff; /* Orange */
    margin-bottom: 1rem;
}

.features-section .card {
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.features-section .card-title {
    font-weight: 600;
    margin: 1rem 0;
    color: #49a46b; /* Orange */
}

/* Package Types */
.economy-packages, .vip-packages {
    position: relative;
    padding: 4rem 0;
}

.package-card .card-header {
    font-family: 'Tajawal', sans-serif;
}

.package-card .list-group-item {
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
}

.package-card .btn {
    margin-top: 1rem;
    padding: 10px 20px;
    font-weight: 500;
}

.package-card .package-image {
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: #333 !important;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    font-family: 'Tajawal', sans-serif;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.3rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #49a46b !important; /* Orange */
    text-decoration: none;
}

footer .text-white {
    color: #fff !important;
}

footer p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Booking Form */
.booking-form-section {
    padding: 3rem 0;
}

.booking-form-section .card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-form-section .card-header {
    font-family: 'Tajawal', sans-serif;
    color: #fff;
}

.booking-form-section .form-label {
    font-weight: 500;
    color: #444;
    font-size: 1rem;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #49a46b; /* Orange */
    box-shadow: 0 0 0 0.25rem rgba(255, 114, 0, 0.25); /* Orange with transparency */
}

/* Modern form styling */
.modern-form .form-control,
.modern-form .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
    background-color: #fff;
    border-color: #49a46b; /* Orange */
    box-shadow: 0 0 0 0.25rem rgba(255, 114, 0, 0.25); /* Orange with transparency */
}

.modern-form .input-group-text {
    background-color: #49a46b; /* Orange */
    color: white;
    border-color: #49a46b; /* Orange */
}

.modern-form .form-check-input:checked {
    background-color: #49a46b; /* Orange */
    border-color: #49a46b; /* Orange */
}

.modern-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #444;
}

.modern-form .form-floating label {
    padding: 1rem;
    color: #6c757d;
}

/* Custom Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-warning {
    background-color: #ffab00 !important; /* Darker Orange for VIP */
}

.bg-light {
    background-color: #f8f9fa !important;
}

body.dark-mode .bg-light {
    background-color: var(--dark-card) !important;
    color: var(--dark-text) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-success {
    background-color: #25d366; /* WhatsApp green */
    border-color: #25d366;
}

.btn-success:hover, .btn-success:focus {
    background-color: #128c7e;
    border-color: #128c7e;
}

.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn i {
    margin-left: 5px;
}

/* Hotels Section */
.hotels-section .card {
    overflow: hidden;
    margin-bottom: 30px;
}

.hotels-section .card img,
.hotel-details-section img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    width: 100%;
}

.hotels-section .card:hover img {
    transform: scale(1.1);
}

.hotels-section .fa-star,
.hotel-details-section .fa-star {
    color: #ffab00; /* Gold color for stars */
}

/* Hotel Slider */
.hotel-slider {
    position: relative;
    overflow: hidden;
}

.hotels-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 10px 5px 20px;
    gap: 15px;
}

.hotels-slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.hotel-card {
    flex: 0 0 300px;
    max-width: 300px;
    margin-right: 15px;
}

.hotel-card .card {
    height: 100%;
}

.hotel-card .stars {
    display: inline-block;
    margin-right: 5px;
    font-size: 0.9rem;
}

.hotel-card .hotel-description {
    height: 48px;
    overflow: hidden;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 114, 0, 0.8);
    color: white;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slider-arrow:hover {
    opacity: 1;
    background-color: rgba(255, 114, 0, 1);
}

.prev-arrow {
    margin-right: 10px;
}

.next-arrow {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .hotel-card {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

.hotel-details-section .card {
    margin-bottom: 30px;
}

.hotel-details-section .list-group-item {
    transition: background-color 0.3s ease;
}

.hotel-details-section .sticky-top {
    top: 80px;
    z-index: 100;
}

/* Transportation Section */
.transportation-section .card img {
    height: 200px;
    object-fit: cover;
}

/* Call to Action Section */
.cta-section {
    background-color: #49a46b; /* Orange */
    padding: 3rem 0;
}

.cta-section h2 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

/* Admin Panel */
.sidebar {
    background-color: #333 !important;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: rgba(255, 114, 0, 0.2); /* Orange with transparency */
    color: #49a46b; /* Orange */
}

.card-dashboard {
    overflow: hidden;
}

/* Page Headers */
.page-header {
    background-color: #f8f9fa;
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    font-family: 'Tajawal', sans-serif;
    color: #49a46b; /* Orange */
    font-weight: 700;
}

/* Included Section */
.included-section .list-group-item {
    border: none;
    padding: 0.75rem 0;
}

.included-section .list-group-item i {
    color: #49a46b; /* Orange */
    margin-left: 10px;
}

/* Media Queries */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .content {
        margin-right: 0 !important;
        padding: 20px;
    }
    
    .sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        padding-bottom: 20px;
    }
    
    .logout-btn {
        position: static !important;
        width: auto !important;
        margin: 20px auto !important;
        display: block;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}
/* Testimonials Section */
.testimonials-section .carousel-item {
    padding: 20px;
}

.testimonial-rating {
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* Rating Stars */
.rating-stars {
    direction: ltr;
    display: flex;
    justify-content: flex-start;
    position: relative;
    height: 40px;
    line-height: 40px;
    font-size: 30px;
}

.rating-stars input {
    opacity: 0;
    position: absolute;
    left: 0;
    width: 1px;
    height: 1px;
}

.rating-stars label {
    color: #ccc;
    cursor: pointer;
    padding: 0 5px;
    float: right;
    transition: all 0.2s ease;
}

.rating-stars label:before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.rating-stars input:checked ~ label,
.rating-stars:not(:checked) > label:hover,
.rating-stars:not(:checked) > label:hover ~ label {
    color: #ffab00;
}

.rating-stars input:checked + label:hover,
.rating-stars input:checked ~ label:hover,
.rating-stars label:hover ~ input:checked ~ label,
.rating-stars input:checked ~ label:hover ~ label {
    color: #ffcc00;
}

body.dark-mode .rating-stars label {
    color: #555;
}
