/* ═══════════════════════════════════════════
   CHIPMUNK NAILS — MAIN STYLESHEET
   ═══════════════════════════════════════════ */

/* ═══ RESET & VARIABLES ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #faf8f5;
    --bg-alt: #f4f0eb;
    --white: #ffffff;
    --dark: #2c2c2c;
    --gray: #7a7a7a;
    --gray-light: #b8b0a8;
    --border: #e5ddd5;
    --accent: #c9a88c;
    --accent-dark: #a8825f;
    --rose: #d4a5a5;
    --success: #10b981;
    --error: #ef4444;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --container: 1240px;
    --radius: 4px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--dark);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ TYPOGRAPHY ═══ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(42px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 20px; }
h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }

em {
    font-style: italic;
    color: var(--accent-dark);
}

/* ═══ SECTION ═══ */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header {
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-header .section-title { margin-bottom: 16px; }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.section-eyebrow.light { color: var(--accent); }

.section-sub {
    font-size: 15px;
    color: var(--gray);
    max-width: 600px;
    margin: 16px auto 0;
}

.section-footer { text-align: center; margin-top: 56px; }

/* ═══ BUTTONS & LINKS ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-dark);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: var(--transition);
}
.link-arrow:hover { gap: 16px; color: var(--dark); }

/* ═══ HEADER ═══ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(250, 248, 245, 0.98);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.logo-mark { color: var(--accent); font-size: 20px; }
.logo-text span { color: var(--accent); }

.nav-list { display: flex; gap: 32px; }

.nav-list a {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    transition: color 0.3s;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-list a:hover { color: var(--accent-dark); }
.nav-list a:hover::after { width: 100%; }

.header-cta { padding: 10px 24px; font-size: 12px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--dark);
    transition: var(--transition);
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-slider { position: absolute; inset: 0; z-index: 1; }

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #c9a88c;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s ease, transform 6s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(44, 44, 44, 0.55) 0%,
        rgba(44, 44, 44, 0.25) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding-top: 80px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 24px;
    font-size: clamp(48px, 6vw, 88px);
}

.hero-title em { color: var(--accent); font-style: italic; font-weight: 400; }

.hero-desc {
    font-size: 17px;
    max-width: 520px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 50%;
    background: var(--white);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ═══ MARQUEE ═══ */
.marquee {
    background: var(--bg-alt);
    padding: 32px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: fit-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--gray);
    flex-shrink: 0;
}

.marquee-track span:nth-child(even) {
    color: var(--accent);
    font-style: normal;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══ ABOUT ═══ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-alt);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: var(--bg);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1;
}

.badge-label {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-top: 8px;
    line-height: 1.4;
}

.about-content .section-title { margin-bottom: 24px; }
.about-content p { color: var(--gray); margin-bottom: 16px; }

.about-stats {
    display: flex;
    gap: 48px;
    margin: 40px 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label { font-size: 13px; color: var(--gray); }

/* ═══ SERVICES / MENU IMAGE ═══ */
.menu-image-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    background: var(--white);
}

.menu-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-hotline {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 32px 40px;
    background: var(--dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hotline-label {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
}

.hotline-number {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.hotline-number:hover { color: var(--white); }
.hotline-icon { font-size: 24px; }

/* ═══ BOOKING BANNER ═══ */
.booking-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #c9a88c 0%, #a8825f 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.booking-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.booking-banner-icon {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
}

.booking-banner-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.booking-banner-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.booking-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--accent-dark);
    padding: 20px 48px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.booking-banner-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    background: #fff8f0;
}

.booking-banner-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.booking-banner-note a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

/* ═══ GALLERY ═══ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-alt);
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ GOOGLE REVIEWS (Elfsight) ═══ */
.reviews {
    background: var(--bg-alt);
    padding: 100px 0;
}

.reviews .section-sub {
    font-size: 15px;
    color: var(--gray);
    margin-top: 12px;
}

.reviews .section-sub strong {
    color: var(--accent-dark);
    font-weight: 600;
}

.elfsight-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px;
    min-height: 300px;
    position: relative;
}

.elfsight-wrapper .elfsight-app-15c2e98e-ec9c-447f-b9b2-f4f29592d052 {
    width: 100%;
}

.elfsight-wrapper::before {
    content: 'Đang tải đánh giá...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gray-light);
    font-size: 14px;
    z-index: -1;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

/* ═══ WHY US ═══ */
.why-us {
    background: var(--bg);
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.why-item { padding: 32px 0; }

.why-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    margin-bottom: 20px;
    line-height: 1;
}

.why-item h3 { margin-bottom: 12px; font-size: 20px; }
.why-item p { color: var(--gray); font-size: 14px; }

/* ═══ BOOKING CTA ═══ */
.booking {
    position: relative;
    background: var(--dark);
    padding: 140px 0;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 140, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.booking-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.booking .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.booking .section-title em { color: var(--accent); }

.booking-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo.light {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: 28px;
}

.footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 12px;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col ul li a {
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-contact li {
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

/* ═══ FLOATING BUTTONS ═══ */
.floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.float-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.float-book {
    background: linear-gradient(135deg, #c9a88c, #a8825f);
    animation: floatBookPulse 2s infinite;
}

@keyframes floatBookPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 0 rgba(201,168,140,0.5);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 12px rgba(201,168,140,0);
    }
}

.float-map { background: #ea4335; }
.float-phone { background: #10b981; }
.float-top { background: var(--accent-dark); }

/* ═══ REVEAL ANIMATION ═══ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
    .section { padding: 80px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .nav-list { display: none; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }
    
    .nav.active .nav-list {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg);
        padding: 32px 24px;
        gap: 24px;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .reviews { padding: 80px 0; }
    .why-us { padding: 80px 0; }
}

@media (max-width: 768px) {
    .elfsight-wrapper { min-height: 200px; }
    .reviews-cta .btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
    
    .booking-banner { padding: 60px 0; }
    .booking-banner-icon { font-size: 48px; }
    .booking-banner-btn {
        padding: 16px 32px;
        font-size: 15px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .booking-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .booking-cta-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    
    .hero { min-height: 90vh; }
    .hero-title { font-size: 44px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .floating { bottom: 16px; right: 16px; }
    .float-btn { width: 46px; height: 46px; font-size: 18px; }
    
    .menu-hotline {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }
    .hotline-number { font-size: 24px; }
    
    .reviews { padding: 60px 0; }
    .why-us { padding: 60px 0; }
}
