/* General Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff9900;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --success-color: #28a745;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-outline-light:hover {
    color: var(--primary-color);
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.language-switcher button {
    border: none;
    padding: 5px 15px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switcher button.active {
    background: var(--primary-color);
    color: white;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-button, .phone-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-button {
    background-color: #25D366;
}

.phone-button {
    background-color: var(--primary-color);
}

.whatsapp-button:hover, .phone-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    color: var(--dark-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: url('https://external-preview.redd.it/iaiccNJ4sK2AORHWb_dGkhzUA36TiX1ViXik9USySyI.jpg?auto=webp&s=ccc232f5a7bf083b94fd82d430c5e93995548c8e') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Features Section */
.feature-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 30px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Destinations Section */
.destination-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.destination-card img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Tours Section */
.tour-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tour-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.tour-price span {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    color: var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter-form .form-control {
    height: 50px;
    border-radius: 4px 0 0 4px;
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
}

/* About Section */
.about-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.about-stats .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Contact Section */
.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-form .form-control {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.contact-form textarea {
    resize: none;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* RTL Styles for Arabic */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] .section-title:after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

body[dir="rtl"] .footer-title:after {
    left: auto;
    right: 0;
}

body[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

body[dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

body[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

body[dir="rtl"] .contact-item .contact-icon {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .feature-card, .destination-card, .tour-card, .testimonial-card {
        margin-bottom: 30px;
    }
    
    .newsletter-section .col-md-6 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control, 
    .newsletter-form .btn {
        border-radius: 4px;
        width: 100%;
    }
    
    .newsletter-form .btn {
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button, .phone-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}