@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --color-brand: #626638;
    --color-brand-light: #7a7e4b;
    --color-brand-dark: #4b4e2a;
    --color-gold: #c1994c;
    --color-gold-light: #dfc18d;
    --color-cream: #faf5eb;
    --color-black: #050505;
    --color-white: #ffffff;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
    --max-width: 1400px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: var(--font-header); font-weight: 600; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

/* ═══════════ HEADER ═══════════ */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    background: var(--color-brand);
    backdrop-filter: blur(12px); z-index: 1000;
    border-bottom: 1px solid rgba(193,153,76,0.2);
    transition: var(--transition-fast);
}
.header.scrolled { background: rgba(98,102,56,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.header-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; justify-content: space-between; align-items: center;
}
.logo img { height: 55px; width: auto; object-fit: contain; border-radius: 4px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
    font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2.5px;
    font-weight: 500; color: rgba(255,255,255,0.8); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--color-gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--color-gold); }
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-whatsapp {
    background: #25d366; color: white; padding: 10px 24px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
    transition: var(--transition-fast); text-decoration: none;
}
.btn-whatsapp:hover { background: #1ebe57; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ═══════════ HERO ═══════════ */
.hero {
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 50%, rgba(0,0,0,0.9) 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(193,153,76,0.08) 0%, transparent 70%);
}
.hero-content { max-width: 800px; text-align: center; padding: 0 24px; z-index: 10; }
.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.2rem); margin-bottom: 24px; line-height: 1.15;
    color: var(--color-white); animation: fadeInUp 1s ease forwards;
}
.hero-subtitle { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 40px; animation: fadeInUp 1s 0.2s ease both; }
.btn-explore {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px;
    background: var(--color-gold); color: var(--color-black); font-weight: 600;
    border-radius: 4px; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
    transition: var(--transition-fast); animation: fadeInUp 1s 0.4s ease both;
}
.btn-explore:hover { background: var(--color-gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(193,153,76,0.3); }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 100px 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--color-white); margin-bottom: 16px; }
.section-subtitle {
    display: block; color: var(--color-gold); text-transform: uppercase;
    letter-spacing: 4px; font-size: 0.75rem; margin-bottom: 16px; font-weight: 600;
    font-family: var(--font-body);
}

/* ═══════════ LEGACY / DISCOVER ═══════════ */
.discover { background: linear-gradient(180deg, var(--color-black) 0%, var(--color-brand-dark) 100%); }
.discover-content {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.discover-text h2 { font-size: 2.8rem; margin-bottom: 24px; color: var(--color-white); line-height: 1.2; }
.discover-text p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.9; margin-bottom: 20px; }
.discover-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(193,153,76,0.2);
}
.stat span { display: block; font-size: 2.5rem; font-family: var(--font-header); color: var(--color-gold); margin-bottom: 6px; }
.stat p { font-size: 0.7rem !important; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.5) !important; margin: 0 !important; }
.discover-image img { width: 100%; border-radius: 8px; border: 1px solid rgba(193,153,76,0.15); }

/* ═══════════ FILTER TABS ═══════════ */
.filter-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.filter-btn {
    background: none; border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.6);
    padding: 10px 22px; border-radius: 4px; cursor: pointer; font-size: 0.8rem;
    font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1px;
    transition: var(--transition-fast);
}
.filter-btn:hover { border-color: var(--color-gold); color: white; }
.filter-btn.active {
    background: var(--color-gold); border-color: var(--color-gold); color: var(--color-black);
    font-weight: 600; box-shadow: 0 4px 15px rgba(193,153,76,0.3);
}

