﻿@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i");

:root {
    --tg-yellow: #FFCC33;
    --tg-yellow-ink: #7a5a00;
    --tg-coral-orange: #ff7947;
    --tg-coral-orange-ink: #E7512D;
    --tg-white-ink: #ffffff;
    --tg-dark-gray: #333333;
    --tg-ink: #18181b;
    --tg-slate: #f3f4f6;
    --tg-light-gray: #fafafa;
    --tg-border: #e6e6ea;
    --tg-orange: #ff7947;
    --tg-orange-light: #ff8c72;
    --tg-gold: #fbc02d;
    --tg-gold-mid: #ffbf43;
    --tg-cream: #fffeca;
    --tg-purple: #e5caff;
    --tg-text: #333333;
    --tg-bg: #ffffff;
    --tg-mint: #f3fde8;
}

* {
    box-sizing: border-box
}

/* top */

.logo-badge {
    background: var(--tg-coral-orange);
    color: var(--tg-coral-orange-ink);
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800
}

.tagline {
    font-size: 0.85rem;
    margin-top: -0.15rem; /* or +0.25rem if you want more space */
}

.brand-text {
    display: flex;
    flex-direction: column; /* stacks TRIPIGO + tagline */
    line-height: 1.2;
    font-weight: 400;
    margin-right:110px;
}

.brand-line {
    border: none;
    height: 3px; /* a little thicker */
    width: 80%; /* make it longer */
    max-width: 120px; /* prevents it from being too long on big screens */
    background-color: #FF7947; /* coral orange */
    margin-top: 6px;
    border-radius: 2px;
    opacity: 0.9;
}
/* switcher (your screenshot vibe) */
.tg-switcher {
    max-width: 1200px;
    margin: 14px auto;
    display: flex;
    gap: 12px;
    padding: 0 16px
}

.sw-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.06)
}

    .sw-item .sw-icon {
        font-size: 20px
    }

    .sw-item.active {
        background: linear-gradient(180deg,#ffcc33,#ffb800);
        color: var(--tg-yellow-ink);
        font-weight: 800
    }

    .sw-item.disabled {
        opacity: .55;
        cursor: not-allowed
    }

/* app container */
.tg-app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 24px
}

/* footer */
.tg-foot {
    border-top: 1px solid var(--tg-border);
    background: #fff
}

.tg-foot-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center
}

.muted {
    color: #555;
    text-decoration: none
}

/* ========== NAVBAR ========== */
.tg-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
    font-family: system-ui,Segoe UI,Roboto,Helvetica,Arial;
}

.tg-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
}

.tg-logo .logo-badge {
    background: #FFCC33;
    color: #7a5a00;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.tg-nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

    .tg-nav-links a {
        text-decoration: none;
        color: #18181b;
        font-weight: 600;
        padding: 6px 0;
        border-bottom: 2px solid transparent;
    }

        .tg-nav-links a:hover {
            border-bottom: 2px solid #FFCC33;
        }

.tg-actions .btn-primary {
    background: #FFCC33;
    color: #7a5a00;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    transition: background .2s;
}

    .tg-actions .btn-primary:hover {
        background: #facc15;
    }

/* mobile */
.tg-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 22px;
    cursor: pointer;
}

.tg-hero {
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.15);
    /*background: linear-gradient(135deg, var(--tp-gold-mid) 0%, var(--tp-orange-light) 50%, var(--tp-orange) 100%);*/
    background: linear-gradient(135deg, var(--tp-orange) 0%, var(--tp-orange-light) 20%, var(--tp-gold-mid) 100%);
}

.tg-hero-inner {
    /*padding: 72px 36px;*/
    /*background: linear-gradient(135deg, var(--tp-gold-mid) 0%, var(--tp-orange-light) 50%, var(--tp-orange) 100%);*/
    background: linear-gradient(135deg, var(--tp-orange) 0%, var(--tp-orange) 50%, var(--tp-gold-mid) 100%);
    position: relative
}

@media(max-width:780px) {
    .tg-nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        border-top: 1px solid #e5e7eb;
        padding: 10px 0;
    }

        .tg-nav-links.show {
            display: flex;
        }

    .tg-toggle {
        display: block;
    }
}

/* ---------- HERO ---------- */
:root {
    --tg-yellow: #FFCC33;
    --tg-coral: #FF7947;
    --tg-ink: #232323;
    --tg-slate: #f3f4f6;
    --tg-border: #e6e6ea;
}
.navbar {
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fff;
}

.hero {
    border-radius: 18px;
    padding: 28px 18px;
    margin: 0px 0 24px;
}

.bg-slate {
    background: var(--tg-slate);
}

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

footer {
    background: #fafafa;
    color: #6b7280;
    font-size: .95rem;
}
.logo-text {
    font-weight: 800;
}

/* softer gray for the subline */


.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    /*display: grid;*/ /*This when we need 2 columns*/
    gap: 28px;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
}

.hero-title {
    font-size: clamp(28px,4.2vw,48px);
    line-height: 1.1;
    margin: 6px 0 14px;
    color: var(--tg-ink);
    font-weight: 800;
}

    .hero-title .dot {
        color: var(--tg-coral);
    }

.mode-pills {
    display: flex;
    gap: 14px;
    margin: 10px 0 22px;
    flex-wrap: wrap;
}

.pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 84px;
    padding: 12px 10px;
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

    .pill.active {
        background: linear-gradient(180deg, var(--tg-coral), #ff9a66);
        color: #fff;
    }

    .pill.ai {
        border: 1px solid #c8d3ff;
        box-shadow: inset 0 0 0 1px #c8d3ff;
    }

    .pill .i {
        font-size: 20px;
    }

.searchbar {
    display: grid;
    grid-template-columns: 1fr auto auto 44px;
    gap: 0;
    align-items: center;
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    overflow: hidden;
}

.sb-input {
    border: 0;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
}

.sb-split {
    padding: 14px 16px;
    border-left: 1px solid var(--tg-border);
    color: #374151;
    font-size: 14px;
}

.sb-go {
    height: 100%;
    border: 0;
    background: var(--tg-coral);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

/* right mosaic */
.hero-right {
    position: relative;
    min-height: 360px;
}

.tile {
    position: absolute;
    width: 44%;
    height: 40%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.t1 {
    top: 0;
    right: 0;
}

.t2 {
    top: 0;
    right: 50%;
    transform: translateX(10%);
}

.t3 {
    top: 36%;
    right: 4%;
    width: 48%;
    height: 42%;
}

.t4 {
    top: 40%;
    right: 52%;
    width: 40%;
    height: 36%;
}

.t5 {
    bottom: -6%;
    right: 6%;
    width: 42%;
    height: 38%;
    filter: brightness(1.05);
}

.t6 {
    bottom: -10%;
    right: 52%;
    width: 44%;
    height: 34%;
}

/* responsive */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-right {
        order: 2;
        min-height: 280px;
    }
}

.aviasales-wrap {
    max-width: 900px;
    margin: 24px auto;
    padding: 0 16px
}

.center {
    text-align: center
}

.muted {
    color: #6b7280
}

.btn-primary {
    display: inline-block;
    background: #FF7947;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 800
}

    .btn-primary:hover {
        opacity: .95
    }


.tripigo-accent {
    position: relative;
    color: #f26b4e; /* coral tone from your logo */
    display: inline-block;
}



.hero p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.underline-animate {
    position: relative;
    display: inline-block;
}

.underline-animate::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #f26b4e;
    border-radius: 2px;
    transition: width 1s ease;
}

.underline-animate.in-view::after {
    width: 100%;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    .underline-animate::after {
        transition: none;
        width: 100%;
    }
}

/* Menu */

ul.menu {
    padding: 0;
    list-style: none;
}

    ul.menu li {
        padding: 0;
        display: inline-block;
        margin-left: 0.75em;
        padding-left: 0.75em;
        border-left: solid 1px;
        line-height: 1em;
    }

        ul.menu li:first-child {
            margin-left: 0;
            padding-left: 0;
            border-left: 0;
        }

    ul.menu li {
        border-left-color: #e6e6e6;
    }

/* Footer */

    #footer .copyright {
        color: #bbb;
        font-size: 0.9em;
    }

    #footer .menu {
        color: #bbb;
        font-size: 0.9em;
        position: absolute;
        right: 5px;
        top: 0;
    }

        #footer .menu a {
            color: inherit;
        }
        #footer .menu a:hover {
            color: var(--tg-coral-orange-ink);
        }

@media screen and (max-width: 1280px) {

    #footer {
        padding: 3em 0 1em 0;
        text-align: center;
    }

        #footer .copyright {
            margin: 0 0 1em 0;
        }

        #footer .menu {
            position: relative;
        }
}

@media screen and (max-width: 480px) {

    #footer .menu li a span {
        display: none;
    }
}

/* Info */

.info {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
}

    .info .content {
        width: calc(54.3333333% - 1.25em);
    }

    .info h2 {
        font-size: 2.25em;
        font-weight: 800;
        margin: 0 0 0.7em 0;
        padding-bottom: 0.75em;
    }

    .info .image {
        width: calc(36.6666666% - 2.5em);
        margin: 0 0 2em 0;
    }

        .info .image img {
            width: 100%;
        }

@media screen and (max-width: 1280px) {

    .info h2 {
        font-size: 1.25em;
    }

    .info .image {
        width: calc(66.6666666% - 1.25em);
    }
}

@media screen and (max-width: 980px) {

    .info {
        display: block;
    }

        .info .content {
            width: 100%;
        }

        .info .image {
            width: 100%;
            margin: 0 0 2em 0;
        }
}

.tripigo-box {
    background: var(--tg-mint); /* #fafafa very light gray */
    border-left: 4px solid var(--tripigo-coral);
    padding: 20px 25px;
    margin: 20px 0 40px 0;
    border-radius: 4px; /* soft corners */
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

    .tripigo-box ul {
        margin: 0;
        padding-left: 20px;
    }

    .tripigo-box li {
        margin-bottom: 10px;
        line-height: 1.6;
    }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
}
.section-title-accent {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: #333;
}

    .section-title-accent::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background-color: #f26b4e; /* Tripigo coral */
        margin: 12px auto 0;
        border-radius: 2px;
    }

.tripigo-btn {
    background-color: #f26b4e;
    color: white;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .tripigo-btn:hover {
        background-color: #d65d3d;
        color: white;
        transform: translateY(-2px);
    }

.tripigo-article-end p {
    color: #333;
}

.tripigo-logo {
    width: 2rem;
    height: 2rem;
    margin-top: -12px;
}
