* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #134B70;
    --secondary-color: #3A4A55;
    --accent-color: #436378;
    --text-dark: #1E1E1E;
    --text-light: #5F5C5C;
    --white: #FFFFFF;
    --yellow-accent: #DBC42D;
    --overlay: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    background: var(--white);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 82px;
}

/* Hero Section */
.hero-flights {
    position: relative;
    height: 628px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: planeZoom 50s ease-in-out infinite alternate;
}

@keyframes planeZoom {
    0% {
        transform: scale(1) translateX(0);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.1) translateX(-2%);
        filter: brightness(1.05);
    }
    50% {
        transform: scale(1.15) translateX(1%);
        filter: brightness(1.1);
    }
    75% {
        transform: scale(1.08) translateX(-1%);
        filter: brightness(1.05);
    }
    100% {
        transform: scale(1.12) translateX(0);
        filter: brightness(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 2;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    animation: navSlideDown 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.5s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-150%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 80px;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.nav-link.active::before {
    width: 100%;
    background: var(--primary-color);
}

.cta-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    color: var(--primary-color);
}

/* Flights Section */
.flights-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 50%, #F8F9FA 100%);
}

.section-main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 64px;
    animation: titleFadeIn 1s ease-out;
    position: relative;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineExpand 1.5s ease-out;
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 150px; }
}

/* Flights Grid */
.flights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Flight Card */
.flight-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    transform: translateY(50px);
}

.flight-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.flight-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(19, 75, 112, 0.2);
}

.flight-image {
    position: relative;
    height: 601px;
    overflow: hidden;
}

.flight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.flight-card:hover .flight-image img {
    transform: scale(1.15) rotate(2deg);
}

.flight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: background 0.5s ease;
}

.flight-card:hover .flight-overlay {
    background: rgba(0, 0, 0, 0.35);
}

/* Flight Info */
.flight-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 52px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 12px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.flight-card:hover .flight-info {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(-50%) translateY(-10px);
}

.flight-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    transition: all 0.3s ease;
}

.flight-card:hover .flight-title {
    transform: scale(1.05);
}

.flight-subtitle {
    font-size: 20px;
    color: var(--accent-color);
    text-align: center;
}

.flight-description {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.flight-button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.flight-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.flight-button:hover::before {
    left: 100%;
}

.flight-button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(19, 75, 112, 0.3);
}

/* Footer */
.footer {
    position: relative;
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 99, 120, 0.85);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--white);
}

.footer-logo {
    height: 110px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    object-fit: contain;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 24px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-links img {
    width: 28px;
    height: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-phones {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 34px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(10px);
}

.newsletter h3 {
    margin-bottom: 56px;
}

.newsletter-form {
    display: flex;
    border: 0.5px solid #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 24px;
    color: var(--white);
    font-size: 20px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--white);
}

.newsletter-form button {
    background: var(--yellow-accent);
    border: none;
    padding: 15px 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .flights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-flights {
        height: 400px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 120px 20px 40px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .cta-button {
        display: none;
    }
    
    .section-main-title {
        font-size: 28px;
    }
    
    .flight-image {
        height: 400px;
    }
    
    .flight-title {
        font-size: 20px;
    }
    
    .flight-subtitle {
        font-size: 16px;
    }
    
    .flight-description {
        font-size: 14px;
    }
}
