/* Variables */
:root {
    --primary-blue: #003B95;     /* Dark Blue from logo */
    --secondary-blue: #0071C2;   /* Medium Blue from logo */
    --light-blue: #3398DB;       /* Light Blue from logo */
    --orange: #FF8C00;           /* Orange from logo */
    --gold: #FFB700;             /* Gold from logo */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--primary-blue);
    background-color: var(--white);
}

.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 59, 149, 0.7), rgba(0, 113, 194, 0.5)),
                url('../assets/airplane_background_s.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

@media (min-width: 3840px) {
    .hero {
        background: linear-gradient(rgba(0, 59, 149, 0.7), rgba(0, 113, 194, 0.5)),
                    url('../assets/airplane_background.jpg');
        background-size: cover;
        background-position: center;
    }
}

/* Search Box */
.search-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.1);
}

.search-box .form-label {
    color: var(--primary-blue);
}

.search-box .input-group-text {
    background-color: var(--orange);
    color: var(--white);
    border: none;
}

/* Service Cards */
.service-card {
    background: var(--white);
    transition: var(--transition);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 59, 149, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.service-card:hover .service-icon {
    color: var(--gold);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.1);
    height: 100%;
}

.testimonial-card .fa-quote-left {
    font-size: 2rem;
    color: var(--orange);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.1);
}

.contact-info i {
    color: var(--orange);
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

/* Logo */
.logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 15px rgba(0, 59, 149, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    max-height: 80px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 60px;
    }
}

.navbar .nav-link {
    color: var(--primary-blue) !important;
    transition: var(--transition);
}

.navbar .nav-link:hover {
    color: var(--orange) !important;
}

/* WhatsApp Icon Responsive Styles */
.navbar .nav-link .fa-whatsapp {
    font-size: 2rem; /* Default size */
}

@media (min-width: 768px) {
    .navbar .nav-link .fa-whatsapp {
        font-size: 1.8rem; /* Larger on tablets */
    }
}

@media (min-width: 992px) {
    .navbar .nav-link .fa-whatsapp {
        font-size: 1.9rem; /* Even larger on desktop */
    }
}

/* Why Zamzam Section */
.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 59, 149, 0.1);
    height: 100%;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 59, 149, 0.2);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--orange);
}

.why-card:hover i {
    color: var(--gold);
}

.why-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

.why-card p {
    color: #666;
    margin-bottom: 0;
}

/* Blur Overlay Styles */
.blur-overlay {
    filter: blur(1.5px);
    pointer-events: none;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 59, 149, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: all;
    border-radius: 15px;
}

.coming-soon-overlay h3 {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
}

.footer-top {
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--orange), var(--gold));
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--orange);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(-10px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--orange);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-contact a:hover {
    color: var(--gold);
    transform: translateX(-10px);
}

.footer-contact li:hover i {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    margin-right: 10px;
}

.social-link:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--orange);
}

/* Address Styles */
.address-text {
    display: inline-block;
    max-width: 300px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .address-text {
        max-width: 400px;
    }
}

@media (min-width: 992px) {
    .address-text {
        max-width: 500px;
    }
}

.address-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-wrapper span {
    display: block;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .search-box {
        margin-top: 0;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 2rem;
    }
    
    .navbar-brand img {
        max-height: 60px;
    }
    
    .footer-logo {
        height: 50px;
        margin: 0 auto 1rem;
    }
    
    .footer-widget {
        text-align: center;
        margin-top: 2rem;
    }
}

/* Contact Buttons */
.contact-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-button {
    display: block;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.button-content i {
    font-size: 2rem;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.phone-button {
    background: linear-gradient(135deg, var(--orange), var(--gold));
}

.phone-button:hover {
    background: linear-gradient(135deg, var(--gold), var(--orange));
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.contact-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .contact-buttons-wrapper {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-button {
        padding: 1rem 1.5rem;
    }

    .button-content {
        font-size: 1.1rem;
    }

    .button-content i {
        font-size: 1.5rem;
    }
}