/* =====================================================
   AZAL Airlines - Homepage Styles
   ===================================================== */

/* ========== PREMIUM HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

@keyframes kenBurnsHero {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 12, 36, 0.4) 0%, rgba(2, 12, 36, 0.2) 40%, rgba(2, 12, 36, 0.95) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 60px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-text {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-text h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    text-shadow: 0 10px 30px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
}

.hero-text h1 span {
    display: block;
    background: linear-gradient(90deg, #f7d566, #d4a017, #f7d566);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Inter', var(--font-english);
    font-weight: 900;
    font-size: 5.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: shineText 4s linear infinite;
    text-shadow: none;
    margin-top: 10px;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.8;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== PREMIUM GLASSMORPHISM SEARCH FORM ========== */
.hero-search {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    transform: translateY(40px);
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(80px); }
    100% { opacity: 1; transform: translateY(40px); }
}

.search-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.search-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    padding: 0 var(--space-6);
}

.search-tab {
    padding: var(--space-5) var(--space-8);
    font-size: 1.1rem;
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    font-family: var(--font-arabic);
}

.search-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
    color: #f7d566;
    font-weight: var(--font-bold);
    background: rgba(255, 255, 255, 0.1);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f7d566;
    box-shadow: 0 -2px 10px rgba(247, 213, 102, 0.6);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 30px;
    background: #ffffff;
    margin: 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.search-field {
    position: relative;
}

.search-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0a1f4a;
    margin-bottom: 8px;
}

.search-field .field-icon {
    position: relative;
    border: 2px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    background: #f8fafd;
    transition: all 0.3s ease;
}

.search-field .field-icon:focus-within {
    border-color: #d4a017;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.search-field .field-icon svg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4a017;
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font-arabic);
    font-weight: 600;
    color: var(--color-text);
    outline: none;
}

.search-field-btn {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.search-btn {
    height: 56px;
    padding: 0 35px;
    background: linear-gradient(135deg, #0a1f4a, #1a3673);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: var(--font-bold);
    font-family: var(--font-arabic);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    margin-top: 26px;
    box-shadow: 0 8px 20px rgba(10, 31, 74, 0.3);
}

.search-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #1a3673, #0a1f4a);
    box-shadow: 0 12px 25px rgba(10, 31, 74, 0.4);
}

@media (max-width: 1024px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .search-field-btn {
        grid-column: 1 / -1;
    }
    .search-btn {
        width: 100%;
        margin-top: 10px;
    }
    .hero-text h1 span { font-size: 4rem; }
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h1 span { font-size: 3rem; }
    .hero-text p { font-size: 1.1rem; }
}

/* ========== ABOUT HOME SECTION ========== */
.about-home {
    padding: var(--space-16) 0 0 0;
    direction: rtl;
}

.about-home-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-home-text {
    flex: 1;
}

.section-subtitle {
    color: #d4a017;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: 50px;
}

.about-home-text .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #020c24;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-home-text p {
    font-size: 1.1rem;
    color: #6c7a9c;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1f4a;
}

.about-features li svg {
    width: 24px;
    height: 24px;
    color: #d4a017;
    background: rgba(212, 160, 23, 0.15);
    border-radius: 50%;
    padding: 4px;
}

.btn-primary-home {
    display: inline-block;
    background: linear-gradient(135deg, #0a1f4a, #1a3673);
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(10, 31, 74, 0.15);
}

.btn-primary-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 31, 74, 0.25);
    color: #d4a017;
}

.about-home-image {
    flex: 1;
    position: relative;
}

.about-home-image .main-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(10, 31, 74, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, #d4a017, #e6b32b);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #020c24;
    box-shadow: 0 15px 30px rgba(212, 160, 23, 0.4);
    border: 5px solid #ffffff;
}

