/* ROOT VARIABLES - Ultra Premium Dark Theme */
:root {
    --bg-main: #050507;
    --bg-card: #0a0b0e;
    --bg-darker: #020203;
    --border-color: #1a1c23;
    --gold: #C5A880;
    --gold-dark: #a3875f;
    --text-main: #f0f2f5;
    --text-muted: #8a8d96;
    
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background-color: var(--bg-main); color: var(--text-main); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* TYPOGRAPHY */
h1, h2, h3, h4, .section-title { font-family: var(--font-display); font-weight: 400; letter-spacing: 1px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); border: none; background: none; cursor: pointer; }

/* UTILITIES */
.container { max-width: 1400px; margin: 0 auto; padding: 0 4vw; }
.section-padding { padding: 150px 0; }
.bg-darker { background-color: var(--bg-darker); }
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; } .mt-4 { margin-top: 50px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; } .mb-4 { margin-bottom: 50px; }
.w-100 { width: 100%; display: block; }
.mx-auto { margin-left: auto; margin-right: auto; }
.align-center { align-items: center; }
.no-gap { gap: 0 !important; }
.h-100 { height: 100%; }

.divider { height: 1px; width: 80px; background-color: var(--gold); margin: 30px 0; }
.text-center .divider { margin-left: auto; margin-right: auto; }

/* GRIDS */
.grid { display: grid; gap: 60px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* SCROLL REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* BUTTONS */
.btn-primary { background-color: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 18px 40px; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; font-weight: 500; transition: var(--transition-slow); position: relative; overflow: hidden; display: inline-block; text-align: center; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background-color: var(--gold); transition: var(--transition-slow); z-index: -1; }
.btn-primary:hover::before { width: 100%; }
.btn-primary:hover { color: var(--bg-main); box-shadow: 0 15px 30px rgba(197, 168, 128, 0.15); }

.btn-outline { background-color: transparent; color: var(--text-main); border: 1px solid var(--border-color); padding: 18px 40px; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; transition: var(--transition-slow); display: inline-block; text-align: center; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-text { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition-fast); border-bottom: 1px solid transparent; padding-bottom: 5px; }
.btn-text:hover { border-color: var(--gold); }

/* HEADER */
header { position: fixed; top: 0; width: 100%; padding: 40px 5vw; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: var(--transition-slow); border-bottom: 1px solid transparent; }
header.scrolled { background: rgba(5, 5, 7, 0.9); padding: 25px 5vw; border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(15px); }
.logo { font-family: var(--font-display); font-size: 26px; letter-spacing: 6px; text-transform: uppercase; color: #fff; }
.logo span { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; margin-left: 35px; color: var(--text-muted); transition: var(--transition-fast); }
.nav-links a:hover { color: var(--gold); }

.lang-switcher { display: flex; gap: 10px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 30px; }
.lang-btn { font-size: 10px; color: var(--text-muted); letter-spacing: 1px; transition: var(--transition-fast); }
.lang-btn.active { color: var(--text-main); font-weight: 600; }

.header-btn { padding: 12px 28px; font-size: 10px; border-color: rgba(255,255,255,0.2); }

/* MOBILE MENU */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.hamburger span { width: 30px; height: 1px; background: #fff; transition: var(--transition-fast); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-main); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition-slow); }
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }
.mobile-menu-content { text-align: center; display: flex; flex-direction: column; gap: 30px; }
.mobile-menu-content a { font-family: var(--font-display); font-size: 24px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); transition: var(--transition-fast); }
.mobile-menu-content a:hover { color: var(--gold); }
.mobile-langs span { font-size: 12px; margin: 0 10px; color: var(--text-muted); letter-spacing: 2px; }
.mobile-langs span.active { color: var(--gold); }

/* HERO */
.hero { height: 100vh; position: relative; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1541884483733-4f932e6de3c5?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,7,0.95) 0%, rgba(5,5,7,0.7) 40%, rgba(5,5,7,0.2) 100%); }
.hero-content { position: relative; z-index: 2; margin-left: 10vw; max-width: 800px; }
.hero-subtitle { color: var(--gold); font-size: 11px; letter-spacing: 8px; text-transform: uppercase; margin-bottom: 30px; display: block; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 30px; text-transform: uppercase; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 50px; font-weight: 300; max-width: 600px; }
.hero-ctas { display: flex; gap: 20px; }

.scroll-indicator { position: absolute; bottom: 40px; left: 10vw; z-index: 2; display: flex; align-items: center; gap: 15px; }
.scroll-indicator span { font-size: 9px; text-transform: uppercase; letter-spacing: 3px; color: var(--text-muted); }
.scroll-indicator .line { width: 60px; height: 1px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.scroll-indicator .line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gold); animation: scrollLine 2s infinite cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ABOUT / PHILOSOPHY */
.about-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 25px; font-weight: 300; line-height: 1.9; }
.about-image { position: relative; overflow: hidden; height: 600px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(197, 168, 128, 0.3); margin: 20px; pointer-events: none; }

/* FEATURED PROPERTY CARDS */
.property-card { background: var(--bg-card); cursor: pointer; transition: var(--transition-slow); border: 1px solid transparent; }
.property-card:hover { border-color: var(--border-color); transform: translateY(-15px); }
.card-img { height: 350px; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); filter: brightness(0.85); }
.property-card:hover .card-img img { transform: scale(1.08); filter: brightness(1); }
.badge { position: absolute; top: 25px; left: 25px; background: rgba(5,5,7,0.8); color: var(--gold); font-size: 9px; text-transform: uppercase; letter-spacing: 2px; padding: 8px 15px; border: 1px solid rgba(197,168,128,0.3); backdrop-filter: blur(5px); }
.card-body { padding: 40px 35px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 10px; transition: var(--transition-fast); }
.property-card:hover .card-body h3 { color: var(--gold); }
.location { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; letter-spacing: 1px; }
.price { font-size: 1.2rem; color: #fff; font-family: var(--font-display); padding-bottom: 25px; border-bottom: 1px solid var(--border-color); margin-bottom: 25px; }
.card-footer { display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); transition: var(--transition-fast); }
.property-card:hover .card-footer { color: var(--gold); }

