/* ملف CSS مخصص - تم إنشاؤه تلقائياً */
:root {
}


/* تطبيق الألوان المخصصة */
.btn-primary {
    background-color: var(--primary_color);
    border-color: var(--primary_color);
}

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

.text-primary {
    color: var(--primary_color) !important;
}

.bg-primary {
    background-color: var(--primary_color) !important;
}

.border-primary {
    border-color: var(--primary_color) !important;
}

a {
    color: var(--link_color);
}

a:hover {
    color: var(--secondary_color);
}

.navbar-brand,
.sitename {
    color: var(--primary_color) !important;
}

.accent-color {
    color: var(--accent_color) !important;
}

.bg-accent {
    background-color: var(--accent_color) !important;
}

/* Gallery Showcase Styles */
.gallery-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.gallery-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/><circle cx="10" cy="60" r="1" fill="%23000" opacity="0.02"/><circle cx="90" cy="40" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.main-gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    filter: brightness(1) contrast(1.05) saturate(1.1);
}

.main-image-wrapper:hover .main-gallery-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.main-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.main-image-wrapper:hover .main-image-overlay {
    transform: translateY(0);
}

.main-image-wrapper:hover .main-gallery-img {
    transform: scale(1.05);
}

.image-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.image-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.main-zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-zoom-btn:hover {
    background: white;
    transform: scale(1.1);
    color: var(--accent-color);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    color: var(--accent-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.thumbnail-gallery {
    max-width: 900px;
    margin: 0 auto 30px;
}

.thumbnail-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.thumbnail-item {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail-item:hover::before {
    opacity: 1;
}

.thumbnail-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(var(--accent-color), 0.3);
}

.thumbnail-item.active {
    border-color: var(--accent-color);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.thumbnail-item.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid var(--accent-color);
    border-radius: 13px;
    animation: pulse 2s infinite;
}

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

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
}

.image-counter {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thumbnail-item {
    animation: fadeInUp 0.6s ease forwards;
}

.thumbnail-item:nth-child(1) { animation-delay: 0.1s; }
.thumbnail-item:nth-child(2) { animation-delay: 0.2s; }
.thumbnail-item:nth-child(3) { animation-delay: 0.3s; }
.thumbnail-item:nth-child(4) { animation-delay: 0.4s; }
.thumbnail-item:nth-child(5) { animation-delay: 0.5s; }
.thumbnail-item:nth-child(6) { animation-delay: 0.6s; }
.thumbnail-item:nth-child(7) { animation-delay: 0.7s; }
.thumbnail-item:nth-child(8) { animation-delay: 0.8s; }

/* Tours Page - Featured Dot Styles */
.tour-badge.featured-dot {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    z-index: 5;
    animation: goldenPulse 2s infinite;
}

.tour-badge.featured-dot::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    opacity: 0.3;
    animation: goldenGlow 2s infinite;
}

@keyframes goldenPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(255, 215, 0, 0.6);
    }
}

@keyframes goldenGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-image-wrapper {
        height: 350px;
    }

    .main-image-overlay {
        padding: 20px 20px 20px;
    }

    .image-info h3 {
        font-size: 1.4rem;
    }

    .image-info p {
        font-size: 0.9rem;
    }

    .thumbnail-item {
        width: 80px;
        height: 60px;
    }

    .thumbnail-container {
        gap: 10px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .main-zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Testimonials Gallery Styles */
.testimonials-gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-slider {
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-item {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-item .stars {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-item .stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--default-color);
    margin-bottom: 30px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 400;
    opacity: 0.8;
}

.testimonial-counter {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonial-item {
        padding: 40px 20px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .testimonials-navigation {
        padding: 0 10px;
    }
}
