/* ==================================================
   TIMI TRAVEL / ТИМИ ТРАВЕЛ — Coming Soon page
   Single-viewport responsive landing page
   HTML5 + CSS3, no frameworks
   ================================================== */

/* ----------  1. BRAND VARIABLES  ---------- */
:root {
    --sky-deep:    #0E2A5E;   /* lighter than a "black navy" — reads as travel-blue, not industrial */
    --sky-mid:     #14418F;
    --blue:        #1E88E5;
    --cyan:        #4FD1FF;
    --sun:         #FFB020;   /* warm sunset accent instead of HVAC's red/orange */
    --sun-soft:    #FFD27A;
    --white:       #FFFFFF;
    --gray-light:  #EAF2FB;
    --gray-muted:  #9FB6D6;

    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* fluid spacing used across the layout */
    --pad-x: clamp(1rem, 4vw, 3.5rem);
}

/* ----------  2. RESET / BASE  ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow: hidden;               /* the page fits one viewport — no scrolling */
}

body {
    font-family: var(--font-body);
    color: var(--gray-light);
    background: radial-gradient(120% 140% at 12% -10%, #1B4A9C 0%, var(--sky-deep) 45%, #081733 100%);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ----------  3. DECORATIVE BACKGROUND  ---------- */
/* soft dot lattice, brighter/airier than a hard line grid */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(79, 209, 255, 0.16) 1.4px, transparent 1.4px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: clamp(280px, 42vw, 620px);
    height: clamp(280px, 42vw, 620px);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.28;
    pointer-events: none;
    z-index: 0;
}
.bg-glow--cool { background: var(--cyan); top: -12%; left: -6%; }
.bg-glow--warm { background: var(--sun);  bottom: -16%; right: -8%; opacity: 0.16; }

/* ----------  4. PAGE FRAME (header / hero / footer)  ---------- */
.page {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100dvh;                 /* better fit on mobile browsers */
    display: flex;
    flex-direction: column;
}

/* ----------  5. HEADER  ---------- */
.site-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: clamp(0.5rem, 1.2vh, 0.9rem) var(--pad-x);
    background: var(--white);
    border-bottom: 1px solid rgba(14, 42, 94, 0.1);
    box-shadow: 0 2px 16px rgba(3, 12, 30, 0.12);
}

/* logo — white plate so the (mostly dark-navy) logo artwork stays legible */
.logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.logo-img {
    height: clamp(44px, 7.2vh, 62px);
    width: auto;
}

/* language switcher + contact */
.header-actions { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.1rem); flex: 0 0 auto; }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: var(--gray-light);
    border: 1px solid rgba(14, 42, 94, 0.12);
}
.lang-divider { display: none; }
.lang-btn {
    font-weight: 600;
    font-size: clamp(0.72rem, 1.3vw, 0.82rem);
    letter-spacing: 0.04em;
    color: var(--sky-mid);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--sky-deep); }
.lang-btn.is-active {
    color: var(--white);
    background: linear-gradient(90deg, var(--blue), var(--sky-mid));
    font-weight: 700;
}

/* ----------  6. BUTTONS (fully rounded — distinct from the HVAC site's boxier look)  ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn--header {
    font-size: clamp(0.72rem, 1.4vw, 0.85rem);
    padding: 0.5em 1.3em;
    color: var(--sky-deep);
    background: linear-gradient(90deg, var(--sun), var(--sun-soft));
    box-shadow: 0 3px 14px rgba(255, 176, 32, 0.35);
}
.btn--header:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 176, 32, 0.5); }

.btn--primary {
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    padding: 0.8em 1.8em;
    color: var(--sky-deep);
    background: linear-gradient(90deg, var(--sun) 0%, var(--sun-soft) 100%);
    box-shadow: 0 6px 22px rgba(255, 176, 32, 0.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 176, 32, 0.55);
}

.btn--secondary {
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    padding: 0.78em 1.7em;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cyan);
}
.btn--secondary:hover {
    border-color: var(--white);
    background: rgba(79, 209, 255, 0.16);
    transform: translateY(-2px);
}

/* ----------  6b. CONTACT DROPDOWN (email / phone choice)  ---------- */
.contact-dropdown { position: relative; }

.contact-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 13rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem;
    border-radius: 16px;
    background: rgba(16, 48, 104, 0.97);
    border: 1px solid rgba(79, 209, 255, 0.28);
    box-shadow: 0 14px 34px rgba(3, 12, 30, 0.55);
    backdrop-filter: blur(10px);
    z-index: 20;
}
.contact-menu[hidden] { display: none; }

.contact-menu-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: background 0.15s, color 0.15s;
}
.contact-menu-item:hover,
.contact-menu-item:focus-visible { background: rgba(79, 209, 255, 0.2); color: var(--white); }
.contact-menu-item svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: currentColor; }

#cta-contact-dropdown .contact-menu { right: auto; left: 0; }

/* ----------  7. HERO (split layout)  ---------- */
.hero {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(0.6rem, 1.6vh, 1.4rem) var(--pad-x);
}

.hero-content {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.45rem, 1.4vh, 0.95rem);
}

/* pill-shaped eyebrow badge instead of the HVAC site's line-prefixed label */
.hero-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(0.6rem, 1.2vw, 0.72rem);
    letter-spacing: 0.14em;
    color: var(--sky-deep);
    text-transform: uppercase;
    padding: 0.4em 1em;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), #7FE3FF);
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.45rem, 3.4vw, 2.9rem);
    line-height: 1.12;
    color: var(--white);
}

