/* Hero Section - Fixed */
.hero-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 89px;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 1;
    filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #34d399);
    top: 70%;
    right: 10%;
    animation-delay: 2s;
}

.floating-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSIxMjAiIHZpZXdCb3g9IjAgMCAxMjAwIDEyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAgMzQuN0MwIDM0LjcgMjU5IDAgNjAwIDBTMTIwMCAzNC43IDEyMDAgMzQuN1YxMjBIMFYzNC43WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+');
    background-size: 1200px 150px;
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

/* Hero Typography */
.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Services Section - Fixed */
.services-section {
    position: relative;
}

.service-card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(59, 130, 246, 0.1);
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.service-icon i {
    position: relative;
    z-index: 2;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.service-card:hover .service-icon::after {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Featured Tours Section - Fixed */
#featuredTours {
    min-height: 400px;
}

.tour-card {
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.tour-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image {
    transform: scale(1.1);
}

.tour-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tour-duration {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}



/* Testimonials Section - Fixed */
.testimonial-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-card p {
    position: relative;
    z-index: 2;
    font-style: italic;
    line-height: 1.7;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 1.1rem;
}

/* Newsletter Section - Fixed */
.newsletter-section {
    position: relative;
}

.newsletter-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 50px 50px 50px 50px;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.newsletter-card h2 {
    position: relative;
    z-index: 2;
}

.newsletter-card p {
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.newsletter-card .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px 20px;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.newsletter-card .form-control:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-card .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.newsletter-card .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Loading State */
.skeleton-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}
/* Locations Section Styles */
.locations-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.location-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.location-content {
    padding: 1.75rem;
}

.location-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.location-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    min-height: 60px;
}

.location-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.location-cta {
    display: flex;
    justify-content: center;
}

.location-cta .btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.location-cta .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.location-cta .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Loading State for Locations */
#locationsCards .skeleton-loading {
    height: 380px;
    border-radius: 20px;
}
/* إضافة تأثيرات للبطاقات عند التحويم */
.location-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 20px 20px 0 0;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image {
    transform: scale(1.1);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* تأثير عند النقر */
.view-tours-btn {
    transition: all 0.3s ease;
}

.view-tours-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* تأثير تحميل للصور */
.location-image {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .floating-element {
        display: none;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem !important;
    }
    
    .newsletter-card {
        padding: 2rem !important;
    }
        .location-card {
        margin-bottom: 1.5rem;
    }
    
    .location-image-container {
        height: 200px;
    }
    
    .location-content {
        padding: 1.5rem;
    }
    
    .location-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1 0 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .newsletter-card .input-group {
        flex-direction: column;
    }
    
    .newsletter-card .form-control,
    .newsletter-card .btn-light {
        width: 100%;
        border-radius: 8px;
        margin: 5px 0;
    }
        .location-content {
        padding: 1.25rem;
    }
    
    .location-stats {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .stat-item {
        width: 100%;
    }
}




/* Reviews Carousel Styles */
.reviews-carousel-section {
    background-color: #f8f9fa;
}

#reviewsCarousel {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    border-radius: 15px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    background-color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    margin-bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #6c757d;
}

.carousel-indicators button.active {
    background-color: #0d6efd;
}
