/* =========================================
   TRAVELLCODE UI SYSTEM
   Premium Travel SaaS Architecture
========================================= */

/* =========================================
   BASE
========================================= */

@import url('./base/reset.css');
@import url('./base/variables.css');
@import url('./base/typography.css');

/* =========================================
   LAYOUT
========================================= */

@import url('./layout/container.css');
@import url('./layout/grid.css');
@import url('./layout/site-header.css');
@import url('./layout/footer.css');

/* =========================================
   COMPONENTS
========================================= */

@import url('./components/buttons.css');
@import url('./components/cards.css');
@import url('./components/forms.css');
@import url('./components/modals.css');
@import url('./components/badges.css');
@import url('./components/map.css?v=12');

/* =========================================
   PAGES
========================================= */

@import url('./pages/home.css');
@import url('./pages/profile.css');
@import url('./pages/tours.css');
@import url('./pages/admin.css');

/* =========================================
   UTILITIES
========================================= */

@import url('./utilities/spacing.css');
@import url('./utilities/helpers.css');
@import url('./utilities/effects.css');
@import url('./utilities/animations.css');
@import url('./utilities/visibility.css');
@import url('./utilities/responsive.css');

/* =========================================
   ROOT APP SETTINGS
========================================= */

:root {
    color-scheme: light;
}

/* =========================================
   GLOBAL APP
========================================= */

html {
    scroll-behavior: smooth;

    text-size-adjust: 100%;

    -webkit-text-size-adjust: 100%;

    scroll-padding-top:
        var(--header-height, 80px);
}

body {
    min-height: 100vh;

    overflow-x: clip;

    background:
        var(--color-background);

    color:
        var(--color-text);

    font-family:
        var(--font-primary);

    text-rendering:
        optimizeLegibility;

    -webkit-font-smoothing:
        antialiased;

    -moz-osx-font-smoothing:
        grayscale;
}

/* =========================================
   GLOBAL MEDIA
========================================= */

img,
picture,
video,
canvas,
svg {
    display: block;

    max-width: 100%;
}

img {
    height: auto;
}

/* =========================================
   GLOBAL LINKS
========================================= */

a {
    color: inherit;

    text-decoration: none;

    transition:
        color var(--transition-base),
        opacity var(--transition-base);
}

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

button {
    font: inherit;

    color: inherit;

    border: none;

    background: none;

    cursor: pointer;
}

/* =========================================
   GLOBAL FORMS
========================================= */

input,
textarea,
select {
    font: inherit;
}

/* =========================================
   GLOBAL SELECTION
========================================= */

::selection {
    background:
        rgba(212, 175, 55, 0.25);

    color:
        var(--color-text);
}

/* =========================================
   GLOBAL SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 6px;

    height: 6px;

}



::-webkit-scrollbar-track {

    background: transparent;

}



::-webkit-scrollbar-thumb {

    background: linear-gradient(180deg, #FF6B00, #FF8C3A);

    border-radius: 999px;

}



::-webkit-scrollbar-thumb:hover {

    background: linear-gradient(180deg, #e55f00, #FF6B00);

}


/* =========================================
   APP WRAPPER
========================================= */

.app {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 100vh;
}

/* =========================================
   MAIN CONTENT
========================================= */

.main-content {
    flex: 1 1 auto;
}

/* =========================================
   SECTION DEFAULT
========================================= */

.section {
    position: relative;

    padding-block:
        clamp(4rem, 8vw, 8rem);
}

/* =========================================
   CONTAINER DEFAULT
========================================= */

.container {
    width: min(100% - 2rem, 1440px);

    margin-inline: auto;
}

/* =========================================
   PAGE TRANSITIONS
========================================= */

.page-transition {
    animation:
        fadePage 500ms ease;
}

