/* Classic Travel - Global Styles */
/* Fonts: Michroma (branding), Sanchez (company name), Rubik (body text) */



:root {
    --primary-color: #827332;
    --light-color: #FAF8FA;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --grey-color: #969696;
    --primary-dark: #6a5d28;
    --primary-light: #9a8850;
    --dark-color: #191919;
}

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

body {
    font-family: 'Rubik', sans-serif;
    background: var(--light-color);
    color: var(--black-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Michroma', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-wrapper.scrolled {
    background: var(--dark-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-family: 'Sanchez', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--white-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo-container,
.logo-container:visited,
.logo-container:hover,
.logo-container:active {
    text-decoration: none;
    color: inherit;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: var(--black-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(130, 115, 50, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 10px 30px rgba(130, 115, 50, 0.3);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
}

.section-title {
    font-size: 3.5rem;
    color: var(--black-color);
    margin-bottom: 1rem;
    font-family: 'Michroma', sans-serif;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--grey-color);
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Rubik', sans-serif;
}

/* Footer */
footer {
    background: var(--black-color);
    color: var(--light-color);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Michroma', sans-serif;
}

.footer-section p {
    line-height: 1.7;
    color: var(--light-color);
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.footer-links li i {
    flex-shrink: 0;
    line-height: 1;
}

.footer-links li i:empty {
    display: none;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--black-color);
}

.social-links a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(44%) sepia(25%) saturate(749%) hue-rotate(12deg) brightness(95%) contrast(89%);
    transition: filter 0.3s ease;
}

.social-links a:hover img {
    filter: brightness(0);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(130, 115, 50, 0.3);
    text-align: center;
    color: var(--grey-color);
    font-size: 0.9rem;
    font-family: 'Rubik', sans-serif;
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--black-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 50px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Arabic RTL Font Support */
html[dir="rtl"] body,
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .lang-btn,
html[dir="rtl"] .btn,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .section-description,
html[dir="rtl"] .footer-section p,
html[dir="rtl"] .footer-links a,
html[dir="rtl"] .footer-links li,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .logo-text,
html[dir="rtl"] nav,
html[dir="rtl"] .nav-wrapper,
html[dir="rtl"] footer,
html[dir="rtl"] .footer-content {
    font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .section-title,
html[dir="rtl"] .footer-section h3,
html[dir="rtl"] .nav-links li a {
    font-family: 'Cairo', sans-serif;
}

/* Selection Color */
::selection {
    background: var(--primary-color);
    color: var(--white-color);
}

/* RTL (Arabic) Layout Support */
html[dir="rtl"] .lang-switcher {
    flex-direction: row-reverse;
}

/* RTL Desktop Navigation - only apply row-reverse on desktop */
@media (min-width: 769px) {
    html[dir="rtl"] .nav-links {
        flex-direction: row-reverse;
    }
}

html[dir="rtl"] .footer-links li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

html[dir="rtl"] .social-links {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

html[dir="rtl"] .cta-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

html[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .pricing-card ul li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="rtl"] .pricing-card ul {
    text-align: right;
}

html[dir="rtl"] .step-number {
    margin: 0 auto 1.5rem;
}

@media (max-width: 768px) {
    html[dir="rtl"] .nav-links {
        left: auto;
        right: -100%;
        transition: right 0.4s ease;
    }

    html[dir="rtl"] .nav-links.active {
        right: 0;
        left: auto;
    }
}