/* ============================================
   Services Page Stylesheet
   File: assets/css/services.css
   ============================================ */

/* ── Variables ── */
:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --green: #16a34a;
    --orange: #ea580c;
    --text-dark: #1f2937;
    --text-mid: #374151;
    --text-soft: #6b7280;
    --border: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* ── Shared Container ── */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section Header ── */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
}

.section-header--light h2 { color: #fff; }
.section-header--light p  { color: rgba(255,255,255,0.85); }


/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.services-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 24px 80px;
    text-align: center;
}

.services-hero-container {
    max-width: 860px;
    margin: 0 auto;
}

.services-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.95);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.services-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.services-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}


/* ══════════════════════════════════════
   INTRO SECTION
══════════════════════════════════════ */
.services-intro-section {
    background: var(--bg-white);
    padding: 72px 24px;
}

.intro-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.intro-content p {
    color: var(--text-mid);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 32px;
}

/* centres the block, content inside aligns left */
.intro-list-wrapper {
    display: flex;
    justify-content: center;
}

.intro-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 36px;
    max-width: 640px;
    text-align: left;
}

.intro-service-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-mid);
    font-weight: 600;
}

.intro-service-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Stack vertically on mobile */
@media (max-width: 640px) {
    .intro-services-list {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
}





/* ══════════════════════════════════════
   CORE SERVICES SECTION
══════════════════════════════════════ */
.core-services-section {
    background: var(--bg-light);
    padding: 80px 24px;
}

.service-blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.service-block:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}

.service-block--reverse {
    grid-template-columns: 1fr 1fr;
}

.service-block--reverse .service-block-illustration {
    order: 2;
}

.service-block--reverse .service-block-content {
    order: 1;
}

/* Illustration wrapper */
.service-block-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 100%);
    border-radius: 14px;
    padding: 32px;
    min-height: 220px;
}

.service-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
    animation: floatIllustration 4s ease-in-out infinite;
}

@keyframes floatIllustration {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

/* Content side */
.service-tag {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.service-tag--purple { background: #ede9fe; color: #7c3aed; }
.service-tag--green  { background: #dcfce7; color: var(--green); }
.service-tag--orange { background: #ffedd5; color: var(--orange); }

.service-block-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-block-content > p {
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
    font-size: 0.97rem;
}

/* Use-case tags */
.service-use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-use-cases span {
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Routes list */
.service-routes h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.service-routes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-routes ul li a {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px dashed #c7d2fe;
    transition: color 0.2s, border-color 0.2s;
}

.service-routes ul li a:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* CTA button */
.service-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.service-cta-btn:hover         { background: #5a6fd4; transform: translateY(-2px); }
.service-cta-btn--purple       { background: #7c3aed; }
.service-cta-btn--purple:hover { background: #6d28d9; }
.service-cta-btn--green        { background: var(--green); }
.service-cta-btn--green:hover  { background: #15803d; }
.service-cta-btn--orange       { background: var(--orange); }
.service-cta-btn--orange:hover { background: #c2410c; }


/* ══════════════════════════════════════
   TOURIST DESTINATIONS SECTION
══════════════════════════════════════ */
.destinations-section {
    background: var(--bg-white);
    padding: 80px 24px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.destination-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.destination-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.destination-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.destination-card p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 14px;
}

.destination-card a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.destination-card a:hover {
    color: var(--primary-dark);
}


/* ══════════════════════════════════════
   WHY CHOOSE US SECTION
══════════════════════════════════════ */
.why-choose-section-services {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 24px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 28px 24px;
    backdrop-filter: blur(10px);
    transition: background 0.25s, transform 0.25s;
}

.why-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.why-icon {
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
}


/* ══════════════════════════════════════
   POPULAR ROUTES SECTION
══════════════════════════════════════ */
.popular-routes-section {
    background: var(--bg-light);
    padding: 80px 24px;
}

.routes-link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 20px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
}

.route-link-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 24px rgba(102,126,234,0.12);
    transform: translateY(-3px);
}

.route-link-from,
.route-link-to {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.route-link-arrow {
    color: var(--primary);
    margin: 8px 0;
}

.route-link-meta {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-top: 8px;
    font-weight: 500;
}


/* ══════════════════════════════════════
   FINAL CTA SECTION
══════════════════════════════════════ */
.services-final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 40px;
    text-align: center;
}

.services-final-cta h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.services-final-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.services-final-cta .btn-whatsapp-large,
.services-final-cta .btn-booking-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    padding: 16px 32px;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.services-final-cta .btn-whatsapp-large {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.services-final-cta .btn-whatsapp-large:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.services-final-cta .btn-booking-large {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.services-final-cta .btn-booking-large:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

@media (max-width: 480px) {
    .services-final-cta {
        padding: 60px 24px;
    }

    .services-final-cta h2 {
        font-size: 1.4rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-final-cta .btn-whatsapp-large,
    .services-final-cta .btn-booking-large {
        width: 100%;
        justify-content: center;
    }
}




/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-hero h1       { font-size: 2.1rem; }
    .destinations-grid      { grid-template-columns: repeat(2, 1fr); }
    .why-choose-grid        { grid-template-columns: repeat(2, 1fr); }
    .routes-link-grid       { grid-template-columns: repeat(2, 1fr); }

    .service-block {
        gap: 36px;
        padding: 36px;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
    .services-hero {
        padding: 120px 20px 60px;
    }

    .services-hero h1 {
        font-size: 1.7rem;
    }

    .services-hero-sub {
        font-size: 0.95rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-block,
    .service-block--reverse {
        grid-template-columns: 1fr;
        padding: 28px 20px;
        gap: 28px;
    }

    .service-block--reverse .service-block-illustration,
    .service-block--reverse .service-block-content {
        order: unset;
    }

    .service-block-illustration {
        min-height: 180px;
        padding: 24px;
    }

    .service-svg {
        max-width: 200px;
    }

    .service-block-content h3 {
        font-size: 1.25rem;
    }

    .destinations-grid  { grid-template-columns: 1fr; }
    .why-choose-grid    { grid-template-columns: 1fr; }
    .routes-link-grid   { grid-template-columns: 1fr; }

    .final-cta-card {
        padding: 40px 24px;
    }

    .final-cta-card h2 {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}


/* ══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 1.45rem;
    }

    .services-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-use-cases {
        gap: 6px;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-whatsapp-large,
    .btn-booking-large {
        width: 100%;
        justify-content: center;
    }
}
