:root {
    --primary: #FF8C00;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --shadow: 0 10px 40px rgba(255, 140, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideShow 25s infinite;
}

.hero-bg:nth-child(1) { animation-delay: 0s; }
.hero-bg:nth-child(2) { animation-delay: 5s; }
.hero-bg:nth-child(3) { animation-delay: 10s; }
.hero-bg:nth-child(4) { animation-delay: 15s; }
.hero-bg:nth-child(5) { animation-delay: 20s; }

@keyframes slideShow {
    0%, 20% { opacity: 0; transform: scale(1); }
    25%, 45% { opacity: 0.5; transform: scale(1.1); }
    50%, 100% { opacity: 0; transform: scale(1); }
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(26, 26, 26, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.logo i {
    font-size: 3.5rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--primary));
}

h1 {
    font-family: 'Rajdhani', 'Tajawal', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 8px;
    background: var(--primary);
    transform: skewX(-20deg);
    animation: expandWidth 1.5s ease-out 0.8s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 3rem;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    border: 3px solid var(--primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 3px solid var(--light);
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    background: var(--primary);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.05) 10px,
        rgba(0,0,0,0.05) 20px
    );
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: #1a1a1a;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Rajdhani', 'Tajawal', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #999;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #2a2a2a;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.service-title {
    font-family: 'Rajdhani', 'Tajawal', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    color: #aaa;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 6rem 2rem;
    background: var(--dark);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.2) 0%,
        rgba(255, 140, 0, 0) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        transparent 100%
    );
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-text {
    font-family: 'Rajdhani', 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-right: 1rem;
}

.gallery-text::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--primary);
    border-radius: 2px;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: #2a2a2a;
}

.contact-grid {
    max-width: 1400px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--dark);
    border-right: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    min-width: 50px;
}

.contact-details h3 {
    font-family: 'Rajdhani', 'Tajawal', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-details p {
    color: #aaa;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--light);
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border: 3px solid var(--primary);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%) contrast(1.2);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 3rem 2rem 1.5rem;
    border-top: 3px solid var(--primary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-text {
    color: #888;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) rotate(360deg);
}

.copyright {
    color: #666;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-credit {
    font-size: 12px;
    color: #888;
    margin-top: 1.5rem;
    animation: fadeInDown 1s ease-out 0.5s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.airmenu-link {
    background: linear-gradient(to left, rgb(39, 70, 133), rgb(61, 179, 197));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.airmenu-link:hover {
    filter: brightness(1.3);
    letter-spacing: 0.5px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}