/* ═══════════ MASONRY GRID ═══════════ */
.masonry-grid { column-count: 4; column-gap: 16px; padding: 0; max-width: var(--max-width); margin: 0 auto; }
.pin-item {
    break-inside: avoid; margin-bottom: 16px; position: relative; overflow: hidden;
    border-radius: 8px; background: #111; border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pin-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.pin-item img { width: 100%; display: block; transition: transform 0.6s ease; }
.pin-item:hover img { transform: scale(1.05); }
.pin-overlay {
    position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.85));
    opacity: 0; transition: 0.4s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
}
.pin-item:hover .pin-overlay { opacity: 1; }
.pin-title { font-family: var(--font-header); font-size: 1rem; margin-bottom: 4px; }
.pin-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.pin-btn-wa {
    width: 36px; height: 36px; border-radius: 50%; background: #25d366;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem;
    transition: var(--transition-fast);
}
.pin-btn-wa:hover { transform: scale(1.15); background: #1ebe57; }

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ OVERLAY ═══════════ */
.product-overlay {
    position: fixed; inset: 0; z-index: 2000; visibility: hidden; opacity: 0;
    transition: 0.4s; display: flex; align-items: center; justify-content: center;
}
.product-overlay.active { visibility: visible; opacity: 1; }
.overlay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
.overlay-content {
    position: relative; background: #111; width: 90%; max-width: 950px;
    display: grid; grid-template-columns: 1fr 1fr; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(193,153,76,0.15); box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    max-height: 90vh;
}
.overlay-content img { width: 100%; height: 100%; object-fit: cover; }
.overlay-details { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.overlay-details h2 { margin-bottom: 16px; font-size: 1.8rem; }
.overlay-details .section-subtitle { margin-bottom: 12px; }
.close-overlay {
    position: absolute; top: 16px; right: 20px; background: rgba(0,0,0,0.5);
    border: none; color: white; font-size: 1.8rem; cursor: pointer; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.close-overlay:hover { background: rgba(193,153,76,0.5); }

/* ═══════════ FOOTER ═══════════ */
.footer {
    background: var(--color-brand);
    border-top: 2px solid rgba(193,153,76,0.3);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.footer-brand img { height: 50px; margin-bottom: 20px; border-radius: 4px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
    font-size: 1.1rem; transition: var(--transition-fast);
}
.footer-social a:hover { border-color: var(--color-gold); color: var(--color-gold); transform: translateY(-3px); }
.footer h4 { color: var(--color-gold); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-gold); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-contact i { color: var(--color-gold); }
.footer-bottom {
    max-width: var(--max-width); margin: 50px auto 0; padding: 20px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
    color: rgba(255,255,255,0.4); font-size: 0.8rem;
}

/* ═══════════ SUB-PAGES ═══════════ */
.subpage-hero {
    padding: 140px 0 60px; text-align: center;
    background: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-black) 100%);
}
.subpage-hero h1 { font-size: 3rem; margin-bottom: 12px; }
.subpage-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; }
.subpage-grid { column-count: 4; column-gap: 16px; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; min-height: 400px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1200px) {
    .masonry-grid, .subpage-grid { column-count: 3; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .discover-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .discover-stats { justify-items: center; }
    .masonry-grid, .subpage-grid { column-count: 2; }
    .overlay-content { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: absolute; top: var(--header-height); left: 0; width: 100%;
        background: var(--color-brand); flex-direction: column; padding: 20px; gap: 20px; display: none;
        border-top: 1px solid rgba(193,153,76,0.2);
    }
    .nav-links.active { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .masonry-grid, .subpage-grid { column-count: 2; }
}
@media (max-width: 480px) { .masonry-grid, .subpage-grid { column-count: 1; } }

/* ═══════════ LEGACY FEATURES ═══════════ */
.discover-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(193,153,76,0.06);
    border: 1px solid rgba(193,153,76,0.12);
    transition: var(--transition-fast);
}
.feature-item:hover {
    background: rgba(193,153,76,0.12);
    transform: translateX(6px);
}
.feature-item i {
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-top: 2px;
    flex-shrink: 0;
}
.feature-item h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}
.feature-item p {
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.5) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ═══════════ LEGACY CAROUSEL ═══════════ */
.discover-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(193,153,76,0.15);
    background: #0d0d0d;
    min-height: 500px;
}
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-track img {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    object-fit: contain;
    background: #0d0d0d;
    padding: 20px;
}
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}
.carousel-dot.active {
    background: var(--color-gold);
    width: 24px;
    border-radius: 4px;
}

/* ═══════════ INTRO SPLASH SCREEN ═══════════ */
.intro-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.intro-splash.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.intro-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.intro-content {
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.intro-logo-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.intro-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193,153,76,0.25) 0%, transparent 70%);
    animation: glowPulse 1s 0.3s ease-out forwards;
}

@keyframes glowPulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.intro-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.5);
    animation: logoReveal 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px rgba(193,153,76,0.3);
}

@keyframes logoReveal {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.intro-brand {
    overflow: hidden;
}

.intro-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 18px;
    color: var(--color-gold);
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.8s 0.8s ease forwards;
}

.intro-divider {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 16px auto;
    animation: dividerGrow 0.8s 1.3s ease forwards;
}

@keyframes dividerGrow {
    0% { width: 0; }
    100% { width: 200px; }
}

.intro-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    animation: textReveal 0.6s 1.5s ease forwards;
}

.intro-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 30px;
    opacity: 0;
    animation: textReveal 0.6s 2s ease forwards;
}

@keyframes textReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.intro-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193,153,76,0.04), transparent);
    animation: shimmerSweep 2s 1s ease-in-out;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}
