/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.1); /* شفافية 90% */
    backdrop-filter: blur(20px); /* تأثير ضبابي للخلفية */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    background-color: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #374151;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #374151;
}

.admin-btn {
    background: #374151;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: white;
    color: white;
    padding: 0rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #374151;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .material-icons {
    font-size: 3rem;
    color: #374151;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Carousel Header */
.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
    position: relative;
}

.carousel-title {
    flex: 1;
    text-align: center;
}

.carousel-header .mainHeading {
    margin-bottom: 0;
    text-align: center;
}

/* إخفاء الأسهم العلوية تماماً */
.carousel-controls-top {
    display: none !important;
}

/* Main Heading Styles */
.mainHeading {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.mainHeading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.mainHeading p {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Carousel Container */
.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
}

.empire_swiperWrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.empire-homeSpacing {
    padding: 0 1rem;
}

.hybrid_heroWrap {
    margin: 1rem 0;
}

/* Custom Carousel */
.custom-carousel {
    position: relative;
}

.carousel-content {
    position: relative;
}

.carousel-container-inner {
    display: flex;
    align-items: center;
    position: relative;
}

/* Carousel Items */
.carousel-items-content {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0;
}

.carousel-items-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}

/* Hybrid Card Styles */
.hybrid_cardWrap {
    height: 100%;
}

.hybrid_card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hybrid_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: visible;
    border-radius: 12px 12px 0 0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.hybrid_card:hover .image-container img {
    transform: scale(1.05);
}

/* Duration Badge - ألوان رمادية غامقة */
.duration-badge {
    position: absolute;
    bottom: -12px;
    left: 12px;
    display: flex;
    gap: 0.75rem;
}

.duration-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.duration-item svg {
    flex-shrink: 0;
    color: white;
}

/* Card Content Styles */
.hybrid_cardContent {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-main {
    flex: 1;
}

.hybrid_cardContent h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

/* Card Features */
.card-features {
    margin-bottom: 0.25rem;
}

.feature-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.125rem;
}

.hybrid_class {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.hybrid_class svg {
    flex-shrink: 0;
}

.hybrid_hotelCom {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
    width: 100%;
    margin-bottom: 0.25rem;
}

.hybrid_hotelAdd {
    color: #374151;
    font-weight: 500;
    flex: 1;
}

/* Star Badge Styles */
.star-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}

.star-rating {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffb300;
}

.star-badge .material-icons.star {
    font-size: 0.75rem;
    color: #ffb300;
}

/* Features Description */
.feature-desc {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin: 0.25rem 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.feature-desc .material-icons {
    font-size: 1rem;
    color: #d4af37;
    font-weight: normal;
}

/* Divider */
.divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0 1rem 0;
}

/* Card List Styles */
.hybrid_cardList {
    margin: 0.25rem 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.service-item .check-icon {
    font-size: 0.875rem;
    color: #28a745;
}

/* Card Price Styles */
.hybrid_cardPrice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    margin-top: auto;
}

.price-left .starting-from {
    font-size: 0.8rem;
    font-weight: 500;
    color: #666;
}

.price-right {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.price-per {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
}

/* Card Details Link */
.card-details-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 0 0 12px 12px;
    margin-top: auto;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    height: 30px;
}

.card-details-link:hover {
    background: #34495e;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0 0;
    padding: 0;
    list-style: none;
}

.carousel-indicator {
    margin: 0;
}

.indicator-btn {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active .indicator-btn {
    background: #374151;
    transform: scale(1.2);
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* تصميم أزرار الأسهم */
.carousel-btn, .carousel-nav-btn {
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-btn::before, .carousel-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #374151 0%, #1e3a8a 100%);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-btn:hover::before, .carousel-nav-btn:hover::before {
    left: 0;
}

.carousel-btn:hover, .carousel-nav-btn:hover {
    border-color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.carousel-btn svg, .carousel-nav-btn svg {
    color: #374151;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.carousel-btn:hover svg, .carousel-nav-btn:hover svg {
    color: white;
}

/* الكمبيوتر - الأسهم فوق الصور */
@media (min-width: 769px) {
    .carousel-navigation-overlay {
        position: absolute;
        top: -2rem;
        right: 0;
        display: flex;
        gap: 0.5rem;
        z-index: 10;
    }
    
    .carousel-nav-btn {
        width: 3rem;
        height: 3rem;
    }
    
    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-controls-bottom {
        display: none;
    }
}

/* الموبايل - الأسهم في الأسفل */
@media (max-width: 768px) {
    .carousel-navigation-overlay {
        display: none;
    }
    
    .carousel-controls-bottom {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .carousel-controls-bottom .carousel-btn {
        width: 3rem;
        height: 3rem;
    }
    
    .carousel-controls-bottom .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    .empire-homeSpacing {
        padding: 0 1rem;
    }
    
    .carousel-header {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .mainHeading h2 {
        font-size: 2rem;
    }
    
    .mainHeading p {
        font-size: 1rem;
    }
    
    .empire-homeSpacing {
        padding: 0 0.5rem;
    }
    
    .hybrid_heroWrap {
        margin: 1rem 0;
    }
    
    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 0.5rem;
        position: relative;
    }
    
    .carousel-header .mainHeading {
        text-align: center;
        width: 100%;
    }
    
    .carousel-header .mainHeading h2 {
        font-size: 1.75rem;
    }
    
    .carousel-header .mainHeading p {
        font-size: 1rem;
    }
    
    .hybrid_cardContent {
        padding: 1rem;
    }
    
    .image-container {
        height: 180px;
    }
    
    .feature-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .star-badge {
        margin-left: 0;
        margin-top: 0.25rem;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .duration-badge {
        bottom: -10px;
        left: 8px;
        gap: 0.5rem;
    }
    
    .duration-item {
        font-size: 0.7rem;
        padding: 0.375rem 0.625rem;
    }
    
    .hybrid_cardContent h4 {
        font-size: 1rem;
    }
    
    .price-amount {
        font-size: 0.9rem;
    }
    
    .carousel-header {
        gap: 0.75rem;
    }
    
    .carousel-header .mainHeading h2 {
        font-size: 1.5rem;
    }
    
    .carousel-header .mainHeading p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item {
    animation: fadeIn 0.5s ease-out;
}

/* Focus styles for accessibility */
.carousel-btn:focus-visible,
.indicator-btn:focus-visible,
.carousel-nav-btn:focus-visible {
    outline: 2px solid #374151;
    outline-offset: 2px;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #374151 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}