.hero-desc {
    font-size: clamp(0.8rem, 1.5vw, 0.98rem);
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 56ch;
}

/* ----------  8. COUNTDOWN — single segmented pill bar (not four boxy cards)  ---------- */
.countdown-intro {
    font-size: clamp(0.7rem, 1.3vw, 0.82rem);
    color: var(--gray-muted);
    margin-bottom: clamp(0.3rem, 0.8vh, 0.55rem);
    letter-spacing: 0.03em;
}

.countdown {
    display: flex;
    align-items: stretch;
    max-width: 30rem;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 209, 255, 0.22);
    backdrop-filter: blur(6px);
}

.count-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: clamp(0.5rem, 1.5vh, 0.9rem) 0.3rem;
    position: relative;
}
.count-card + .count-card::before {
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: rgba(79, 209, 255, 0.22);
}
.count-card--cool { color: var(--cyan); }
.count-card--warm { color: var(--sun); }

.count-num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--white);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.count-num.tick { animation: tick 0.35s ease; }
@keyframes tick {
    0%   { transform: translateY(-4px) scale(1.08); opacity: 0.4; }
    100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

.count-label {
    font-size: clamp(0.55rem, 1.1vw, 0.68rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.85;
}

.countdown-finished {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    color: var(--cyan);
}

.status-text {
    font-size: clamp(0.65rem, 1.2vw, 0.76rem);
    color: var(--gray-muted);
    margin-top: clamp(0.25rem, 0.7vh, 0.45rem);
}

/* ----------  9. BUS-TOUR CATEGORIES — wrapping pill chips  ---------- */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.4rem, 1vw, 0.6rem);
    max-width: 36rem;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: clamp(0.4rem, 1vh, 0.55rem) clamp(0.7rem, 1.6vw, 0.95rem);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(79, 209, 255, 0.2);
    font-size: clamp(0.62rem, 1.2vw, 0.76rem);
    font-weight: 500;
    color: var(--gray-light);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.service-badge:hover { border-color: var(--cyan); background: rgba(79, 209, 255, 0.16); transform: translateY(-1px); }

.service-icon { width: clamp(14px, 1.8vw, 18px); height: clamp(14px, 1.8vw, 18px); flex: 0 0 auto; }
.icon-cool { color: var(--cyan); }
.icon-warm { color: var(--sun); }

/* ----------  10. CTA ROW + TRUST LINE  ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: clamp(0.5rem, 1.2vw, 0.9rem); }

.trust-line {
    font-size: clamp(0.62rem, 1.2vw, 0.74rem);
    color: var(--gray-muted);
    letter-spacing: 0.02em;
}

/* ----------  11. HERO VISUAL (right) — decorative route illustration  ---------- */
.hero-visual {
    position: relative;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(79, 209, 255, 0.22);
    box-shadow: 0 18px 50px rgba(3, 12, 30, 0.4);
    background: linear-gradient(160deg, #123B7E 0%, var(--sky-deep) 60%, #081733 100%);
}

.route-art { position: absolute; inset: 0; width: 100%; height: 100%; }

.route-line {
    animation: routeFlow 5s linear infinite;
}
@keyframes routeFlow {
    to { stroke-dashoffset: -160; }
}

.route-pin circle:first-child { filter: drop-shadow(0 0 6px rgba(79, 209, 255, 0.6)); }
.route-pin--end circle:first-child { filter: drop-shadow(0 0 10px rgba(79, 209, 255, 0.85)); }

.route-bus, .route-plane { animation: driftFade 6s ease-in-out infinite; }
.route-plane { animation-delay: 1.4s; }
@keyframes driftFade {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 1; }
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(8, 23, 51, 0.35) 0%,
        rgba(8, 23, 51, 0.05) 45%,
        rgba(8, 23, 51, 0.25) 100%);
    pointer-events: none;
}

/* ----------  12. FOOTER  ---------- */
.site-footer {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1.4rem;
    padding: clamp(0.4rem, 1vh, 0.7rem) var(--pad-x);
    border-top: 1px solid rgba(79, 209, 255, 0.16);
    background: rgba(14, 42, 94, 0.4);
    font-size: clamp(0.58rem, 1.2vw, 0.72rem);
    color: var(--gray-muted);
    text-align: center;
}
.footer-brand { font-weight: 600; color: var(--gray-light); }
.footer-domain { color: var(--cyan); font-weight: 500; }
.footer-domain:hover { text-decoration: underline; }

/* ==================================================
   13. RESPONSIVE BEHAVIOUR
   ================================================== */

@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 1rem; }
}

@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) clamp(70px, 12vh, 120px);
        gap: 0.6rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .hero-visual { order: 2; border-radius: 16px; }
    .hero-content { order: 1; gap: 0.5rem; }

    .countdown { max-width: 100%; }

    .services { max-width: 100%; }

    .cta-row { width: 100%; }
    .cta-row .btn { flex: 1 1 auto; min-height: 42px; }

    .bg-glow { opacity: 0.16; }
    .bg-grid { background-size: 22px 22px; }
}

@media (max-width: 380px) {
    .hero { grid-template-rows: minmax(0, 1fr) 0; }
    .hero-visual { display: none; }
    .btn--header { padding: 0.45em 0.9em; }
}

@media (max-height: 560px) {
    .hero-desc, .status-text { display: none; }
    .hero-content { gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .route-line, .route-bus, .route-plane, .count-num.tick { animation: none; }
}
