/* ====================================
   LUVAM INTERIOR — Design System
   Modern, Futuristic, Premium
   ==================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #d4af37;
    --accent-hover: #e8c547;
    --wa-green: #25d366;
    --wa-dark: #128c7e;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border: rgba(0,0,0,0.06);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. RESET & GLOBAL */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* 3. TOP BAR */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar a {
    color: var(--accent);
    font-weight: 700;
    transition: var(--transition);
}
.top-bar a:hover { color: var(--accent-hover); }
.top-bar i { margin-right: 6px; }

/* 4. HEADER / NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
    border-bottom: 1px solid var(--border);
}
.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary);
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* 5. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c9a230);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}
.btn-wa {
    background: linear-gradient(135deg, var(--wa-green), #20bd5a);
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

/* 6. HERO SECTION */
.hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 60px 5%;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, -5%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content .badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.hero-content h1 .gold { color: var(--accent); }
.hero-content p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.85;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 7. SECTION LAYOUT */
.section {
    padding: 90px 5%;
}
.section-header {
    text-align: center;
    margin-bottom: 55px;
}
.section-header .label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    font-size: 15px;
}

/* 8. CATEGORY FILTER */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    color: var(--text-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
}

/* 9. GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.gallery-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-card:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 25px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}
.gallery-overlay .cat-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(212,175,55,0.25);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
}
.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
}
.gallery-hidden { display: none !important; }

/* 10. TESTIMONIALS */
.testi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.testi-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(212,175,55,0.1);
    line-height: 1;
}
.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.testi-rating {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 12px;
}
.testi-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}
.testi-divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 0 0 15px;
}
.client-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}
.client-profile img {
    width: 55px; height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}
.client-profile .no-photo {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #c9a230);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 20px;
}
.client-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}
.client-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* 11. CTA SECTION */
.cta-section {
    padding: 90px 5%;
}
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1a2744 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212,175,55,0.1), transparent);
    border-radius: 50%;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(37,211,102,0.08), transparent);
    border-radius: 50%;
}
.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.cta-box p {
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    font-size: 15px;
}
.cta-box .btn {
    position: relative;
    z-index: 2;
    font-size: 17px;
    padding: 18px 40px;
}

/* 12. FOOTER */
.footer {
    background: #000;
    color: #888;
    padding: 50px 5%;
    text-align: center;
}
.footer-brand {
    color: var(--white);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.footer-brand span { color: var(--accent); }
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #ccc;
    font-size: 18px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.06);
}
.footer-socials a:hover {
    transform: translateY(-3px);
    color: var(--white);
}
.footer-socials a:hover .fa-tiktok { color: #fff; }
.footer-socials a:hover .fa-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-socials a:hover .fa-facebook-f { color: #1877f2; }
.footer-socials a:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.footer-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-info a {
    color: var(--accent);
    transition: var(--transition);
}
.footer-info a:hover { color: var(--accent-hover); }
.footer-copy {
    margin-top: 25px;
    font-size: 13px;
    color: #555;
}

/* 13. FLOATING WHATSAPP + POPUP */
.wa-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: var(--wa-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
    animation: waPulse 2s infinite;
    transition: var(--transition);
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.7);
}

.wa-popup {
    position: fixed;
    bottom: 108px; right: 30px;
    background: white;
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    font-size: 14px;
    z-index: 9999;
    width: 270px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    color: var(--text-dark);
    line-height: 1.5;
}
.wa-popup.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.wa-popup strong { color: var(--wa-dark); }
.wa-popup::after {
    content: '';
    position: absolute;
    bottom: -10px; right: 28px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 14. SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 15. LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 25px; right: 30px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

/* 16. RESPONSIVE */
@media (max-width: 768px) {
    .top-bar { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a::after { display: none; }
    .menu-toggle { display: block; }

    .hero { min-height: 70vh; }
    .hero-content h1 { font-size: clamp(2rem, 7vw, 3rem); }
    .hero-buttons { flex-direction: column; align-items: center; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .testi-container { grid-template-columns: 1fr; }

    .cta-box { padding: 50px 25px; }
    .cta-box h2 { font-size: 1.6rem; }

    .section { padding: 60px 5%; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .btn { padding: 12px 22px; font-size: 13px; }
}
