/* ========================================
   MODERN INTERIORS - SHARED STYLES
   ======================================== */

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #C8A96A;
    --secondary-light: #D4B87A;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #F1F5F9;
    --gray: #94A3B8;
    --dark-gray: #475569;
    --text: #334155;
    --text-light: #64748B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 40px -10px rgba(200, 169, 106, 0.3);
    --transition: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

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

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp svg {
    width: 26px;
    height: 26px;
    color: white;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after {
    width: 50%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    background: var(--secondary);
    color: var(--primary) !important;
    font-weight: 600;
    padding: 10px 22px;
    margin-left: 6px;
}

.nav-cta:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1001;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(200, 169, 106, 0.15);
    border-color: rgba(200, 169, 106, 0.5);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, background 0.25s ease;
}

.hamburger.active {
    background: rgba(200, 169, 106, 0.15);
    border-color: var(--secondary);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--secondary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--secondary);
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 380px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(30px);
        border-left: 1px solid rgba(200, 169, 106, 0.25);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 18px;
        transition: right 0.5s ease;
        padding: 80px 40px;
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.1rem; width: 100%; text-align: center; padding: 12px 16px; }
    .nav-cta { margin-left: 0; margin-top: 10px; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
}

.btn-primary:hover::before {
    animation: btn-shine 0.85s ease forwards;
}

@keyframes btn-shine {
    from { left: -75%; }
    to { left: 125%; }
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-call {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-call:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-desc {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.8rem;
}

.section-header.center .section-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    margin: 10px auto 0;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

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

.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.8rem;
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    padding: 70px 0 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo .logo-icon {
    border-color: var(--secondary);
    color: var(--secondary);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
}

.footer-logo .logo-img {
    height: 40px;
}

.footer-logo .logo-text {
    font-size: 1.1rem;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand { max-width: 100%; }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-light); }

::selection {
    background: rgba(200, 169, 106, 0.3);
    color: var(--primary);
}
