/* Trekonda brand: teal + terracotta, from the logo */
:root {
    --tk-teal: #0F5C5A;
    --tk-teal-dark: #0A4341;
    --tk-teal-light: #E4F1F0;
    --tk-terra: #E07A3F;
    --tk-terra-dark: #C4642B;
    --tk-terra-light: #FBEEE5;
    --tk-sand: #FAF7F2;
    --tk-ink: #1F2A2A;
    --tk-muted: #5F6B6B;
    --tk-border: #E6E3DD;
    --tk-radius: 14px;
    --bs-primary: var(--tk-teal);
    --bs-link-color: var(--tk-teal);
    --bs-link-hover-color: var(--tk-teal-dark);
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-color: var(--tk-ink);
}

body { background: #fff; color: var(--tk-ink); font-family: var(--bs-body-font-family); }
h1, h2, h3, h4, h5, .display-5, .navbar-brand { font-family: "Poppins", var(--bs-body-font-family); font-weight: 600; letter-spacing: -0.01em; }
main { min-height: 60vh; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 500; padding: .55rem 1.25rem; }
.btn-sm { padding: .35rem .95rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1.05rem; }
.btn-primary { background: var(--tk-teal); border-color: var(--tk-teal); }
.btn-primary:hover, .btn-primary:focus { background: var(--tk-teal-dark); border-color: var(--tk-teal-dark); }
.btn-accent { background: var(--tk-terra); border-color: var(--tk-terra); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--tk-terra-dark); border-color: var(--tk-terra-dark); color: #fff; }
.btn-outline-primary { color: var(--tk-teal); border-color: var(--tk-teal); }
.btn-outline-primary:hover { background: var(--tk-teal); border-color: var(--tk-teal); }
.btn-link.nav-link { border: 0; }

/* Header */
.tk-header { background: #fff; border-bottom: 1px solid var(--tk-border); position: sticky; top: 0; z-index: 1030; }
.tk-header .navbar { padding: .6rem 0; }
.tk-header .nav-link { color: var(--tk-ink); font-weight: 500; }
.tk-header .nav-link:hover { color: var(--tk-teal); }
.tk-header .nav-link-accent { color: var(--tk-terra); }
.tk-header .btn-primary.btn-sm { padding: .4rem 1.1rem; }

/* Hero */
.tk-hero { position: relative; color: #fff; background: var(--tk-teal-dark); overflow: hidden; }
.tk-hero .tk-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.tk-hero .tk-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,67,65,.92) 0%, rgba(15,92,90,.65) 55%, rgba(224,122,63,.35) 100%); }
.tk-hero .container { position: relative; padding-top: 5.5rem; padding-bottom: 5rem; }
.tk-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; max-width: 14ch; }
.tk-hero p.lead { max-width: 52ch; opacity: .95; }
.tk-search { background: #fff; border-radius: 999px; padding: .4rem .4rem .4rem 1.2rem; display: flex; gap: .5rem; max-width: 640px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.tk-search input { border: 0; flex: 1; outline: none; font-size: 1rem; color: var(--tk-ink); background: transparent; }
.tk-chip { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: .3rem .85rem; border-radius: 999px; font-size: .85rem; }
.tk-chip:hover { background: rgba(255,255,255,.28); color: #fff; text-decoration: none; }

/* Sections */
.tk-section { padding: 4rem 0; }
.tk-section-sand { background: var(--tk-sand); }
.tk-section-teal { background: var(--tk-teal); color: #fff; }
.tk-section h2 { font-size: 1.8rem; margin-bottom: .35rem; }
.tk-section .tk-section-sub { color: var(--tk-muted); margin-bottom: 2rem; }
.tk-section-teal .tk-section-sub { color: rgba(255,255,255,.8); }

/* Cards */
.tk-card { border: 1px solid var(--tk-border); border-radius: var(--tk-radius); overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.tk-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,92,90,.12); }
.tk-card a { color: inherit; }
.tk-card a:hover { text-decoration: none; }
.tk-card-img { aspect-ratio: 4 / 3; background: var(--tk-teal-light) center/cover no-repeat; position: relative; }
.tk-card-img .tk-badge { position: absolute; top: .75rem; left: .75rem; }
.tk-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.tk-card-title { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.05rem; margin-bottom: .3rem; }
.tk-card-meta { color: var(--tk-muted); font-size: .85rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.tk-card-price { margin-top: auto; padding-top: .75rem; display: flex; justify-content: space-between; align-items: baseline; }
.tk-card-price strong { font-size: 1.1rem; color: var(--tk-teal); }
.tk-card-price small { color: var(--tk-muted); }
.tk-badge { display: inline-block; border-radius: 999px; padding: .25rem .7rem; font-size: .75rem; font-weight: 600; background: #fff; color: var(--tk-teal); }
.tk-badge-terra { background: var(--tk-terra); color: #fff; }
.tk-badge-teal { background: var(--tk-teal); color: #fff; }
.tk-badge-soft { background: var(--tk-teal-light); color: var(--tk-teal); }
.tk-badge-sand { background: var(--tk-terra-light); color: var(--tk-terra-dark); }
.tk-stars { color: var(--tk-terra); letter-spacing: 1px; }
.tk-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--tk-teal-light) center/cover; display: inline-flex; align-items: center; justify-content: center; color: var(--tk-teal); font-weight: 700; font-family: "Poppins", sans-serif; font-size: 1.4rem; flex-shrink: 0; }
.tk-avatar-lg { width: 120px; height: 120px; font-size: 2.2rem; }
.tk-avatar-sm { width: 44px; height: 44px; font-size: 1rem; }

/* Steps */
.tk-step { text-align: center; padding: 1.5rem; }
.tk-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--tk-terra); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }
.tk-step h5 { margin-bottom: .5rem; }
.tk-step p { color: var(--tk-muted); margin: 0; }

/* Page header */
.tk-page-head { background: var(--tk-teal-light); padding: 2.5rem 0; }
.tk-page-head h1 { font-size: 2rem; margin: 0; color: var(--tk-teal-dark); }
.tk-page-head p { color: var(--tk-muted); margin: .4rem 0 0; }

/* Filters */
.tk-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.tk-filters a { border: 1px solid var(--tk-border); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; color: var(--tk-ink); background: #fff; }
.tk-filters a.active, .tk-filters a:hover { background: var(--tk-teal); color: #fff; border-color: var(--tk-teal); text-decoration: none; }

/* Tour detail */
.tk-cover { border-radius: var(--tk-radius); aspect-ratio: 16 / 7; background: var(--tk-teal-light) center/cover; }
.tk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.tk-fact { background: var(--tk-sand); border-radius: 10px; padding: .75rem 1rem; }
.tk-fact small { display: block; color: var(--tk-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.tk-fact strong { font-weight: 600; }
.tk-box { border: 1px solid var(--tk-border); border-radius: var(--tk-radius); padding: 1.5rem; background: #fff; }
.tk-box-sticky { position: sticky; top: 90px; }
.tk-price-big { font-family: "Poppins", sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--tk-teal); }
.tk-review { border-top: 1px solid var(--tk-border); padding: 1rem 0; }
.tk-prose { white-space: pre-line; line-height: 1.7; }

/* Forms */
.form-control, .form-select { border-radius: 10px; border-color: var(--tk-border); padding: .6rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--tk-teal); box-shadow: 0 0 0 .2rem rgba(15,92,90,.15); }
.form-check-input:checked { background-color: var(--tk-teal); border-color: var(--tk-teal); }
.tk-auth { max-width: 460px; margin: 3rem auto; }
.text-danger, .field-validation-error { color: #B23A3A !important; font-size: .85rem; }

/* Dashboard */
.tk-dash { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0; }
.tk-dash-nav a { display: block; padding: .6rem .9rem; border-radius: 10px; color: var(--tk-ink); }
.tk-dash-nav a.active, .tk-dash-nav a:hover { background: var(--tk-teal-light); color: var(--tk-teal-dark); text-decoration: none; }
.tk-stat { background: var(--tk-sand); border-radius: var(--tk-radius); padding: 1.25rem; }
.tk-stat strong { display: block; font-family: "Poppins", sans-serif; font-size: 2rem; color: var(--tk-teal); line-height: 1; }
.tk-stat span { color: var(--tk-muted); font-size: .9rem; }
.table > :not(caption) > * > * { padding: .75rem .6rem; }
.tk-plan { border: 2px solid var(--tk-border); border-radius: var(--tk-radius); padding: 1.75rem; height: 100%; }
.tk-plan.tk-plan-pro { border-color: var(--tk-terra); }
.tk-plan .price { font-family: "Poppins", sans-serif; font-size: 2rem; font-weight: 700; color: var(--tk-teal); }
@media (max-width: 991px) { .tk-dash { grid-template-columns: 1fr; } .tk-dash-nav { display: flex; flex-wrap: wrap; gap: .25rem; } }

/* Footer */
.tk-footer { background: var(--tk-teal-dark); color: rgba(255,255,255,.85); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.tk-footer a { color: #fff; }
.tk-footer h6 { color: #fff; font-family: "Poppins", sans-serif; margin-bottom: .75rem; }
.tk-footer li { margin-bottom: .35rem; }
.tk-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: rgba(255,255,255,.6); }

/* Activity tiles */
.tk-activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.tk-activity { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; border-radius: var(--tk-radius); background: var(--tk-teal-light) center/cover; color: #fff; padding: .9rem; overflow: hidden; transition: transform .15s ease; }
.tk-activity::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,67,65,.85) 0%, rgba(10,67,65,.1) 60%); }
.tk-activity:hover { transform: translateY(-3px); text-decoration: none; color: #fff; }
.tk-activity-name { position: relative; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1rem; }
.tk-activity-count { position: relative; font-size: .8rem; opacity: .85; }
.tk-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--tk-teal-light); }
.tk-money { background: var(--tk-terra-light); border-radius: 10px; padding: .75rem 1rem; font-size: .9rem; }

/* Header: keep the menu on a single line */
.tk-header .navbar-nav .nav-link { white-space: nowrap; padding: .5rem .55rem; font-size: .95rem; }
.tk-header .navbar-brand img { height: 40px; }
@media (min-width: 992px) and (max-width: 1299px) { .tk-header .navbar-nav .nav-link { font-size: .88rem; padding: .5rem .45rem; } .tk-header .btn-primary.btn-sm { padding: .35rem .8rem; font-size: .85rem; } }

/* Language switcher with flags */
.tk-lang img, .tk-lang-menu img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -2px; margin-right: .25rem; }
.tk-lang-menu .dropdown-item { padding: .45rem 1rem; }

.tk-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: -2px; }
.tk-flag-lg { width: 34px; height: 24px; vertical-align: -3px; margin-right: .3rem; }

/* ---------- Responsive / mobile ---------- */
@media (max-width: 991px) {
    .tk-header .navbar-collapse { padding: .75rem 0 .5rem; border-top: 1px solid var(--tk-border); margin-top: .5rem; }
    .tk-header .navbar-nav .nav-link { padding: .6rem .25rem; font-size: 1.05rem; }
    .tk-header .btn-primary.btn-sm { display: inline-block; margin: .5rem 0 0; }
    .tk-header .dropdown-menu { border: 0; box-shadow: none; padding-left: .5rem; }
    .tk-box-sticky { position: static; }
    .tk-page-head .container { flex-direction: column; align-items: flex-start !important; }
    .tk-page-head .container.d-flex.gap-4 { flex-direction: row; }
    main { padding-bottom: 64px; }
}
@media (max-width: 767px) {
    .tk-hero .container { padding-top: 3rem; padding-bottom: 2.5rem; }
    .tk-hero h1 { max-width: none; }
    .tk-search { flex-direction: column; border-radius: 16px; padding: .5rem; }
    .tk-search input { padding: .6rem .5rem; }
    .tk-search .btn { width: 100%; }
    .tk-section { padding: 2.5rem 0; }
    .tk-activities { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
    .tk-activity { padding: .6rem; }
    .tk-activity-name { font-size: .9rem; }
    .tk-facts { grid-template-columns: repeat(2, 1fr); }
    .tk-cover { aspect-ratio: 16 / 10; }
    .tk-page-head h1 { font-size: 1.5rem; }
    .tk-avatar-lg { width: 84px; height: 84px; font-size: 1.6rem; }
    .table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .tk-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin: 1rem 0; -webkit-overflow-scrolling: touch; }
    .tk-filters a { flex: 0 0 auto; }
    .tk-footer { padding-top: 2rem; }
}

/* Mobile bottom navigation */
.tk-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--tk-border); display: flex; justify-content: space-around; padding: .35rem 0 max(.35rem, env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.tk-bottom-nav a { flex: 1; text-align: center; color: var(--tk-muted); font-size: .7rem; text-decoration: none; line-height: 1.1; }
.tk-bottom-nav a span { display: block; font-size: 1.35rem; line-height: 1.2; }
.tk-bottom-nav a.active, .tk-bottom-nav a:hover { color: var(--tk-teal); text-decoration: none; }
.tk-bottom-nav a.accent { color: var(--tk-terra); }
/* Mobile "book" floating button on tour pages */
.tk-book-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: 72px; z-index: 1041; box-shadow: 0 8px 24px rgba(224,122,63,.45); }

/* Side margins on small screens */
@media (max-width: 767px) {
    .container { padding-left: 1.1rem; padding-right: 1.1rem; }
    .tk-hero .tk-chip, .tk-hero h1, .tk-hero p.lead { margin-left: 0; }
    .tk-box { padding: 1.1rem; }
    .tk-card-body { padding: .9rem 1rem 1rem; }
    .tk-dash { padding: 1.25rem 0; gap: 1rem; }
    .tk-money { padding: .6rem .8rem; }
}
.tk-bottom-nav a { font-size: .64rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 .15rem; }
.tk-book-fab { white-space: nowrap; }

/* Cookie banner */
.tk-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: #fff; border-top: 1px solid var(--tk-border); box-shadow: 0 -8px 24px rgba(0,0,0,.08); padding: .9rem 0; font-size: .9rem; }
.tk-cookies p { color: var(--tk-ink); }
@media (max-width: 991px) { .tk-cookies { bottom: 60px; } .tk-cookies .d-flex.gap-2 { width: 100%; } .tk-cookies .btn { flex: 1; } }

/* Autocomplete */
.tk-ac { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--tk-border); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.14); overflow: hidden; z-index: 1060; text-align: left; }
.tk-ac-item { display: flex; gap: .7rem; align-items: center; padding: .55rem .9rem; color: var(--tk-ink); text-decoration: none; border-top: 1px solid var(--tk-sand); }
.tk-ac-item:first-child { border-top: 0; }
.tk-ac-item:hover, .tk-ac-item.active { background: var(--tk-teal-light); color: var(--tk-teal-dark); text-decoration: none; }
.tk-ac-icon { width: 1.6rem; text-align: center; font-size: 1.1rem; }
.tk-ac-label { display: block; font-weight: 500; }
.tk-ac-item small { color: var(--tk-muted); }
/* Star rating input */
.tk-rating { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.tk-rating input { display: none; }
.tk-rating label { font-size: 1.7rem; color: #D8D4CC; cursor: pointer; line-height: 1; }
.tk-rating input:checked ~ label, .tk-rating label:hover, .tk-rating label:hover ~ label { color: var(--tk-terra); }

/* Share bar */
.tk-share { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.tk-share-label { color: var(--tk-muted); font-size: .85rem; margin-right: .2rem; }
.tk-share-btn { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--tk-border); background: #fff; color: var(--tk-ink); border-radius: 999px; padding: .3rem .75rem; font-size: .82rem; font-weight: 500; text-decoration: none; cursor: pointer; }
.tk-share-btn:hover { background: var(--tk-teal-light); color: var(--tk-teal-dark); text-decoration: none; }
.tk-share-btn.wa:hover { background: #dcf8c6; color: #075e54; }
.tk-share-btn.fb:hover { background: #e7f0ff; color: #1877f2; }
.tk-share-btn.pdf { background: var(--tk-terra-light); color: var(--tk-terra-dark); border-color: transparent; }
