/* ═══════════════════════════════════════════════
   Perfect Guide - Global Styles
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --bg:       #fffdf8;
    --bg2:      #fff8ee;
    --text:     #18110a;
    --t2:       #6b5540;
    --t3:       #a08060;
    --bdr:      #e8d5b5;
    --navy:     #0d2650;
    --gold:     #c8911a;
    --goldbg:   #fdecc8;
    --goldt:    #7a5500;
    --teal:     #0a7060;
    --tealbg:   #d4f0ea;
    --card:     #fff;
    --inp:      #fff;
    --inp-bdr:  #d8c8a8;
    --ovl:      rgba(8, 18, 45, 0.56);
    --shadow:   0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
    --bg:       #0b0e17;
    --bg2:      #111520;
    --text:     #f0e8d5;
    --t2:       #907860;
    --t3:       #5a4a35;
    --bdr:      #1e2535;
    --navy:     #162040;
    --gold:     #e0a030;
    --goldbg:   #2a1e08;
    --goldt:    #e0a030;
    --teal:     #0d9080;
    --tealbg:   #0a2520;
    --card:     #181d2c;
    --inp:      #111520;
    --inp-bdr:  #2a3040;
    --ovl:      rgba(4, 8, 20, 0.68);
    --shadow:   0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s, color 0.3s;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Navigation ── */
#nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 248, 0.96);
    border-bottom: 0.5px solid var(--bdr);
    backdrop-filter: blur(12px);
    transition: background 0.3s;
}

[data-theme="dark"] #nav {
    background: rgba(11, 14, 23, 0.96);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 2rem;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    color: var(--t2);
    text-decoration: none;
    padding: 0 14px;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

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

.nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: transparent;
    border: 0.5px solid var(--bdr);
    border-radius: 8px;
    padding: 7px 10px;
    cursor: pointer;
    color: var(--text);
    flex-shrink: 0;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--bg);
    border-top: 0.5px solid var(--bdr);
    padding: 12px 2rem 20px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    font-size: 15px;
    color: var(--t2);
    padding: 11px 0;
    border-bottom: 0.5px solid var(--bdr);
    transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active  { color: var(--gold); }
.nav-mobile a:hover   { color: var(--text); }

/* ── Buttons ── */
.btn-primary {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    transition: border-color 0.2s;
}

.btn-outline:hover { border-color: rgba(255, 255, 255, 0.8); }

.btn-theme {
    background: transparent;
    border: 0.5px solid var(--bdr);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--t2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-theme:hover { border-color: var(--gold); color: var(--text); }

.btn-cta {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.btn-cta:hover { opacity: 0.88; }

/* ── Hero ── */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--ovl);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 2rem 4rem;
}

.hero--compact .hero-content {
    padding: 3.5rem 2rem;
}

.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.6px;
}

.hero h1 {
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1.16;
    margin-bottom: 1rem;
}

.hero--compact h1 { font-size: 34px; }

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero--compact p { font-size: 15px; }

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Social proof bar */
.sp-bar {
    background: rgba(0, 0, 0, 0.32);
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 2rem;
    position: relative;
    z-index: 2;
}

.sp-bar-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.sp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.sp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.sp-dot.live { animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* ── Sections ── */
.section {
    padding: 3.5rem 2rem;
    border-bottom: 0.5px solid var(--bdr);
}

.section.bg-alt { background: var(--bg2); }

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-sub {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.65;
    margin-bottom: 2rem;
}

/* ── Trust Bar ── */
.trust-bar {
    background: var(--navy);
    padding: 2rem;
}

.trust-bar-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item { text-align: center; }

.trust-number {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
}

.trust-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
}

/* ── Destination Cards ── */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 14px;
}

.dest-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 190px;
}

.dest-card.featured {
    grid-row: span 2;
    min-height: 400px;
}

.dest-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

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

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 12, 32, 0.9) 0%, rgba(5, 12, 32, 0.05) 60%);
}

.dest-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
}

.dest-tag {
    font-size: 10px;
    background: var(--gold);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 700;
}

.dest-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.dest-card:not(.featured) .dest-name { font-size: 15px; }

.dest-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.dest-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 6px;
}

.dest-btn {
    display: inline-block;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ── Review Cards ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.review-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
}

.review-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.review-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 12, 32, 0.95) 0%, rgba(5, 12, 32, 0.3) 60%);
}

.review-body {
    position: relative;
    z-index: 2;
    padding: 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.review-stars {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.review-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin-bottom: 0.9rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 9px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.review-trip {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
}

/* ── CTA Section ── */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 2rem;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 50, 0.72);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Footer ── */
footer {
    background: var(--navy);
    padding: 2.5rem 2rem 1.5rem;
}

.footer-top {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.footer-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 220px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-social-btn:hover { background: rgba(255, 255, 255, 0.18); }

.footer-social-btn svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.8rem;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: rgba(255, 255, 255, 0.8); }

.footer-bottom {
    max-width: 1080px;
    margin: 1.2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.28);
}

