/* Global styles for index page */
body {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    color: #fff;
    padding-top: 76px;
}

/* Enhanced Navbar Styles with Bootstrap 5 */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 5px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    z-index: 1000;
}

.navbar .container-fluid {
    padding: 0;
    margin: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD700 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.navbar-brand i {
    font-size: 1.3rem;
}

.navbar-brand:hover {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.navbar-nav {
    margin-right: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 6px;
    font-size: 1rem;
}

.nav-link:hover {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.1);
}

.btn-register {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000 !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    padding: 6px 16px !important;
}

.navbar.scrolled {
    padding: 3px 0;
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scroll Effect */
.navbar.scrolled {
    padding: 3px 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .navbar-nav {
        gap: 8px;
    }

    .nav-link {
        text-align: center;
    }

    .btn-register {
        margin: 5px 0;
    }
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    padding: 100px 0 50px;
    margin-top: 30px;
}

.welcome-message h1 {
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-message p {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Enhanced Search Section */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: 20px;
}

.search-box {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input-group input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.search-input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
    font-size: 1.2rem;
}

.search-input-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.search-input-group input::placeholder {
    color: #888;
}

.search-btn {
    padding: 15px 35px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.9rem; /* تصغير حجم الخط */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.search-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}
    
.search-btn i {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}

/* Countries Section */
.countries-section {
    padding: 50px 0;
    overflow: hidden;
}

.hotel-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.country-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.country-card:hover {
    transform: translateY(-10px);
}

.country-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.country-card .card-body {
    padding: 20px;
    text-align: center;
}

.country-card .card-title {
    color: #FFD700;
    margin-bottom: 10px;
}

.country-card p {
    color: white;
    margin-bottom: 20px;
}

.explore-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    text-align: center;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.7);
    margin: 30px 0;
}

.services-section h2 {
    color: #fff;
    margin-bottom: 30px;
}

.service-item {
    display: inline-block;
    margin: 15px 30px;
    color: #fff;
}

.service-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFD700;
}


/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-box {
        width: 95%;
        flex-direction: column;
    }
    
    .country-card {
        margin-bottom: 15px;
    }
    
    .service-item {
        margin: 10px 15px;
    }
}

/* Section Title */
.section-title {
    text-align: center;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.hotel-slider {
    display: flex;
    gap: 20px;
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
}

.country-card {
    flex: 0 0 calc((100% - 60px) / 4); /* 4 cards with gaps */
    min-width: calc((100% - 60px) / 4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-10px);
}

.country-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.country-card .card-body {
    padding: 20px;
    text-align: center;
}

.country-card .card-title {
    font-family: 'Playfair Display', serif;
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.country-card p {
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.explore-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    color: white;
    transform: translateY(-2px);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 215, 0, 0.2);
    border: none;
    color: #FFD700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Footer */
.social-icons a {
    color: #FFD700;
    font-size: 1rem;
    margin-right: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #FFA500;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Toast */
.search-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
    z-index: 1001;
}

/* Responsive adjustments for slider */
@media (max-width: 991px) {
    .country-card {
        flex: 0 0 calc((100% - 40px) / 2); /* Show 2 cards instead of 4 */
        min-width: calc((100% - 40px) / 2);
    }
}

@media (max-width: 576px) {
    .country-card {
        flex: 0 0 calc(100% - 20px); /* Show 1 card on very small screens */
        min-width: calc(100% - 20px);
    }

    .slider-container {
        padding: 0 20px; /* Reduce padding on small screens */
    }

    .country-card .card-body {
        padding: 15px; /* Reduce padding inside cards */
    }

    .section-title {
        font-size: 2rem; /* Smaller title on mobile */
        margin-bottom: 30px;
    }

    .slider-arrow {
        width: 30px; /* Smaller arrows */
        height: 30px;
    }
}

/* Fix for card content */
.country-card {
    height: auto; /* Allow height to adjust to content */
    margin-bottom: 20px;
}

.country-card img {
    height: 180px; /* Fixed height for images */
    object-fit: cover;
}

.card-body {
    height: auto; /* Allow height to adjust to content */
}

/* Footer Logo */
.footer h5 i + span {
    font-family: 'Playfair Display', serif;
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Animation for the hotel cards */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling the hotel cards */
.hotel-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 20px;
    background-color: white;
    opacity: 0.9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.hotel-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.card-body {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Features List with Icons */
.features-list {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    color: #777;
    font-size: 1rem;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list li i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hotel-card {
        margin-bottom: 15px;
    }
    .hotel-card img {
        height: 180px;
    }
    
    .hero-section {
        min-height: 400px;
    }
}

/* Global Deals Section */
.global-deals {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.deal-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.deal-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFD700;
    color: #000;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 1;
}

.deal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deal-content {
    padding: 20px;
}

.location {
    color: #FFD700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.location i {
    margin-right: 5px;
}

.deal-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.hotel-rating {
    color: #FFD700;
    margin-bottom: 15px;
}

.amenities {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.amenities span {
    color: #fff;
    font-size: 0.9rem;
}

.amenities i {
    color: #FFD700;
    margin-right: 5px;
}

.price {
    color: #fff;
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.current-price {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-book {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: translateY(-2px);
}

/* Featured Destinations */
.featured-destinations {
    padding: 80px 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.destination-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.destination-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.destination-meta span {
    font-size: 0.9rem;
}

.destination-meta i {
    color: #FFD700;
    margin-right: 5px;
}

.explore-destination {
    display: inline-block;
    padding: 8px 20px;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.explore-destination:hover {
    background: #FFA500;
    color: #fff;
}

/* Platform Features */
.platform-features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .deals-grid,
    .destinations-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .destination-card {
        height: 300px;
    }

    .deal-card {
        margin: 0 15px;
    }
}

/* Enhanced Customer Reviews Section */
.customer-reviews {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/reviews-bg.jpg') center/cover;
}

.section-title {
    text-align: center;
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
    padding: 20px 5px;
}

.review-card {
    flex: 0 0 calc(100% / 3 - 20px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.review-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #FFD700;
    object-fit: cover;
}

.review-info h4 {
    color: #FFD700;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.review-info span {
    color: #ccc;
    font-size: 0.9rem;
}

.review-rating {
    margin-bottom: 20px;
}

.review-rating i {
    color: #FFD700;
    font-size: 1.1rem;
    margin-right: 3px;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

.review-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.review-hotel {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    gap: 15px;
}

.review-hotel img {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.review-hotel span {
    color: #FFD700;
    font-size: 0.9rem;
    font-weight: 500;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    color: #FFD700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: #FFD700;
    color: #000;
}

.prev-arrow {
    left: -25px;
}

.next-arrow {
    right: -25px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .review-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
