/* ── Gypsy Travels – site.css ─────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --gold:        #c9a84c;
    --gold-light:  #e8c87a;
    --cream:       #f5f0e8;
    --charcoal:    #1a1a1a;
    --charcoal-2:  #2c2c2c;
    --charcoal-3:  #3d3d3d;
    --text-main:   #1a1a1a;
    --text-muted:  #6b6b6b;
    --white:       #ffffff;
    --border:      rgba(0,0,0,.09);
    --shadow-sm:   0 2px 12px rgba(0,0,0,.07);
    --shadow-md:   0 8px 32px rgba(0,0,0,.12);
    --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
    --radius:      4px;
    --radius-lg:   8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--white);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.gypsy-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    padding: 0;
    transition: background .35s, box-shadow .35s;
}

.gypsy-nav.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.gypsy-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.gypsy-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color .3s;
    user-select: none;
}

.gypsy-nav.scrolled .gypsy-brand { color: var(--charcoal); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}

.nav-links a:hover { color: var(--gold-light); }

.gypsy-nav.scrolled .nav-links a { color: var(--charcoal-3); }
.gypsy-nav.scrolled .nav-links a:hover { color: var(--gold); }

.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: var(--radius);
    padding: .4rem .6rem;
    cursor: pointer;
    color: white;
}

.gypsy-nav.scrolled .navbar-toggler { border-color: var(--border); color: var(--charcoal); }

@media (max-width: 768px) {
    .navbar-toggler { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--charcoal) !important; padding: .75rem 1.5rem; width: 100%; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,.55) 0%,
        rgba(10,10,10,.35) 50%,
        rgba(10,10,10,.7)  100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(201,168,76,.4);
    padding-bottom: .4rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(.9rem, 2vw, 1.1rem);
    font-weight: 300;
    color: rgba(255,255,255,.75);
    letter-spacing: .08em;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--gold);
    color: var(--charcoal);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .9rem 2.2rem;
    border-radius: var(--radius);
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(201,168,76,.35);
}

.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,168,76,.45);
    color: var(--charcoal);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.5);
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── Stats bar ───────────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--charcoal);
    padding: 2.5rem 0;
}

.stats-bar .stat { text-align: center; }
.stats-bar .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: .3rem;
}
.stats-bar .stat-lbl {
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

/* ── Section chrome ──────────────────────────────────────────────────────── */
.section-label {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: .75rem;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--charcoal);
    margin-bottom: .5rem;
}

.section-rule {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem 0 0;
}

/* ── Destination cards ───────────────────────────────────────────────────── */
.destinations-section {
    padding: 6rem 0;
    background: var(--cream);
}

.dest-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s;
    height: 100%;
}

.dest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.dest-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #ddd;
}

.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.dest-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e0d0, #d4c9b0);
    color: rgba(0,0,0,.2);
    font-size: 3rem;
}

.dest-card-badge {
    position: absolute;
    top: .85rem;
    right: .85rem;
    background: var(--gold);
    color: var(--charcoal);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .65rem;
    border-radius: 2px;
}

.dest-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
}

.dest-card-continent {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .35rem;
}

.dest-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: .5rem;
}

.dest-card-arrow {
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: gap .2s, color .2s;
}

.dest-card:hover .dest-card-arrow {
    gap: .6rem;
    color: var(--gold);
}

/* ── Page hero (country / region / city) ─────────────────────────────────── */
.page-hero {
    height: 480px;
    position: relative;
    display: flex;
    align-items: flex-end;
    background: var(--charcoal);
}

.page-hero .cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    width: 100%;
}

.page-hero.short { height: 340px; }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.gypsy-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gypsy-breadcrumb a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}

.gypsy-breadcrumb a:hover { color: var(--gold-light); }
.gypsy-breadcrumb .sep { color: rgba(255,255,255,.3); }
.gypsy-breadcrumb .current { color: rgba(255,255,255,.9); }

/* ── Content panels ──────────────────────────────────────────────────────── */
.content-section { padding: 5rem 0; }

.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* ── Region / City cards ─────────────────────────────────────────────────── */
.place-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}

.place-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.place-card-img {
    height: 160px;
    overflow: hidden;
    background: #e8e0d0;
}

.place-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.place-card:hover .place-card-img img { transform: scale(1.07); }

.place-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e0d0, #d4c9b0);
    color: rgba(0,0,0,.2);
    font-size: 2.5rem;
}

.place-card-body { padding: 1.1rem 1.25rem 1.35rem; }

.place-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: .3rem;
}

.place-card-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Post cards ──────────────────────────────────────────────────────────── */
.post-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.25rem;
}

.post-card img { width: 100%; height: 220px; object-fit: cover; }

.post-card-body { padding: 1.4rem; }

.post-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: .5rem;
}

.post-card-meta {
    font-size: .75rem;
    color: var(--text-muted);
    letter-spacing: .05em;
}

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    transition: transform .3s;
}

.gallery-img:hover { transform: scale(1.02); }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonial-card {
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.75rem;
    height: 100%;
}

.testimonial-stars { color: var(--gold); letter-spacing: .1em; margin-bottom: .75rem; }
.testimonial-text { font-style: italic; color: var(--charcoal-2); margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

/* ── OSM map ─────────────────────────────────────────────────────────────── */
.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ── Visited badge ───────────────────────────────────────────────────────── */
.visited-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--gold);
    color: var(--charcoal);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    border-radius: 2px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.gypsy-footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: .5rem;
}

.footer-tagline {
    font-size: .75rem;
    color: rgba(255,255,255,.35);
    letter-spacing: .15em;
    text-transform: uppercase;
}

.footer-rule {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-copy {
    font-size: .75rem;
    color: rgba(255,255,255,.3);
    letter-spacing: .06em;
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Selection ───────────────────────────────────────────────────────────── */
::selection { background: rgba(201,168,76,.25); }

/* ── Logo in nav ─────────────────────────────────────────────────────────── */
.nav-logo {
    height: 52px;
    width: auto;
    display: block;
    transition: opacity .2s;
    /* slight drop-shadow so it reads on dark AND light backgrounds */
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

.gypsy-brand { display: block; line-height: 1; }

.nav-logo:hover { opacity: .88; }
