
/* =========================================
   TRIPTODEAL - GLOBAL DESIGN SYSTEM
========================================= */

:root {
    --navy: #0A1928;
    --navy-light: #132B40;
    --gold: #C6A36A;
    --sand: #E8D9BD;
    --cream: #F8F6F1;
    --white: #FFFFFF;
    --text: #263746;
    --muted: #73808B;

    --heading: 'Playfair Display', serif;
    --body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--heading);
    line-height: 1.2;
}

section {
    padding: 100px 0;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: .3s ease;
    background: rgba(10, 25, 40, .18);
}

.navbar.scrolled {
    background: var(--navy);
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo-img {
    width: 155px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    transition: color .3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-nav {
    background: var(--gold);
    color: var(--navy);
    padding: 12px 22px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 27px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s;
}

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

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.7);
    color: var(--white);
    margin-left: 12px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

/* =========================================
   HERO
========================================= */

.hero {
    min-height: 720px;
    height: 100vh;
    max-height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);

    background-image:
        url("./ancient-wonders-panorama.webp");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5,17,29,.90) 0%,
        rgba(5,17,29,.67) 50%,
        rgba(5,17,29,.12) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    padding-top: 60px;
}

.hero-subtitle,
.subtitle {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 76px);
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-content p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    max-width: 620px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================
   SECTION TITLES
========================================= */

.section-title {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-title h2 {
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 20px;
}

.section-title p {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   ABOUT
========================================= */

.about-pillars {
    background: var(--cream);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pillar {
    padding: 40px 30px;
    background: var(--white);
    border-bottom: 3px solid transparent;
    transition: .3s;
}

.pillar:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.pillar-icon {
    color: var(--gold);
    font-family: var(--heading);
    font-size: 34px;
    margin-bottom: 22px;
}

.pillar h3 {
    color: var(--navy);
    font-size: 23px;
    margin-bottom: 15px;
}

.pillar p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   PROGRAMS
========================================= */

.programs {
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.prog-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(10,25,40,.08);
    transition: .35s;
}

.prog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(10,25,40,.15);
}

.prog-image {
    height: 270px;
    overflow: hidden;
    background: var(--sand);
}

.prog-image img {
    transition: transform .6s;
}

.prog-card:hover .prog-image img {
    transform: scale(1.07);
}

.prog-content {
    padding: 25px;
}

.prog-content span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.prog-content h3 {
    color: var(--navy);
    font-size: 24px;
    margin: 10px 0;
}

.prog-content p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   SPORTS
========================================= */

.sports {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.sports-image {
    position: absolute;
    inset: 0;
    background-image:
        url("./Group%20TriptoEgypt.webp");
    background-position: center;
    background-size: cover;
    opacity: .30;
}

.sports-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10,25,40,.98),
        rgba(10,25,40,.75)
    );
}

.sports-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.sports h2 {
    font-size: clamp(36px, 4vw, 52px);
    margin-bottom: 25px;
}

.sports h2 span {
    color: var(--gold);
}

.sports-intro p {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin-bottom: 30px;
}

.sports-details {
    border-left: 1px solid rgba(255,255,255,.2);
    padding-left: 35px;
}

.sports-list {
    list-style: none;
}

.sports-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: var(--sand);
    font-size: 13px;
}

.sports-list li::before {
    content: "→";
    color: var(--gold);
    margin-right: 12px;
}

/* =========================================
   B2B PARTNERSHIP
========================================= */

.b2b {
    background: var(--cream);
}

.b2b-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.b2b-text h2 {
    color: var(--navy);
    font-size: clamp(35px, 4vw, 48px);
    margin-bottom: 25px;
}

.b2b-text > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.b2b-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.b2b-list li {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}

.b2b-list li::before {
    content: "✓";
    color: var(--gold);
    margin-right: 8px;
}

.b2b-img {
    min-height: 470px;
    background-image: url("./camel-path-giza.webp");
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0 var(--gold);
}

/* =========================================
   CONTACT
========================================= */

.cta-section {
    background: var(--navy);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: clamp(35px, 4vw, 52px);
    margin-bottom: 25px;
}

.cta-section > .container > p {
    max-width: 720px;
    margin: 0 auto 35px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--white);
}

.cta-section .experience {
    margin-top: 55px;
    color: var(--sand);
    font-size: 12px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: #06111D;
    color: rgba(255,255,255,.55);
    text-align: center;
    padding: 25px 0;
    font-size: 11px;
}

/* =========================================
   IMAGE FALLBACK
========================================= */

.image-error {
    opacity: 0;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .nav-links {
        gap: 15px;
        font-size: 10px;
    }

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

    .sports-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sports-details {
        border-left: none;
        padding-left: 0;
    }

    .b2b-wrapper {
        gap: 35px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    section {
        padding: 70px 0;
    }

    .navbar {
        background: var(--navy);
        padding: 10px 0;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo-img {
        width: 120px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .nav-links a {
        font-size: 9px;
    }

    .btn-nav {
        font-size: 9px;
        padding: 10px 12px;
    }

    .hero {
        min-height: 700px;
        height: 90vh;
        background-position: 58% center;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 13px 16px;
        font-size: 10px;
    }

    .pillars-grid,
    .programs-grid,
    .b2b-wrapper {
        grid-template-columns: 1fr;
    }

    .pillar {
        padding: 30px 25px;
    }

    .prog-image {
        height: 240px;
    }

    .sports h2 {
        font-size: 37px;
    }

    .b2b-img {
        min-height: 300px;
        box-shadow: 10px 10px 0 var(--gold);
    }

    .b2b-list {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

}
