/* General Styles */
body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
}

/* Headings - Cairo Font */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 700;
}

/* Main Headings - Extra Bold */
h1, .h1, .display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
}

/* Buttons and Important Text */
.btn, .navbar-brand, .card-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* Regular Text */
p, span, a, li, label, input, textarea, select {
    font-family: 'Tajawal', sans-serif;
}

/* Logo Styling */
.site-logo {
    max-height: 80px;
    height: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    padding: 0.7rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #667eea !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.navbar-nav .nav-link i {
    margin-left: 5px;
}

/* Slider Styles */
.slider-section {
    position: relative;
    width: 100%;
}

.carousel-slide {
    min-height: 400px;
    height: 60vh; /* يتغير حسب ارتفاع الشاشة */
    max-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* تحسين جودة الصورة على الشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-image {
        image-rendering: auto;
    }
}

.slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   /* background: rgba(0, 0, 0, 0.3); */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-overlay .container {
    width: 100%;
    height: 100%;
}

.carousel-overlay .row {
    height: 100%;
    min-height: 100%;
}

.carousel-item {
    width: 100%;
    height: auto;
}

.carousel-inner {
    width: 100%;
    overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-inner {
    width: 100%;
}

/* Booking Section */
.booking-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-block;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.card {
    border-radius: 15px;
    border: none;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer h5 {
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

footer .social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    background-color: #667eea !important;
    border-color: #667eea !important;
}

footer .map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer .map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

footer .footer-logo {
    max-height: 60px;
    height: auto;
    max-width: 200px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.text-white-50 {
    opacity: 0.8;
}

.text-white-50:hover {
    opacity: 1;
}

/* ==================== Banner Section ==================== */
.banner-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-top: 3rem;
}

.banner-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-wrapper {
    max-width: 976px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: -25px 25px 50px rgba(0, 0, 0, 0.2);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== Booking & Policies Section ==================== */
.booking-policies-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.booking-policies-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.booking-policies-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.booking-policies-section .row {
    position: relative;
    z-index: 1;
}

.policies-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(13, 110, 253, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.policies-header .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.5rem;
    font-family: 'Cairo', sans-serif;
}

.policies-header .section-title i {
    margin-left: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Modern Tabs Styling */
.policies-tabs {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 8px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.policies-tabs .nav-item {
    flex: 1;
}

.policies-tabs .nav-link {
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Cairo', sans-serif;
}

.policies-tabs .nav-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.policies-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.policies-tabs .nav-link:hover i {
    transform: scale(1.2);
}

.policies-tabs .nav-link.active {
    background: white;
    color: #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* Tab Content Styling */
.policies-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-box {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-right: 5px solid #0d6efd;
    line-height: 1.8;
    font-size: 1rem;
    color: #495057;
    max-height: 700px;
    min-height: 450px;
    overflow-y: auto;
}

.policy-box::-webkit-scrollbar {
    width: 8px;
}

.policy-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.policy-box::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.policy-box::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.policy-box h2,
.policy-box h3,
.policy-box h4 {
    color: #0d6efd;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
}

.policy-box h2 {
    font-size: 1.4rem;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.policy-box h3 {
    font-size: 1.2rem;
}

.policy-box h4 {
    font-size: 1.1rem;
}

.policy-box ul,
.policy-box ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.policy-box li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-right: 10px;
}

.policy-box li::before {
    content: '◆';
    color: #0d6efd;
    font-weight: bold;
    position: absolute;
    right: -20px;
}

.policy-box p {
    margin-bottom: 1rem;
}

.policy-box strong,
.policy-box b {
    color: #212529;
    font-weight: 700;
}

/* Hover Effects */
.policy-box {
    transition: all 0.3s ease;
}

.tab-pane.active .policy-box {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */

/* للشاشات الكبيرة جداً (Large Desktops) */
@media (min-width: 1400px) {
    .carousel-slide {
        min-height: 500px;
        height: 65vh;
        max-height: 700px;
    }
    
    .carousel-image {
        object-fit: cover;
    }
}

/* للأجهزة اللوحية (Tablets) */
@media (max-width: 992px) and (min-width: 769px) {
    .carousel-slide {
        min-height: 400px;
        height: 60vh;
        max-height: 550px;
    }
    
    .carousel-image {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    .carousel-slide .container {
        padding: 20px;
    }
}

/* للموبايل (Mobile) - 577px to 768px */
@media (max-width: 768px) and (min-width: 577px) {
    .carousel-slide {
        min-height: 300px;
        height: 45vh;
        max-height: 400px;
    }
    
    .carousel-image {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .carousel-slide .container {
        padding: 15px;
    }
    
    .carousel-slide .row {
        min-height: auto !important;
    }
    
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .lead {
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .booking-section {
        margin-top: 0;
    }
    
    /* Logo responsive */
    .site-logo {
        max-height: 60px;
        max-width: 180px;
    }
    
    footer .footer-logo {
        max-height: 50px;
        max-width: 150px;
    }
    
    /* Policies Responsive */
    .policies-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .policies-header .section-title {
        font-size: 1.5rem;
    }
    
    .policies-tabs {
        padding: 6px;
    }
    
    .policies-tabs .nav-link {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .policies-tabs .nav-link i {
        font-size: 1.1rem;
    }
    
    .policy-box {
        padding: 1.2rem;
        font-size: 0.9rem;
        max-height: 400px;
    }
    
    .policy-box h2 {
        font-size: 1.2rem;
    }
    
    .policy-box h3 {
        font-size: 1.1rem;
    }
    
    .policy-box h4 {
        font-size: 1rem;
    }
}
    
    /* Banner Responsive */
    .banner-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .banner-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-wrapper {
        box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.15);
    }
}

/* للهواتف الصغيرة جداً (Extra Small - less than 576px) */
@media (max-width: 576px) {
    .carousel-slide {
        min-height: 250px !important;
        height: 40vh !important;
        max-height: 350px !important;
    }
    
    .carousel-image {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .carousel-slide .display-4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .carousel-slide .lead {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .carousel-slide .btn-lg {
        padding: 0.4rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .carousel-overlay {
        padding: 10px 0;
    }
    
    .carousel-slide .col-lg-8 {
        padding: 0 10px;
    }
    
    .carousel-slide .container {
        padding: 10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
        opacity: 0.5;
    }
    
    .carousel-indicators {
        margin-bottom: 0.5rem;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .booking-section {
        margin-top: 0;
    }
}

/* للشاشات الصغيرة جداً (Very Small - less than 400px) */
@media (max-width: 400px) {
    .carousel-slide {
        min-height: 220px !important;
        height: 35vh !important;
        max-height: 300px !important;
    }
    
    .carousel-image {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .carousel-slide .display-4 {
        font-size: 1rem !important;
    }
    
    .carousel-slide .lead {
        font-size: 0.8rem !important;
    }
    
    .carousel-slide .btn-lg {
        padding: 0.3rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .carousel-slide .container {
        padding: 8px;
    }
}

