/* ============================================
   localguide.ellodanang.com
   ============================================ */

:root {
    --teal: #00B5B2;
    --teal-dark: #009E9B;
    --navy: #1A1A3E;
    --text-sub: #6B7280;
    --text-muted: #9CA3AF;
    --white: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-teal: 0 8px 28px rgba(0, 181, 178, 0.38);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-script: 'Pacifico', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--shadow-teal);
}
.btn-teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 181, 178, 0.48);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid rgba(26, 26, 62, 0.22);
}
.btn-outline-dark:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
    padding: 12px 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-sub);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--navy); }

.nav-cta { margin-left: auto; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.9rem; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background-color: var(--white);
    background-image:
        linear-gradient(rgba(0,0,0,0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.032) 1px, transparent 1px);
    background-size: 64px 64px;
    position: relative;
    overflow: hidden;
    padding-top: 96px;
}

/* Full-section background decoration SVG */
.hero-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-deco svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Text area */
.hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 28px;
}

/* Badge group (outer pill wrapping inner chip + date) */
.badge-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 10px 4px 4px;
    background: var(--white);
    border: 1px solid #D0D5DD;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    margin-bottom: 20px;
}
.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: var(--white);
    border: 1px solid #D0D5DD;
    border-radius: 6px;
    font-family: 'Inter', var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    color: #344054;
}
.badge-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    color: #344054;
}
.badge-dot {
    width: 8px; height: 8px;
    background: #22C55E;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

/* Heading */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.title-script {
    font-family: 'Pacifico', cursive;
    color: #ef476f;
    font-weight: 400;
    font-size: 1em;
}
.title-bold {
    font-family: 'Inter', var(--font);
    font-weight: 600;
    color: #101828;
}

/* Subtitle row */
.hero-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.875;
}
.sub-voi {
    font-family: 'Inter', var(--font);
    font-weight: 400;
    color: #475467;
    font-size: 1.15rem;
}
/* Ello multi-color letters */
.ello-word {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}
.ello-word span {
    font-family: 'Pacifico', cursive;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 400;
}
.ello-E  { color: #ef476f; }
.ello-l1 { color: #ffd166; }
.ello-l2 { color: #06d6a0; }
.ello-o  { color: #9752da; }

.danang-word {
    font-family: 'Montserrat', var(--font);
    font-weight: 600;
    color: #073b4c;
    font-size: 1.35rem;
    line-height: 1;
    align-self: flex-end;
    padding-bottom: 2px;
}
.sub-bullet {
    color: #475467;
    font-size: 1rem;
}
.sub-desc {
    font-family: 'Inter', var(--font);
    font-weight: 400;
    color: #475467;
    font-size: 1.15rem;
}

/* CTA row */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   HERO VISUAL — exact Figma spec (node 1009:19239)
   ============================================ */

/* Outer container: pt-32px px-32px, position relative */
.hero-visual-wrap {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 64px;
    padding: 32px 32px 0;
}

/* Photo area: h-480px, bg-#EAECF0, rounded-24px, overflow-clip */
.hero-img-content {
    position: relative;
    width: 100%;
    height: 480px;
    background: #EAECF0;
    border-radius: 24px;
    overflow: hidden;
}

/* Background image: bottom-[-52px], left-[calc(50%+9px)], -translate-x-1/2, 1234×645px */
.hero-bg-photo {
    position: absolute;
    bottom: -52px;
    left: calc(50% + 9px);
    transform: translateX(-50%);
    width: 1234px;
    height: 645px;
    max-width: none;
    object-fit: cover;
}

/* Dark overlay on photo: rgba(0,0,0,0.35) */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* iPhone: absolute, top-[-28px], centered, 315×540px */
.hero-phone-float {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 315px;
    height: 540px;
    overflow: hidden;
}

/* Phone image: exact Figma spec — NO object-fit, max-w-none to override global */
.hero-phone-img {
    position: absolute;
    top: 0;
    left: -0.06%;
    width: 100.13%;
    height: 120.74%;
    max-width: none;
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-deco-green { width: 260px; }
    .hero-deco-purple { width: 360px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        gap: 36px;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .hamburger { display: flex; z-index: 1001; }

    .hero { padding-top: 80px; }
    .hero-deco-green { width: 200px; left: -30px; top: 80px; }
    .hero-deco-purple { width: 280px; right: -40px; top: 100px; }

    .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
    .hero-sub { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 260px; justify-content: center; }

    .hero-visual-wrap { padding: 24px 20px 0; margin-top: 48px; }
    .hero-img-content { height: 380px; }
    .hero-phone-float { width: 240px; height: 412px; top: -20px; }
}

@media (max-width: 480px) {
    .hero-badges { flex-direction: column; }
    .hero-title { font-size: 1.9rem; }
    .hero-deco-green { display: none; }
    .hero-deco-purple { display: none; }
    .hero-visual-wrap { padding: 16px 12px 0; margin-top: 36px; }
    .hero-img-content { height: 300px; }
    .hero-phone-float { width: 180px; height: 309px; top: -16px; }
}
