/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.hero-stats {
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.stat-item i {
    font-size: 1.3rem;
}

.book-now-hero {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background-color: #860c7e;
    border-color: #860c7e;
    box-shadow: 0 4px 15px rgba(134, 12, 126, 0.3);
    transition: all 0.3s ease;
}

.book-now-hero:hover {
    background-color: #6a0a62;
    border-color: #6a0a62;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(134, 12, 126, 0.4);
}

/* Workshop Highlights */
.highlights-section {
    background-color: #f8f9fa;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.highlight-icon {
    font-size: 3rem;
    color: #860c7e;
    margin-bottom: 1rem;
}

.highlight-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.highlight-description {
    color: #666;
    font-size: 0.95rem;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #860c7e;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #860c7e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.timeline-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-time {
    font-weight: 600;
    color: #860c7e;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    font-size: 0.95rem;
}

/* Quick Info Card */
.quick-info-card {
    top: 20px;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-item i {
    margin-top: 0.2rem;
}

/* Included Items */
.included-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.included-icon {
    font-size: 2rem;
    color: #860c7e;
}

.included-text {
    flex: 1;
}

.included-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.included-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* FAQ Section */
.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Sticky Booking Button (Mobile) */
.sticky-booking-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.sticky-booking-mobile button {
    font-size: 1.1rem;
    padding: 0.75rem;
    background-color: #860c7e;
    border-color: #860c7e;
}

.sticky-booking-mobile button:hover {
    background-color: #6a0a62;
    border-color: #6a0a62;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 5px;
    }
    
    /* RTL mobile adjustments */
    [dir="rtl"] .timeline::before {
        left: auto;
        right: 15px;
    }
    
    [dir="rtl"] .timeline-item {
        padding-left: 0;
        padding-right: 50px;
    }
    
    [dir="rtl"] .timeline-marker {
        left: auto;
        right: 5px;
    }
    
    /* Add padding bottom to account for sticky button */
    body {
        padding-bottom: 80px;
    }
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Custom Button Styles */
.btn-primary {
    background-color: #860c7e;
    border-color: #860c7e;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #6a0a62;
    border-color: #6a0a62;
}

/* Enhanced Description */
#detailed-description {
    line-height: 1.8;
}

#detailed-description strong {
    color: #860c7e;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

#detailed-description ul {
    margin-left: 0;
    padding-left: 1.5rem;
}

#detailed-description li {
    margin-bottom: 0.5rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* RTL Support */
/* General RTL adjustments */
[dir="rtl"] .hero-stats {
    direction: rtl;
}

[dir="rtl"] .stat-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content {
    text-align: center;
}

/* Timeline RTL adjustments */
[dir="rtl"] .timeline::before {
    left: auto;
    right: 20px;
}

[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 60px;
}

[dir="rtl"] .timeline-marker {
    left: auto;
    right: 10px;
}

/* Info items RTL adjustments */
[dir="rtl"] .info-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .info-item i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Included items RTL adjustments */
[dir="rtl"] .included-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .included-icon {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .included-text {
    text-align: right;
}

/* Button icons RTL adjustments */
[dir="rtl"] .btn i.me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* Highlight cards RTL adjustments */
[dir="rtl"] .highlight-card {
    text-align: center;
}

/* FAQ RTL adjustments */
[dir="rtl"] .accordion-button {
    text-align: right;
}

[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}

/* Description section RTL adjustments */
[dir="rtl"] #detailed-description {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] #detailed-description ul {
    margin-right: 0;
    padding-right: 1.5rem;
    margin-left: 0;
    padding-left: 0;
}

/* Card body RTL adjustments */
[dir="rtl"] .card-body {
    text-align: right;
}

/* Section headings RTL adjustments */
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
    text-align: right;
}

/* Sticky booking mobile RTL adjustments */
[dir="rtl"] .sticky-booking-mobile button i {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* Font selection for better Arabic support */
[dir="rtl"] body {
    font-family: 'Rubik', 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* Additional RTL-specific spacing adjustments */
[dir="rtl"] .container,
[dir="rtl"] .container-fluid {
    direction: rtl;
}

/* Gallery items RTL */
[dir="rtl"] .gallery-item {
    text-align: right;
}

/* Bootstrap overrides for RTL */
[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* Fix floating elements for RTL */
[dir="rtl"] .float-start {
    float: right !important;
}

[dir="rtl"] .float-end {
    float: left !important;
}

/* Additional comprehensive RTL fixes */
[dir="rtl"] .hero-stats .stat-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .stat-item i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Fix navbar and navigation items for RTL */
[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Fix accordion arrows for RTL */
[dir="rtl"] .accordion-button:not(.collapsed)::after {
    transform: rotate(-90deg);
}

[dir="rtl"] .accordion-button.collapsed::after {
    transform: rotate(90deg);
}

/* Fix gallery grid for RTL */
[dir="rtl"] .gallery-container {
    direction: rtl;
}

/* Fix list markers for RTL */
[dir="rtl"] ul,
[dir="rtl"] ol {
    text-align: right;
    padding-right: 1.5rem;
    padding-left: 0;
}

/* Fix flex items alignment for RTL */
[dir="rtl"] .d-flex {
    flex-direction: row-reverse;
}

[dir="rtl"] .justify-content-start {
    justify-content: flex-end !important;
}

[dir="rtl"] .justify-content-end {
    justify-content: flex-start !important;
}