/* Travel planning landing page (Georgia). Loaded only on /travelplanning. */

/*********************************************
  Georgia Landing Page
*********************************************/

/* ── Hero ─────────────────────────────────── */
.geo-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    background-image: url('/img/georgien_hero.webp');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 18vh var(--spacing-xl) var(--spacing-xl);
}

.geo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.04) 100%);
}

.geo-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.geo-hero-badge {
    display: flex;
    align-items: center;
    gap: 0.2em;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.geo-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.geo-badge-text span:first-child {
    font-family: var(--font-family-heading);
    font-size: clamp(1.1em, 2vw, 1.5em);
    letter-spacing: 0.08em;
}

.geo-badge-text span:last-child {
    font-size: clamp(0.8em, 1.3vw, 1em);
    opacity: 0.85;
}

.geo-badge-icon {
    height: 100px;
    width: auto;
    flex-shrink: 0;
    filter: var(--filter-orange-icon);
}

.geo-hero-title {
    font-family: var(--font-family-base);
    font-weight: 400;
    font-size: clamp(2.4em, 6.5vw, 5em);
    line-height: 1.1;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    text-align: center;
}

.geo-hero-title strong {
    font-family: var(--font-family-heading);
    display: block;
}

.geo-hero-sub {
    font-size: clamp(0.9em, 1.5vw, 1.1em);
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-style: italic;
}

/* ── Section spacing ─────────────────────── */
/* Spacing comes from the gap of section > .container; the large
   image areas become tiles with the same radius as .sectionbox. */
.geo-hero,
.geo-features-combined,
.geo-cta,
.geo-contact {
    margin-bottom: 0;
    border-radius: var(--radius-tile);
    overflow: hidden;
}

.geo-features-combined img,
.geo-cta img,
.geo-contact img,
.geo-intro-img img,
.geo-price-img-header img {
    border-radius: 0;
}

/* ── Stacked Section Container (landing page) ─ */
.sectionbox--stack {
    width: 100%;
    padding: var(--tile-padding);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.geo-center { text-align: center; }

.geo-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9em;
    text-align: center;
    max-width: 700px;
    align-self: center;
    margin: calc(-1 * var(--spacing-md)) 0 0;
}

/* ── Intro Section ────────────────────────── */
.geo-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    width: 100%;
}

.geo-intro-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.geo-intro-heading {
    font-size: clamp(1.8em, 3vw, 2.6em);
    color: var(--color-ink);
    margin: var(--spacing-xs) 0 0;
    text-align: left;
}

.geo-route-icon {
    height: 100px;
    width: auto;
    display: block;
    align-self: flex-start;
    margin-bottom: var(--spacing-xs);
    filter: var(--filter-orange-icon);
}

.geo-intro-text h3 {
    margin-top: var(--spacing-xs);
    font-size: clamp(1.4em, 2.2vw, 1.9em);
}

.geo-intro-text .btn-outline { align-self: flex-start; }

.geo-intro-text p {
    text-align: left;
    hyphens: auto;
    font-size: 1.1em;
    line-height: 1.7;
}

.geo-intro-img {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    min-height: 300px;
}

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

/* ── Features + Betty: 4-column combined block ── */
.geo-features-combined {
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 100%;
    overflow: hidden;
}

/* Left: Betty panel (brown) */
.geo-betty-panel {
    background-color: var(--color-espresso);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    text-align: center;
}

.geo-betty-wrap {
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-bg-sand);
    flex-shrink: 0;
    outline: 1px solid var(--color-bg-sand);
    outline-offset: 6px;
}

.geo-betty-portrait {
    display: block;
    width: 100%;
    height: auto;
    max-width: 288px;
}

.geo-betty-panel h2 {
    color: var(--color-orange);
    margin: 0;
    font-size: clamp(1.3em, 2vw, 1.8em);
}

.geo-betty-panel p {
    color: rgba(255,255,255,0.88);
    font-size: 0.9em;
    text-align: left;
    hyphens: auto;
    margin: 0;
}

/* Right: 3 destination cards (image-only with overlay title) */
.geo-cards-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    align-content: center;
    background-color: #818970;
}

.geo-dest-card {
    background: transparent;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.geo-dest-card-img {
    overflow: hidden;
    aspect-ratio: 1 / 1.4;
    flex-shrink: 0;
}

.geo-dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-medium);
}

