/* ==========================================================================
   LOURDES TRAVEL TECHNOLOGY - FLYSHOP THEME MATCH
   ========================================================================== */

/* --- 1. CSS Variables & Theme Setup --- */
:root {
    /* Brand Colors (Lourdes Orange/Yellow adapted from logo) */
    --primary: #FF9800;
    /* Deep Orange */
    --primary-light: #FFB74D;
    --primary-dark: #F57C00;
    --accent: #FFC107;
    /* Amber/Yellow from logo */

    /* Neutral Colors (Flyshop clean aesthetic) */
    --bg-main: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-gray-dark: #F3F4F6;

    /* Text Colors */
    --text-main: #111827;
    /* Near Black */
    --text-muted: #6B7280;
    /* Gray for subtitles */
    --text-light: #9CA3AF;

    /* Borders & Shadows */
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 25px 50px -12px rgba(0, 0, 0, 0.08);

    /* Spacing & Layout */
    --container-max: 1280px;
    --section-padding: 6rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- 2. Base Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 3. Typography Utility Classes --- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-gray {
    color: var(--text-muted);
}

.text-gray-light {
    color: var(--text-light);
}

.text-dark {
    color: var(--text-main);
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 4. Layout & Spacing Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Padding */
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

/* Margins */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Display & Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Backgrounds & Borders */
.bg-white {
    background-color: var(--bg-main);
}

.bg-gray {
    background-color: var(--bg-gray);
}

.bg-gray-dark {
    background-color: var(--bg-gray-dark);
}

.border-base {
    border: 1px solid var(--border-color);
}

.border-b {
    border-bottom: 1px solid var(--border-color);
}

.border-t {
    border-top: 1px solid var(--border-color);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* --- 5. Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

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

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

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.btn-text {
    background: transparent;
    border: none;
    padding: 0;
}

.btn-text:hover {
    color: var(--primary);
}

/* Section Headings */
.section-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    /* Bolder headings to match Flyshop */
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-subtext {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }
}

/* --- 6. Top Bar --- */
.top-bar {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-social {
    display: flex;
    gap: 1.5rem;
}

.top-social i {
    margin-right: 0.375rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* --- 7. Header Navigation --- */
.header {
    background-color: var(--bg-main);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo-img {
    height: 40px;
    /* Adjusted size */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.25rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .header-actions .btn {
        display: none;
    }
}

/* --- 8. Hero Section --- */
.hero-section {
    padding: 100px 0 160px;
    /* Extra bottom padding for overlap */
    position: relative;
    background-color: var(--bg-main);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-main);
}

/* Metrics Glass Card (Flyshop Style) */
.metrics-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 900px;
    margin: 4rem auto -200px;
    /* Pulls it down over next section */
    position: relative;
    z-index: 10;
}

.metrics-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-item {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: left;
}

.metric-item h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.metric-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.metrics-footer {
    margin-top: 2rem;
    text-align: left;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-card {
        padding: 2rem;
        margin-top: 3rem;
        margin-bottom: -150px;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 9. Partners Section --- */
.partners-section {
    padding-top: 220px;
    /* Accounts for overlapping metrics card */
    padding-bottom: 6rem;
    background-color: var(--bg-main);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    /* Assuming logos are text for now, should be images */
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* --- 10. Philosophy Section (Icon Grid) --- */
.philosophy-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
}

/* --- 11. Split Layouts (Solutions & Ecosystem) --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 6rem;
    /* Increased gap */
}

.split-layout.row-reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    width: 100%;
}

.split-image img,
.split-image .image-placeholder {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .split-layout.row-reverse {
        flex-direction: column;
    }

    .checklist {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .numbered-item {
        text-align: left;
    }
}

/* --- 12. Services Grid Outline --- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
}

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

/* --- 13. Contact Form / Footer --- */
.contact-section {
    border-top: 1px solid var(--border-color);
}

.form-input {
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

/* --- Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}