/* ── Language Switcher ── */
.lang-switcher { position: relative; flex-shrink: 0; }

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 145, 26, 0.08);
    border: 0.5px solid var(--bdr);
    border-radius: 6px;
    cursor: pointer;
    padding: 5px 10px;
    color: var(--t2);
    font-size: 12px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, border-color 0.2s;
}

.lang-dropdown-btn:hover { background: var(--goldbg); border-color: var(--gold); }

.lang-dropdown-btn img {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card);
    border: 0.5px solid var(--bdr);
    border-radius: 8px;
    overflow: hidden;
    min-width: 130px;
    z-index: 999;
    box-shadow: var(--shadow);
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--t2);
    font-family: 'DM Sans', sans-serif;
    transition: background 0.15s, color 0.15s;
    text-align: left;
}

.lang-option:hover    { background: var(--bg2); color: var(--text); }
.lang-option.active   { color: var(--gold); font-weight: 600; }
.lang-option img      { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; }

/* ── Hero Stats ── */
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-stat-number { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--gold); }
.hero-stat-label  { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 1px; }

/* ── Why Us ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.why-card { background: var(--card); border: 0.5px solid var(--bdr); border-radius: 12px; padding: 1.6rem; text-align: center; transition: box-shadow .2s, transform .2s; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--goldbg); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.why-icon svg { width: 20px; height: 20px; stroke: var(--goldt); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.why-desc  { font-size: 12px; color: var(--t2); line-height: 1.6; }

/* ── How It Works ── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.how-card { background: var(--card); border: 0.5px solid var(--bdr); border-radius: 12px; padding: 1.8rem; transition: box-shadow .2s; }
.how-card:hover { box-shadow: var(--shadow); }
.how-number { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--goldbg); line-height: 1; margin-bottom: .75rem; }
[data-theme="dark"] .how-number { color: #2a2010; }
.how-title  { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.how-desc   { font-size: 13px; color: var(--t2); line-height: 1.6; }

/* ── Pricing Preview ── */
.pricing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.pricing-card { background: var(--card); border: 0.5px solid var(--bdr); border-radius: 14px; padding: 2rem; position: relative; transition: box-shadow .2s; }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured { border: 2px solid var(--gold); }
.pricing-badge   { position: absolute; top: -13px; left: 1.5rem; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: 20px; }
.pricing-package { font-size: 11px; font-weight: 600; color: var(--t3); letter-spacing: .5px; text-transform: uppercase; margin-bottom: .5rem; }
.pricing-amount  { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; color: var(--text); line-height: 1; }
.pricing-currency { font-size: 18px; color: var(--t3); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.pricing-period  { font-size: 12px; color: var(--t3); margin-bottom: 1.2rem; }
.pricing-divider { border: none; border-top: 0.5px solid var(--bdr); margin: 1rem 0; }
.pricing-desc    { font-size: 13px; color: var(--t2); line-height: 1.8; }
.pricing-desc strong { display: block; font-size: 13px; color: var(--text); margin-bottom: .3rem; }
.pricing-btn { display: block; width: 100%; margin-top: 1.5rem; background: var(--navy); color: var(--gold); border: none; border-radius: 8px; padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; text-align: center; transition: opacity .2s; text-decoration: none; }
.pricing-card.featured .pricing-btn { background: var(--gold); color: #fff; }
.pricing-btn:hover { opacity: .88; }

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions { display: none; }

    .nav-hamburger { display: flex; align-items: center; }

    .hero h1 { font-size: 30px; }
    .hero--compact h1 { font-size: 26px; }
    .hero-content { padding: 3rem 1.5rem 2.5rem; }
    .hero--compact .hero-content { padding: 2.5rem 1.5rem; }

    .dest-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
    }
    .dest-card.featured {
        grid-row: unset;
        grid-column: span 2;
        min-height: 200px;
    }

    .reviews-grid { grid-template-columns: 1fr 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }

    .sp-bar-inner { gap: 1rem; }
    .sp-item:nth-child(n+3) { display: none; }

    .section { padding: 2.5rem 1.5rem; }
    .container { padding: 0 1.5rem; }

    .why-grid     { grid-template-columns: repeat(2,1fr); }
    .how-grid     { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .dest-grid { grid-template-columns: 1fr; }
    .dest-card.featured { grid-column: span 1; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .hero--compact h1 { font-size: 22px; }
    .sp-item { display: none; }
    .sp-item:first-child { display: flex; }

    .why-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
}

