:root {
    --primary-color: #0ea5e9;
    --secondary-color: #f59e0b;
    --accent-color: #ef4444;
    --background-color: #f9fafb;
    --surface-color: #ffffff;
    --text-color: #1f2937;
    --heading-color: #111827;
    --border-color: #e5e7eb;
    --nav-bg: #ffffff;
    --nav-text: #1f2937;
    --hover-color: #0d9488;
    --welcome-bg: #e0f7ff;
}

[data-theme="dark"] {
    --primary-color: #38bdf8;
    --secondary-color: #facc15;
    --accent-color: #fb7185;
    --background-color:#334155;
    --surface-color: #1e293b;
    --text-color: #f3f4f6;
    --heading-color: #ffffff;
    --border-color: #334155;
    --nav-bg: #1e293b;
    --nav-text: #f3f4f6;
    --hover-color: #38bdf8;
    --welcome-bg: #0f172a;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Global Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    width: 100%;
    background: var(--nav-bg);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Cairo', sans-serif;
}

/* Container Layout */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Branding */
.branding {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 40px;
}

.agency-name a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--nav-text);
    font-family: 'Poppins', sans-serif;
}

.agency-name a:hover {
    color: var(--secondary-color);
}

/* Hamburger */
.hamburger {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--nav-text);
    cursor: pointer;
    display: none;
    z-index: 1001;
    order: 3;
    margin-left: auto;
}

/* Navigation Links */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex: 1;
    padding: 0;
    margin: 0;
    margin-left: 5rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Toggle Buttons */
.btn-toggle {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    color: var(--nav-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cairo', sans-serif;
}

.btn-toggle:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.toggle-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Auth Buttons */
.btn-auth {
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--primary-color);
    background: transparent;
    border-radius: 6px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
}

.btn-auth:hover {
    background: var(--primary-color);
    color: white;
}


/* Welcome Section */
.welcome-section {
    height: 100vh;
    background: url('../../images/sections/welcome-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
    /* Arabic layout support */
}

.welcome-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
    
    /* Keep image on left, text on right */
}

.welcome-text,
.welcome-image {
    flex: 1;
}

.welcome-text h1 {
    color: var(--secondary-color);
    font-family: 'Cairo', sans-serif;
    text-align: center;
    direction: rtl;
    font-size: 1.5rem;
    animation: fadeInLeft 1s ease forwards;
}

.welcome-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    animation: fadeInLeft 2s ease forwards;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    text-align: left;
    /* Preserve visual alignment */
    direction: rtl;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
}

.cta-button:hover {
    background: var(--hover-color);
}

.welcome-image img {
    max-width: 100%;
    height: auto;
    animation: fadeInRight 1s ease forwards;
}
/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--welcome-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    gap: 3rem;
}

.about-text {
    max-width: 700px;
}

.about-text h1 {
    color: var(--secondary-color);
    padding-bottom: 1.5rem;
    font-size: 2.4rem;
    animation: fadeInLeft 1s ease forwards;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    animation: fadeInLeft 2s ease forwards;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    font-family: 'Cairo', sans-serif;

}

.card.reveal.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
}
/* =============================
   SERVICES SECTION (Arabic Friendly)
============================= */
.services-section {
    padding: 6rem 2rem;
    background: var(--welcome-bg);
    font-family: 'Cairo', sans-serif;
    /* Arabic-friendly font */
    direction: rtl;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-family: 'Cairo', sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.reveal.show {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
    color: var(--secondary-color);
    font-family: 'Cairo', sans-serif;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
    padding: 0 1rem 1.5rem;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

/* =============================
   DESTINATIONS SECTION
============================= */
.destinations-section {
    padding: 6rem 2rem;
    background-color: var(--welcome-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: var(--delay);
    font-family: 'Cairo', sans-serif;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.destination-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.destination-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--heading-color);
    font-family: 'Cairo', sans-serif;
}

.destination-card p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.apply-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.apply-btn:hover {
    background-color: var(--hover-color);
}

/* Save for Later - Distinct Style */
.save-btn {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 9px 16px;
    border: 2px dashed var(--secondary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
}

.save-btn i {
    font-size: 1rem;
}

.save-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.save-btn.saved {
    background-color: var(--secondary-color);
    color: white;
    border-style: solid;
}
/* =============================
   CONTACT SECTION
============================= */
.contact-section {
    background-color: var(--welcome-bg);
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.contact-container h2.section-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-family: 'Cairo', sans-serif;
    animation: fadeInLeft 1s ease forwards;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

textarea {
    resize: vertical;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    font-family: 'Cairo', sans-serif;
}

.contact-form p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    font-family: 'Cairo', sans-serif;
}

.newsletter-check {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    justify-content: flex-start;
    font-family: 'Cairo', sans-serif;
}

/* Submit Button */
.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
    background-color: var(--hover-color);
}

/* WhatsApp Button */
.alt-contact {
    margin-top: 2rem;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    background-color: #25d366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}
/* =============================
   FOOTER
============================= */
.site-footer {
    background-color: var(--nav-bg);
    color: var(--text-color);
    padding: 1rem 2rem;
    /* Same as navbar */
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    animation: fadeInLeft 1s ease forwards;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Icon Colors */
.social-icon[href*="wa.me"] i {
    color: #25D366;
    /* WhatsApp green */
}

.social-icon[href*="facebook"] i {
    color: #1877F2;
    /* Facebook blue */
}

.social-icon[href*="mailto:"] i {
    color: #D44638;;
    /* Email red */
}

.social-icon[href*="tiktok"] i {
    color: #000000;
    /* TikTok black */
}
/* Responsive */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .submit-btn,
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
}
/* =============================
   Responsive Design Updates
============================= */

@media (max-width: 1024px) {
    .welcome-container {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }

    .section-title {
        text-align: center;
    }

    .welcome-container p{
        text-align: center;
    }

    .destinations-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .destination-card,
    .service-card {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }


@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-content {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-end; /* Right align for Arabic */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 0 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: max-height 0.4s ease;
        z-index: 1000;
        text-align: right;
    }

    .nav-content.show {
        max-height: 500px;
        padding: 1.5rem 2rem;
    }

    .nav-links,
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
       /* align-items: flex-start;*/
    }

    .toggle-buttons {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        justify-content: flex-end;
    }

    .btn-auth.login,
    .btn-auth.signup {
        width: auto;
        align-self: center;
    }
}


    .toggle-buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .btn-toggle {
        width: fit-content;
    }

    .page-title {
        text-align: center;
    }

    .wrapper {
        padding: 0 1rem;
    }

    .destinations-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .destination-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .destination-card img {
        max-width: 100%;
        height: auto;
    }

    .destination-card .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .apply-btn,
    .save-btn {
        width: 100%;
    }
    
}

@media (max-width: 480px) {
.service-card img {
    height: 160px;
}

.destination-card img {
    height: 140px;
}

.destination-card h3,
.destination-card p {
    font-size: 0.9rem;
}

.apply-btn,
.save-btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
}
}
/*  Animation*/
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes fadeInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