.experience-badge .num {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .about-home-layout {
        flex-direction: column;
        gap: 40px;
    }
    .experience-badge {
        right: 20px;
        bottom: -20px;
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .about-home-text .section-title {
        font-size: 2rem;
    }
}

/* ========== WHY CHOOSE US SECTION (HOME) ========== */
.why-choose-us-home {
    padding: var(--space-16) 0;
    background: #ffffff;
    direction: rtl;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-center .section-subtitle {
    margin-bottom: 15px;
}

.section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #020c24;
    margin-bottom: 15px;
}

.section-header-center p {
    color: #6c7a9c;
    font-size: 1.1rem;
}

.features-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card-home {
    background: #f4f7fa;
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.feature-card-home:hover {
    background: #ffffff;
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 20px 40px rgba(10, 31, 74, 0.08);
    transform: translateY(-10px);
}

.feature-icon-home {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a017;
    box-shadow: 0 10px 20px rgba(10, 31, 74, 0.05);
    transition: all 0.3s ease;
}

.feature-card-home:hover .feature-icon-home {
    background: #0a1f4a;
    color: #d4a017;
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-home svg {
    width: 35px;
    height: 35px;
    stroke-width: 1.5;
}

.feature-card-home h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #020c24;
    margin-bottom: 15px;
}

.feature-card-home p {
    color: #6c7a9c;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .features-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid-home {
        grid-template-columns: 1fr;
    }
}

/* ========== OFFERS SECTION ========== */
.offers-section {
    padding: var(--space-16) 0 var(--space-16);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.section-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: 0;
}

.section-header .view-all {
    font-size: var(--text-sm);
    color: var(--color-accent);
    font-weight: var(--font-medium);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.section-header .view-all:hover {
    gap: var(--space-3);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.offer-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.offer-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.offer-card:hover .offer-card-img {
    transform: scale(1.05);
}

.offer-card-overlay {
    overflow: hidden;
}

.offer-card-body {
    padding: var(--space-4) var(--space-5);
}

.offer-card-city {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.offer-card-price {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.offer-card-price strong {
    color: var(--color-accent-dark);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
}

/* ========== SERVICES HOME SECTION ========== */
.services-home {
    padding: var(--space-12) 0 var(--space-16);
    background: var(--color-bg);
}

.services-home h2 {
    margin-bottom: var(--space-8);
    text-align: right;
    font-size: var(--text-xl);
    color: var(--color-text);
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-5);
}

.service-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-4) var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.service-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.15);
    transform: translateY(-5px);
}

.service-item .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.service-item .service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent);
}

.service-item:hover .service-icon {
    background: var(--color-accent);
    color: #fff;
}

.service-item:hover .service-icon svg {
    stroke: #fff;
}

.service-item h4 {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
    color: var(--color-primary);
}

.service-item p {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

/* ========== APP DOWNLOAD SECTION ========== */
.app-section {
    overflow: hidden;
    background: #0b1c3d;
    margin-bottom: 0;
    padding: 0;
}

.app-banner-link {
    display: block;
    line-height: 0;
    transition: opacity var(--transition-base);
}

.app-banner-link:hover {
    opacity: 0.95;
}

.app-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid-home { grid-template-columns: repeat(3, 1fr); }
    .search-form { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); padding: var(--space-4); }
    .search-field { border-left: none; padding: 0; }
    .search-field input, .search-field select { 
        border: 1.5px solid var(--color-border); 
        border-radius: var(--radius-md); 
        padding: var(--space-3) var(--space-4); 
        padding-right: var(--space-10); 
    }
    .search-field .field-icon svg { right: 12px; }
}

