/* Custom Stylesheet for Radha Kunj Township — Premium Real Estate Theme */

:root {
    --gold-soft: #c5a85c;
    --gold-deep: #8a6f2c;
    --gold-premium: #b4933d;
    
    --charcoal-dark: #fbf9f4;  /* Main Light Background */
    --charcoal-mid: #ffffff;   /* Card Background */
    --charcoal-light: #f1ebe1; /* Section Dividers / Light Panel Backgrounds */
    
    --beige-light: #1c1a17;    /* Charcoal Dark text color for headings */
    --beige-dark: #3a3832;     /* Medium dark text color for body copy */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--charcoal-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(138, 111, 44, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-soft);
}

/* Base resets & styles */
body {
    background-color: var(--charcoal-dark);
    color: var(--beige-dark);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Luxury Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(138, 111, 44, 0.2);
    box-shadow: 0 20px 50px rgba(28, 26, 23, 0.05);
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 111, 44, 0.1);
}

/* Keyframe animations */
@keyframes modalReveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal {
    animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spinSlow 12s linear infinite;
}

/* Glow highlights */
.glow-gold {
    box-shadow: 0 0 25px rgba(197, 168, 92, 0.1);
}

.glow-gold-hover:hover {
    box-shadow: 0 0 35px rgba(197, 168, 92, 0.15);
    border-color: rgba(197, 168, 92, 0.35);
    transform: translateY(-2px);
}

/* Custom form fields */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(197, 168, 92, 0.15);
}

/* Luxury gold text gradients */
.text-gold-gradient {
    background: linear-gradient(135deg, #6c541e 0%, #c5a85c 50%, #9e7f3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #c5a85c 0%, #e5ca7c 50%, #c5a85c 100%);
}

/* General transitions */
a, button, input, select, textarea {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Layout header offset adjustments */
.pt-header-active {
    padding-top: 110px;
}
@media (min-width: 768px) {
    .pt-header-active {
        padding-top: 105px;
    }
}
.pt-header-normal {
    padding-top: 70px;
}

/* Marquee line effect */
.marquee-text-flow {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeFlow 25s linear infinite;
}

@keyframes marqueeFlow {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Custom Checkbox style */
.checkbox-custom {
    accent-color: var(--gold-deep);
}

/* ----------------------------------------------------
   HEADER DYNAMIC THEMING & CONTRAST CALIBRATION
   ---------------------------------------------------- */
/* Dark Hero (Transparent Mode at top of Index/Project specs) */
#site-header.theme-dark-hero {
    color: #ffffff;
}
#site-header.theme-dark-hero .logo-text {
    color: #ffffff;
}
#site-header.theme-dark-hero .nav-link {
    color: rgba(255, 255, 255, 0.75);
}
#site-header.theme-dark-hero .nav-link:hover {
    color: #ffffff;
}
#site-header.theme-dark-hero .nav-link.active {
    color: var(--gold-soft);
}
#site-header.theme-dark-hero .phone-link {
    color: rgba(255, 255, 255, 0.75);
}
#site-header.theme-dark-hero .phone-link:hover {
    color: var(--gold-soft);
}
#site-header.theme-dark-hero .mobile-toggle {
    color: #ffffff;
}
#site-header.theme-dark-hero .mobile-toggle:hover {
    color: var(--gold-soft);
}

/* Light Hero (Transparent Mode at top of default pages) OR Scrolled Mode */
#site-header.theme-light-hero,
#site-header.header-scrolled {
    background-color: rgba(251, 249, 244, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 111, 44, 0.15);
    box-shadow: 0 10px 30px rgba(28, 26, 23, 0.05);
    color: #1c1a17;
}
#site-header.theme-light-hero .logo-text,
#site-header.header-scrolled .logo-text {
    color: #1c1a17;
}
#site-header.theme-light-hero .nav-link,
#site-header.header-scrolled .nav-link {
    color: rgba(28, 26, 23, 0.75);
}
#site-header.theme-light-hero .nav-link:hover,
#site-header.header-scrolled .nav-link:hover {
    color: #1c1a17;
}
#site-header.theme-light-hero .nav-link.active,
#site-header.header-scrolled .nav-link.active {
    color: #c5a85c;
}
#site-header.theme-light-hero .phone-link,
#site-header.header-scrolled .phone-link {
    color: rgba(28, 26, 23, 0.75);
}
#site-header.theme-light-hero .phone-link:hover,
#site-header.header-scrolled .phone-link:hover {
    color: #c5a85c;
}
#site-header.theme-light-hero .mobile-toggle,
#site-header.header-scrolled .mobile-toggle {
    color: #1c1a17;
}
#site-header.theme-light-hero .mobile-toggle:hover,
#site-header.header-scrolled .mobile-toggle:hover {
    color: #c5a85c;
}