/* CITIZENSHIP */
.image-stack { position: relative; height: 500px; }
.img-back { width: 90%; height: 100%; object-fit: cover; position: absolute; right: 0; filter: grayscale(40%); }
.luxury-list { list-style: none; }
.luxury-list li { margin-bottom: 20px; color: var(--text-muted); padding-left: 30px; position: relative; font-weight: 300; }
.luxury-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 1px; background: var(--gold); }

/* MARKETS / SERVICES */
.service-card { padding: 50px 40px; border: 1px solid var(--border-color); transition: var(--transition-slow); position: relative; overflow: hidden; background: var(--bg-card); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--transition-slow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { display: block; font-family: var(--font-display); font-size: 2rem; color: rgba(255,255,255,0.1); margin-bottom: 30px; transition: var(--transition-slow); }
.service-card:hover .service-icon { color: var(--gold); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; font-weight: 300; }

/* CONTACT FORM */
.glass-panel { padding: 80px; border: 1px solid var(--border-color); background: var(--bg-card); }
.contact-details p { margin-bottom: 15px; color: var(--text-muted); font-size: 0.95rem; }
.contact-details a { color: #fff; transition: var(--transition-fast); }
.contact-details a:hover { color: var(--gold); }

.input-line { margin-bottom: 35px; position: relative; }
.input-line input, .input-line textarea, .input-line select { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font-body); font-size: 14px; outline: none; transition: var(--transition-fast); border-radius: 0; }
.input-line select { appearance: none; cursor: pointer; color: var(--text-muted); }
.input-line input:focus, .input-line textarea:focus, .input-line select:focus { border-bottom-color: var(--gold); }
.form-success-msg { padding: 20px; background: rgba(197, 168, 128, 0.1); color: var(--gold); border: 1px solid rgba(197, 168, 128, 0.3); font-size: 0.9rem; margin-top: 20px; letter-spacing: 1px; }

/* FOOTER */
footer { padding: 100px 0 40px; background: #020203; border-top: 1px solid var(--border-color); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; max-width: 300px; }
.footer-links h4 { font-size: 1rem; color: #fff; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 15px; font-size: 0.85rem; letter-spacing: 1px; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.legal-sm { color: #4a4d57; font-size: 0.75rem; margin-bottom: 15px; }
.copyright { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }

/* FLOATING ACTIONS */
.floating-actions { position: fixed; bottom: 40px; right: 40px; display: flex; flex-direction: column; gap: 15px; z-index: 900; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; transition: var(--transition-fast); backdrop-filter: blur(5px); }
.fab-wa { background: rgba(37, 211, 102, 0.2); border: 1px solid rgba(37, 211, 102, 0.5); }
.fab-wa:hover { background: #25D366; transform: translateY(-5px); }
.fab-ig { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); }
.fab-ig:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-5px); color: var(--bg-main); }

/* MODALS */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.modal.active { opacity: 1; pointer-events: all; }
.modal-overlay { position: absolute; inset: 0; background: rgba(2, 2, 3, 0.9); backdrop-filter: blur(10px); }
.modal-content { position: relative; z-index: 2; background: var(--bg-main); border: 1px solid var(--border-color); width: 90%; max-width: 600px; padding: 60px; transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); max-height: 90vh; overflow-y: auto; }
.modal.active .modal-content { transform: scale(1); }
.modal-lg { max-width: 1100px; padding: 0; height: 75vh; }
.modal-close { position: absolute; top: 25px; right: 30px; font-size: 30px; color: var(--text-muted); transition: var(--transition-fast); z-index: 10; }
.modal-close:hover { color: #fff; transform: rotate(90deg); }

/* Property Modal specifics */
.modal-image { height: 100%; border-right: 1px solid var(--border-color); }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { overflow-y: auto; height: 100%; background: var(--bg-card); }
.modal-info-inner { padding: 60px 50px; }
.pm-type { font-size: 10px; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); }
.pm-loc { color: var(--text-muted); font-size: 0.95rem; }
.pm-price { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.pm-specs { display: flex; justify-content: space-between; font-size: 0.9rem; }
.pm-specs .label { color: var(--text-muted); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.pm-desc { color: #a4a7b3; font-weight: 300; line-height: 1.8; font-size: 0.95rem; }

.legal-scroll { max-height: 50vh; overflow-y: auto; padding-right: 20px; }
.legal-scroll h4 { color: var(--gold); font-size: 1rem; margin: 25px 0 10px; }
.legal-scroll p { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .glass-panel { padding: 50px 40px; }
    .grid-2 { grid-template-columns: 1fr; }
    .modal-image { display: none; }
    .modal-lg { height: auto; max-height: 85vh; }
}

@media (max-width: 768px) {
    header { padding: 25px 5vw; }
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .hero-ctas { flex-direction: column; }
    .section-padding { padding: 100px 0; }
    .grid { gap: 40px; }
    .floating-actions { bottom: 20px; right: 20px; }
    .modal-content { padding: 40px 30px; }
    .modal-info-inner { padding: 40px 30px; }
}