@keyframes fadePage {

    from {
        opacity: 0;

        transform:
            translateY(10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

/* =========================================
   LOADING STATE
========================================= */

.is-loading {
    pointer-events: none;

    opacity: 0.7;
}

/* =========================================
   GPU ACCELERATION
========================================= */

.gpu {
    transform:
        translateZ(0);

    will-change:
        transform;
}

/* =========================================
   SAFE AREAS
========================================= */

.safe-top {
    padding-top:
        env(safe-area-inset-top);
}

.safe-bottom {
    padding-bottom:
        env(safe-area-inset-bottom);
}

/* =========================================
   FOCUS STATES
========================================= */

:focus-visible {
    outline:
        2px solid var(--color-primary);

    outline-offset:
        2px;
}

/* =========================================
   MOBILE TAP HIGHLIGHT
========================================= */

* {
    -webkit-tap-highlight-color:
        transparent;
}

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

@media (max-width: 768px) {

    html {
        overflow-x: clip;
    }

    body {
        overflow-x: clip;
    }

    .section {
        padding-block:
            4rem;
    }

    .container {
        width:
            min(100% - 1.5rem, 100%);
    }

    ::-webkit-scrollbar {
        width: 6px;

        height: 6px;
    }
}

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

@media (max-width: 480px) {

    html {
        font-size: 14px;
    }

    .section {
        padding-block:
            3rem;
    }

    .container {
        width:
            min(100% - 1rem, 100%);
    }
}

/* =========================================
   LARGE DISPLAYS
========================================= */

@media (min-width: 1600px) {

    .container {
        max-width: 1520px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================
   PRINT
========================================= */

@media print {

    body {
        background: #ffffff;
    }

    .no-print {
        display: none !important;
    }
}



.h-feature__icon .lucide,

.h-hero__card-icon .lucide {

    color: #FF6B00;

}




.h-hero__rating-stars .lucide,

.h-review__stars .lucide {

    color: #FF6B00;

    fill: #FF6B00;

    width: 14px;

    height: 14px;

}




/* ===== TC BREADCRUMB ===== */

.tc-breadcrumb {

    display: flex;

    align-items: center;

    gap: 0.5rem;

    font-size: 0.72rem;

    color: rgba(255,255,255,0.45);

    flex-wrap: wrap;

}

.tc-breadcrumb__item { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }

.tc-breadcrumb__item:hover { color: #FF6B00; }

.tc-breadcrumb__item--current { color: rgba(255,255,255,0.7); }

.tc-breadcrumb__sep { color: rgba(255,255,255,0.25); }



/* ===== TC PAGE HERO ===== */

.tc-page-hero {

    position: relative;

    min-height: 50vh;

    display: flex;

    align-items: flex-end;

    background-size: cover;

    background-position: center;

    background-color: #071B3B;

}

.tc-page-hero__overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(8,28,51,0.92) 0%, rgba(8,28,51,0.3) 60%);

}

.tc-page-hero__inner {

    position: relative;

    z-index: 1;

    padding-bottom: 3rem;

}

.tc-page-hero__tag {

    font-size: 0.65rem;

    font-weight: 800;

    color: #FF6B00;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    margin-bottom: 0.75rem;

}

.tc-page-hero__title {

    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 900;

    color: white;

    letter-spacing: -0.04em;

    line-height: 1.1;

    margin-bottom: 0.75rem;

    font-family: "Inter", sans-serif;

}

.tc-page-hero__subtitle {

    font-size: 1rem;

    color: rgba(255,255,255,0.6);

    max-width: 600px;

    margin-bottom: 1.5rem;

    line-height: 1.6;

}

.tc-page-hero__btn {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 12px 24px;

    background: linear-gradient(135deg, #FF7A00, #FF5C00);

    color: white;

    border-radius: 999px;

    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 8px 24px rgba(255,107,0,0.35);

    transition: all 0.28s cubic-bezier(0.22,1,0.36,1);

}

.tc-page-hero__btn:hover {

    transform: translateY(-3px);

    box-shadow: 0 16px 40px rgba(255,107,0,0.45);

    color: white;

}




/* TC Section — общий padding для секций Page Builder */

.tc-section {

    padding: 4rem 0;

}



.tc-section + .tc-section {

    padding-top: 0;

}



.h-title {

    font-size: clamp(1.6rem, 3vw, 2.2rem);

    font-weight: 900;

    color: #0A1628;

    letter-spacing: -0.03em;

    font-family: "Inter", sans-serif;

    margin-bottom: 0.5rem;

}



.tc-section__sub {

    font-size: 0.9rem;

    color: #888;

    margin-bottom: 1.5rem;

    max-width: 600px;

}




/* CTA section fix */

.jm-cta__inner {

    max-width: 1320px;

    margin: 0 auto;

    padding: 3rem clamp(1rem, 4vw, 2rem);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

    flex-wrap: wrap;

}

