/*
Theme Name: Istana Link Luxury
Author: ISTANALINK TEAM
Description: Premium Real Estate Theme with Tailwind and Cinzel Fonts.
Version: 1.1
*/

:root {
    --midnight-blue: #050c1a;
    --gold: #c5a059;
    --gold-light: #e2c286;
    --elegant-white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight-blue);
    color: var(--elegant-white);
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, .serif, .cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

/* --- NAVBAR & DROPDOWN --- */
nav {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background: rgba(5, 12, 26, 0.98) !important;
    backdrop-filter: blur(15px);
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Fungsionalitas Dropdown Manual */
.group:hover .group-hover\:block {
    display: block !important;
}

/* --- HERO SLIDER FULL SCREEN --- */
.hero-container { 
    height: 100vh; /* Full Tinggi Layar */
    width: 100%;
    position: relative; 
    overflow: hidden;
    background-color: var(--midnight-blue);
}

.hero-slide {
    position: absolute; 
    inset: 0; 
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover; 
    background-position: center center; /* Memastikan objek tengah tidak terpotong */
    background-repeat: no-repeat;
}

/* Overlay halus agar teks di atas gambar terlihat jelas */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(5, 12, 26, 0.5) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(5, 12, 26, 0.8) 100%);
}

.hero-slide.active { 
    opacity: 1; 
}

/* --- PROMO & CARDS --- */
.promo-card {
    background: linear-gradient(145deg, rgba(197, 160, 89, 0.05) 0%, rgba(5, 12, 26, 1) 100%);
    border: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.15);
}

.promo-icon-box {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- UTILITIES --- */
.gold-gradient-text {
    background: linear-gradient(to bottom, #e2c286, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-btn {
    color: rgba(255,255,255,0.5);
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-btn.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.gold-glow {
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.premium-quote {
    background: linear-gradient(to right, rgba(197, 160, 89, 0), rgba(197, 160, 89, 0.05), rgba(197, 160, 89, 0));
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    border-right: 1px solid rgba(197, 160, 89, 0.2);
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .hero-container {
        height: 70vh; /* Sedikit lebih pendek di mobile agar user tahu ada konten di bawah */
    }
    nav {
        padding: 1rem !important;
    }
}