.geo-dest-card:hover .geo-dest-card-img img {
    transform: scale(1.06);
}

.geo-dest-card-body {
    padding: var(--spacing-md);
    flex: 1;
    text-align: left;
}

.geo-dest-card-body h3 {
    color: #fff;
    margin: 0 0 var(--spacing-xs);
    font-size: 1.05em;
}

.geo-dest-card-body p {
    font-size: 0.88em;
    margin: 0;
    color: rgba(255,255,255,0.9);
    text-align: left;
    line-height: 1.5;
}

/* ── CTA Section ──────────────────────────── */
.geo-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 460px;
}

.geo-cta-text {
    background: var(--color-bg-white);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 1.15em;
}

.geo-cta-text h2 {
    color: var(--color-ink);
    margin: 0;
    font-size: clamp(1.8em, 3vw, 2.6em);
}

.geo-cta-img {
    overflow: hidden;
}

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

.geo-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.geo-checklist li {
    color: var(--color-text-primary);
    padding-left: 1.8em;
    position: relative;
    font-size: 0.95em;
}

.geo-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
    font-size: 1.1em;
}

.geo-cta-answer {
    color: var(--color-text-primary);
    font-size: 1em;
    margin: 0;
}

/* ── Process steps ────────────────────────── */
/* An ordered list whose number is real information. list-style: none drops
   the list role in Safari, hence role="list" in the markup; the number comes
   from a CSS counter in an orange ring (marker), the digit itself stays ink.
   System sans for the digit: Gagalin's numerals are small and rough. */
.geo-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: geo-step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.geo-step {
    counter-increment: geo-step;
    background: var(--color-bg-sand);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: var(--spacing-sm);
}

.geo-step::before {
    content: counter(geo-step);
    display: grid;
    place-items: center;
    width: 2.2em;
    height: 2.2em;
    border: 2px solid var(--color-orange);
    border-radius: 50%;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--color-ink);
    margin-bottom: var(--spacing-xs);
}

.geo-step h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--color-ink);
}

.geo-step p {
    margin: 0;
    font-size: 0.92em;
    line-height: 1.55;
    /* Narrow columns: hyphenate long words only, not "Ange-bot" */
    hyphenate-limit-chars: 10 4 4;
}

/* A flex child stretches to full width; the CTA keeps its pill size */
.geo-steps-cta {
    align-self: flex-start;
    margin-top: 0;
}

/* ── Pricing ──────────────────────────────── */
.geo-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
    align-items: stretch;
}

.geo-price-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.geo-price-img-header {
    position: relative;
    aspect-ratio: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.geo-price-img-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.geo-price-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: var(--spacing-md);
    gap: 0.15em;
}

.geo-price-name {
    font-family: var(--font-family-heading);
    font-size: 1.15em;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8), 0 2px 12px rgba(0,0,0,0.6);
    margin: 0;
}

.geo-price-amount {
    font-family: var(--font-family-heading);
    font-size: 1.9em;
    color: rgba(255, 235, 200, 0.92);
    text-align: center;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
    margin: 0;
}

/* Card body below image */
.geo-price-card-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
}

.geo-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.geo-price-list li {
    padding: 0.4em 0 0.4em 1.4em;
    position: relative;
    font-size: 0.88em;
    border-bottom: 1px solid var(--color-bg-primary);
    hyphens: auto;
}

.geo-price-list li:last-child { border-bottom: none; }

.geo-price-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-orange);
}

.geo-price-card .btn {
    text-align: center;
}

/* Notes below the three cards (delivery, payment, booking) */
.geo-pricing-notes {
    max-width: 700px;
    align-self: center;
    text-align: center;
    color: var(--color-text-on-dark);
    font-size: 0.95em;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.geo-pricing-notes p {
    margin: 0;
    text-align: center;
    /* Centered lines: balanced breaks instead of hyphenation */
    hyphens: manual;
    text-wrap: balance;
}

.geo-pricing-notes p:first-child { font-weight: 600; }

/* ── Section heading (process, services, FAQ) ── */
.geo-section-heading {
    font-size: clamp(1.8em, 3vw, 2.6em);
    color: var(--color-ink);
    margin: 0;
}

/* ── Services ─────────────────────────────── */
.geo-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
}

.geo-service {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-md);
}

.geo-service-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.geo-service-body h4 {
    color: var(--color-ink);
    margin: 0;
    font-size: 1.1em;
}

