/*
Theme Name: Thiết Kế Nội Thất 24
Description: Flatsome Child Theme — Premium Interior Design
Author: Nội Thất 24
Template: flatsome
Version: 1.0.0
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --nt-primary: #C4A882;
    --nt-accent: #B8452A;
    --nt-dark: #1A1A1A;
    --nt-olive: #4A5540;
    --nt-light: #FAF8F5;
    --nt-cream: #F0EBE3;
    --nt-text: #333333;
    --nt-muted: #777777;
    --nt-border: #E8E2DA;
    --nt-radius: 8px;
    --nt-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   GLOBAL TYPOGRAPHY
   ============================================= */
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--nt-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.page-title {
    font-family: 'Playfair Display', Georgia, serif;
}

/* =============================================
   HEADER
   ============================================= */
.header-wrapper .header-main {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-nav .nav > li > a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.82em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nt-text);
    transition: color var(--nt-transition);
}

.header-nav .nav > li > a:hover {
    color: var(--nt-primary);
}

/* Header CTA button */
.header .button.nav-button {
    background: transparent;
    border: 1.5px solid var(--nt-text);
    color: var(--nt-text);
    border-radius: var(--nt-radius);
    font-size: 0.76em;
    letter-spacing: 1px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all var(--nt-transition);
}

.header .button.nav-button:hover {
    background: var(--nt-accent);
    border-color: var(--nt-accent);
    color: #fff;
}

/* =============================================
   SECTION LABELS (subtitle chip)
   ============================================= */
.nt-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--nt-primary);
    margin-bottom: 12px;
    display: block;
}

.nt-divider {
    width: 40px;
    height: 3px;
    background: var(--nt-accent);
    border-radius: 2px;
    margin: 18px 0;
}

.nt-divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.nt-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--nt-radius);
    transition: all var(--nt-transition);
}

/* =============================================
   CARDS
   ============================================= */
.nt-card {
    background: #fff;
    border: 1px solid var(--nt-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--nt-transition);
}

.nt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* =============================================
   GLASSMORPHISM
   ============================================= */
.nt-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

/* =============================================
   MARQUEE TICKER
   ============================================= */
.nt-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    background: var(--nt-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78em;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nt-marquee-inner {
    display: inline-block;
    animation: nt-scroll 25s linear infinite;
}

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

/* =============================================
   COUNTER ANIMATION
   ============================================= */
.nt-counter-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1;
    color: var(--nt-primary);
}

.nt-counter-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nt-muted);
    margin-top: 6px;
}

/* =============================================
   PROCESS / TIMELINE
   ============================================= */
.nt-step-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.2em;
    font-weight: 700;
    color: var(--nt-primary);
    opacity: 0.3;
    line-height: 1;
}

.nt-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* =============================================
   TESTIMONIAL
   ============================================= */
.nt-quote {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    color: var(--nt-primary);
    opacity: 0.2;
    line-height: 1;
}

/* =============================================
   FORM STYLES
   ============================================= */
.nt-form input,
.nt-form select,
.nt-form textarea {
    border: none;
    border-bottom: 1.5px solid var(--nt-border);
    border-radius: 0;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    background: transparent;
    transition: border-color var(--nt-transition);
    width: 100%;
}

.nt-form input:focus,
.nt-form select:focus,
.nt-form textarea:focus {
    border-color: var(--nt-primary);
    outline: none;
}

.nt-form-btn {
    background: var(--nt-accent);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: var(--nt-radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--nt-transition);
    width: 100%;
}

.nt-form-btn:hover {
    background: #9A3822;
    transform: translateY(-1px);
}

/* =============================================
   PRICING TABLE
   ============================================= */
.nt-price-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid var(--nt-border);
    border-radius: 12px;
    transition: all var(--nt-transition);
}

.nt-price-card.featured {
    border-color: var(--nt-primary);
    position: relative;
}

.nt-price-card.featured::before {
    content: 'PHỔ BIẾN';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nt-accent);
    color: #fff;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 16px;
    border-radius: 20px;
}

.nt-price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 700;
    color: var(--nt-text);
    margin: 16px 0;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.nt-faq-item {
    border-bottom: 1px solid var(--nt-border);
    padding: 18px 0;
}

.nt-faq-q {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nt-faq-a {
    color: var(--nt-muted);
    font-size: 0.9em;
    line-height: 1.7;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.nt-faq-item.active .nt-faq-a {
    max-height: 300px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-wrapper {
    background: var(--nt-dark);
    color: rgba(255, 255, 255, 0.65);
}

.footer-wrapper a {
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--nt-transition);
}

.footer-wrapper a:hover {
    color: var(--nt-primary);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.nt-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.nt-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SELECTION
   ============================================= */
::selection {
    background: var(--nt-primary);
    color: #fff;
}

/* =============================================
   SMOOTH SCROLL
   ============================================= */
html {
    scroll-behavior: smooth;
}