@media (max-width: 768px) {
    /* Hero */
    .hero { min-height: 70vh; margin-bottom: 20px; }
    .hero-container { padding-top: 40px; padding-bottom: 20px; }
    .hero-content { text-align: center; margin-bottom: 20px; max-width: 100%; }
    .hero-image { display: none; }
    .hero-text h1 { font-size: 1.6rem; line-height: 1.4; }
    .hero-text h1 span { font-size: 2.5rem; letter-spacing: 2px; }
    .hero-text p { font-size: 0.95rem; line-height: 1.6; }
    .hero-overlay { background: linear-gradient(to bottom, rgba(11, 28, 61, 0.5) 0%, rgba(11, 28, 61, 0.95) 100%); }
    
    /* Search */
    .hero-search { margin-top: 0; transform: translateY(20px); }
    .search-box { border-radius: var(--radius-lg); margin: 0 5px; }
    .search-tabs { gap: 0; padding: 0; }
    .search-tabs button, .search-tab { font-size: 0.8rem; padding: 10px 12px; }
    .search-form { grid-template-columns: 1fr; gap: 12px; padding: 15px; margin: 10px; }
    .search-field-btn { grid-column: 1 / -1; }
    .search-btn { width: 100%; padding: 12px; font-size: 0.95rem; margin-top: 5px; height: 48px; }
    .search-field label { font-size: 0.8rem; margin-bottom: 5px; }
    .search-field input, .search-field select { padding: 12px 40px 12px 12px; font-size: 0.9rem; }
    
    /* About Section */
    .about-home { padding: var(--space-10) 0; }
    .about-home-layout { flex-direction: column; gap: 30px; }
    .about-home-text .section-title { font-size: 1.6rem; }
    .about-home-text p { font-size: 0.95rem; }
    .about-features li { font-size: 0.9rem; }
    .btn-primary-home { padding: 12px 25px; font-size: 0.95rem; }
    .experience-badge { right: 10px; bottom: -15px; width: 100px; height: 100px; }
    .experience-badge .num { font-size: 1.8rem; }
    .experience-badge .text { font-size: 0.75rem; }
    
    /* Why Choose Us */
    .why-choose-us-home { padding: var(--space-10) 0; }
    .section-header-center { margin-bottom: 30px; }
    .section-header-center h2 { font-size: 1.6rem; }
    .section-header-center p { font-size: 0.9rem; }
    .features-grid-home { grid-template-columns: 1fr; gap: 15px; }
    .feature-card-home { padding: 30px 20px; }
    .feature-card-home h3 { font-size: 1.1rem; }
    .feature-card-home p { font-size: 0.85rem; }
    .feature-icon-home { width: 60px; height: 60px; margin-bottom: 15px; }
    .feature-icon-home svg { width: 28px; height: 28px; }
    
    /* Offers */
    .offers-section { padding: var(--space-10) 0; }
    .offers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .offer-card-img { height: 130px; }
    .offer-card-body { padding: 10px 12px; }
    .offer-card-city { font-size: 0.95rem; }
    .offer-card-price { font-size: 0.8rem; }
    .section-header h2 { font-size: 1.3rem; }
    
    /* Services */
    .services-home { padding: var(--space-8) 0; }
    .services-grid-home { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .service-item { padding: var(--space-4) var(--space-2) var(--space-3); }
    .service-item .service-icon { width: 48px; height: 48px; }
    .service-item .service-icon svg { width: 22px; height: 22px; }
    .service-item h4 { font-size: 0.75rem; }
    .service-item p { font-size: 0.65rem; display: none; }
}

@media (max-width: 480px) {
    /* Hero */
    .hero { min-height: 65vh; margin-bottom: 10px; }
    .hero-container { padding-top: 30px; }
    .hero-text h1 { font-size: 1.3rem; line-height: 1.4; }
    .hero-text h1 span { font-size: 2rem; letter-spacing: 1px; }
    .hero-text p { font-size: 0.85rem; }
    .hero-content { margin-bottom: 15px; }
    
    /* Search */
    .search-form { padding: 10px; margin: 8px; gap: 10px; }
    .search-tabs { flex-wrap: wrap; justify-content: center; }
    .search-tab { font-size: 0.75rem; padding: 8px 10px; }
    .search-btn { height: 44px; font-size: 0.9rem; }
    
    /* About */
    .about-home { padding: var(--space-8) 0; }
    .about-home-text .section-title { font-size: 1.4rem; }
    .about-home-text p { font-size: 0.85rem; }
    .section-subtitle { font-size: 0.85rem; padding: 4px 12px; }
    
    /* Why Choose Us */
    .section-header-center h2 { font-size: 1.4rem; }
    .feature-card-home { padding: 25px 15px; border-radius: 16px; }
    
    /* Offers */
    .offers-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .offer-card-img { height: 110px; }
    .offer-card-body { padding: 8px 10px; }
    .offer-card-city { font-size: 0.85rem; }
    .offer-card-price { font-size: 0.7rem; }
    .offer-card-price strong { font-size: 0.9rem; }
    
    /* Services */
    .services-grid-home { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .service-item { padding: var(--space-3) var(--space-2); border-radius: 12px; }
    .service-item .service-icon { width: 40px; height: 40px; margin-bottom: 8px; }
    .service-item .service-icon svg { width: 18px; height: 18px; }
    .service-item h4 { font-size: 0.7rem; margin-bottom: 0; }
}

