/* Global CSS Variables */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #374151;
    --light-bg: #f9fafb;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Custom Styles */
.navbar {
    transition: all 0.3s ease-in-out;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    max-height: 120px; /* أو أي ارتفاع مناسب لك */
    /* overflow: hidden; */
}

.navbar.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Logo adjustments */
.navbar-brand img {
    max-height: 100px; /* أقل من max-height للnavbar */
    width: auto;
    object-fit: contain; /* تحافظ على نسب الصورة */
    transition: transform 0.3s ease;
    margin-right: 1rem !important;
}

.navbar-brand .logo-placeholder {
    background: none !important;
    border-radius: 0 !important;
}
.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand span {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation links */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Language dropdown */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.15rem 0;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

/* Book Now button in nav */
#bookNowBtn {
    padding: 0.6rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#bookNowBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Navbar toggler */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2859, 130, 246, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

/* Mobile menu adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .navbar-nav {
        margin-bottom: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link.active::after {
        left: 0.5rem;
        right: 0.5rem;
    }
    
    .dropdown,
    #bookNowBtn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .btn-outline-primary,
    #bookNowBtn {
        width: 100%;
        justify-content: center;
    }
    
    .dropdown-menu {
        width: 100%;
        position: static !important;
        transform: none !important;
        margin-top: 0.5rem;
    }
}

/* Modal styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

/* Scrolled navbar */
.navbar-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Add smooth scroll padding */
html {
    scroll-padding-top: 80px;
}

/* Custom Utility Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    color: white;
}

.btn-primary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    color: white;
}

.btn-secondary:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.card-hover {
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Smooth Page Transitions */
.page-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s, transform 0.5s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Accessibility Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-to-content:focus {
    position: fixed;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    margin: 0.5rem;
    clip: auto;
    background: var(--primary-color);
    color: white;
    z-index: 9999;
    top: 0.5rem;
    left: 0.5rem;
    border-radius: 0.375rem;
}

/* Bootstrap Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.text-gray-600 {
    color: #6b7280 !important;
}

/* Container fixes */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Display utilities */
.display-3 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-5 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.display-6 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Spacing utilities */
.py-8 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.me-3 {
    margin-right: 0.75rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Footer Custom Styles */
footer {
    position: relative;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white !important;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .col-lg-4,
footer .col-lg-3,
footer .col-lg-2,
footer .col-md-4,
footer .col-md-6 {
    padding: 0 15px;
}


/* Social links */
footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    /* background: var(--primary-color); */
    transform: translateY(-3px);
}

/* Newsletter form */
footer .input-group {
    display: flex;
    flex-wrap: nowrap;
}

footer .form-control {
    flex: 1 1 auto;
    padding: 10px 15px;
    border: 1px solid #374151;
    border-radius: 8px 0 0 8px;
    background-color: #e4efff;
    color: white;
}

footer .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

footer .input-group button {
    border-radius: 0 8px 8px 0;
    padding: 10px 20px;
    white-space: nowrap;
}

footer a {
    color: #e5e7eb !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

footer .text-gray-400,
footer .text-muted {
    color: #9ca3af !important;
}

footer a.text-gray-400:hover,
footer .text-muted:hover {
    color: white !important;
}

footer a.text-gray-400:after,
footer .text-muted:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}


/* Contact icons */
footer .list-unstyled li i {
    color: var(--primary-color);
    min-width: 5px;
}
footer,
footer *:not(.btn):not(.footer-copy) {
    color: white !important;
}
footer .social-links a.facebook:hover { background: #1877f2; }
footer .social-links a.instagram:hover { background: #e4405f; }
footer .social-links a.tiktok:hover { background: #000407; }
footer .social-links a.whatsapp:hover { background: #25d366; }
/* استثناء الأزرار */
footer .btn {
    color: inherit !important;
}
footer .logo-placeholder {
    background: none !important;
    border-radius: 0 !important;

}

/* إصلاح تنسيق اللوجو في الفوتر */
footer .d-flex.align-items-center img {

    object-fit: contain;
    margin-right: 10px;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
        max-height: 100px;
    width: auto;
}
/* Logo adjustments for Footer */
footer .d-flex.align-items-center.mb-3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem !important;
}

footer .d-flex.align-items-center.mb-3 img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
}

footer .d-flex.align-items-center.mb-3 img:hover {
    transform: scale(1.05);
}

footer .d-flex.align-items-center.mb-3 h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


@media (max-width: 1199px) and (min-width: 992px) {
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 65px;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 1.9rem;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 60px;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 1.8rem;
    }
}


@media (max-width: 576px) {
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 50px;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 45px;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 1.4rem;
    }
}

/* Ensure the logo container has proper spacing */
footer .col-lg-4.mb-4 {
    display: flex;
    flex-direction: column;
}

/* Fix for the entire footer layout */
footer .container > .row {
    align-items: flex-start;
}

/* Adjust the footer description text */
footer .text-gray-400.mb-4 {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Make sure logo doesn't affect other elements */
footer .social-links {
    margin-top: 1.5rem;
}

/* Responsive adjustments for Footer Logo */
@media (min-width: 1200px) {
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 70px;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 2rem;
    }
}

/* Center navbar menu between logo and buttons on large screens */
@media (min-width: 992px) {
    .navbar-collapse {
        flex-grow: 0 !important;
    }
    
    .navbar-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Adjust spacing for better visual balance */
    .navbar-nav .nav-item {
        margin: 0 5px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}
/* Responsive adjustments */
@media (max-width: 991px) {
    footer .col-lg-4,
    footer .col-lg-3,
    footer .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    footer .col-lg-4,
    footer .col-lg-3,
    footer .col-lg-2,
    footer .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    footer .text-md-end {
        text-align: left !important;
    }
    
    footer .input-group {
        flex-direction: column;
    }
    
    footer .form-control {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    footer .input-group button {
        border-radius: 8px;
        width: 100%;
    }

        footer .d-flex.align-items-center.mb-3 {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    footer .d-flex.align-items-center.mb-3 img {
        max-height: 55px;
        margin: 0 auto !important;
    }
    
    footer .d-flex.align-items-center.mb-3 h3 {
        font-size: 1.6rem;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

}