.geo-service-body p {
    font-size: 0.9em;
    margin: 0;
    hyphens: auto;
    color: var(--color-text-primary);
    line-height: 1.55;
}

.geo-service-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

/* ── FAQ ("Gut zu wissen") ────────────────── */
/* Native <details>: works without JS and opens with Enter/Space.
   Display stays block (flex on summary is unreliable in Safari); the chevron
   is positioned absolutely. */
.geo-faq {
    max-width: 52rem;
    border-top: 1px solid var(--color-hairline);
}

.geo-faq-item {
    border-bottom: 1px solid var(--color-hairline);
}

.geo-faq-item > summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: var(--spacing-md) 2.25em var(--spacing-md) 0;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-ink);
    transition: color var(--transition-fast);
}

.geo-faq-item > summary::-webkit-details-marker { display: none; }

.geo-faq-item > summary::after {
    content: '';
    position: absolute;
    right: 0.4em;
    top: 50%;
    width: 0.55em;
    height: 0.55em;
    border-right: 2px solid var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
    transform: translateY(-70%) rotate(45deg);
    transition: transform var(--transition-fast);
}

.geo-faq-item[open] > summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.geo-faq-item > summary:hover { color: var(--color-orange-ink); }

/* Answer: the heading rule in base.css does not apply (it follows the
   summary, not a heading), so the component sets its own spacing. */
.geo-faq-item > p {
    margin: 0;
    padding: 0 2.25em var(--spacing-md) 0;
    line-height: 1.6;
    hyphenate-limit-chars: 10 4 4;
}

/* ── Contact Section ──────────────────────── */
.geo-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 380px;
}

.geo-contact-banner {
    position: relative;
    background-image: url('/img/georgien_batumi.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-sm);
}

.geo-contact-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%);
    pointer-events: none;
}

.geo-contact-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.geo-contact-banner-inner .geo-hero-badge {
    margin-bottom: 0;
}

.geo-contact-tagline {
    font-size: clamp(1.1em, 2.4vw, 1.9em);
    white-space: nowrap;
    padding-left: var(--spacing-sm);
    font-style: italic;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.geo-contact-info {
    background: var(--color-bg-sand);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-lg);
}

.geo-contact-block {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.geo-contact-block strong {
    font-size: 1.1em;
    color: var(--color-brown);
}

.geo-address {
    font-style: normal;
    color: var(--color-text-primary);
    line-height: 1.7;
    font-size: 0.95em;
}

.geo-contact-block p {
    margin: 0;
    font-size: 0.95em;
    color: var(--color-text-primary);
}

/* Text links only: buttons keep the .btn colors (contrast rule) */
.geo-contact-block a:not(.btn) {
    color: var(--color-brown);
}

.geo-contact-block a:not(.btn):hover {
    color: var(--color-orange);
}

/* ── Responsive ───────────────────────────── */
@media screen and (max-width: 1024px) {
    /* Four step cards get too narrow below this width */
    .geo-steps { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 900px) {
    .geo-intro { grid-template-columns: 1fr; }
    .geo-intro-img { min-height: 260px; }
    .geo-features-combined { grid-template-columns: 1fr; }
    .geo-cards-panel { grid-template-columns: repeat(3, 1fr); }
    .geo-pricing { grid-template-columns: 1fr; }
    .geo-services { grid-template-columns: 1fr; }
    .sectionbox--stack { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
    .geo-cta { grid-template-columns: 1fr; }
    .geo-cta-img { min-height: 280px; }
    .geo-contact { grid-template-columns: 1fr; }
    .geo-contact-banner { min-height: 280px; }
    .geo-contact-tagline { white-space: normal; }
}

@media screen and (max-width: 600px) {
    .geo-cards-panel { grid-template-columns: 1fr; }
    .geo-dest-card-img { aspect-ratio: 16 / 9; }
    .geo-hero-title { font-size: clamp(2em, 9vw, 3.5em); }
    .geo-hero { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
    /* A 200px image plus text does not fit into ~330px: shrink the image instead of overflowing */
    .geo-service-img { width: 100px; height: 100px; }
    /* One step per row: the number moves to the left of title and text */
    .geo-steps { grid-template-columns: 1fr; }
    .geo-step {
        grid-template-columns: auto 1fr;
        column-gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    .geo-step::before { grid-row: span 2; margin-bottom: 0; }
    .geo-faq-item > p { padding-right: 0; }
}
