/* ===========================
   HAPPY GALAXY -  CSS
   Alternating Light/Dark Theme
   =========================== */

/* --- CSS Custom Properties / --- */
:root {
    /* Primary Palette */
    --gold: #b8940f;
    --gold-light: #d4af37;
    --gold-dark: #8a6d00;
    --gold-accent: #c9a84c;
    --champagne: #f7e7ce;

    /* Light Palette */
    --white: #ffffff;
    --off-white: #f8f9fc;
    --light-bg: #f1f3f8;
    --light-card: #ffffff;
    --light-card-hover: #f8f5ee;
    --light-border: rgba(0, 0, 0, 0.08);
    --light-text: #1e293b;
    --light-text-secondary: #475569;
    --light-text-muted: #94a3b8;

    /* Dark Palette */
    --dark-bg: #0f1419;
    --dark-surface: #161c24;
    --dark-card: #1c2530;
    --dark-card-hover: #243040;
    --dark-border: rgba(201, 168, 76, 0.15);
    --dark-text: #f1f5f9;
    --dark-text-secondary: #b0bec5;
    --dark-text-muted: #78909c;

    /* Accent */
    --accent-emerald: #10b981;
    --accent-blue: #3b82f6;
    --accent-red: #ef4444;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #b8940f, #d4af37, #c9a84c);
    --gradient-gold-hover: linear-gradient(135deg, #d4af37, #e8c84b, #d4af37);
    --gradient-hero: linear-gradient(135deg, rgba(15, 20, 25, 0.88) 0%, rgba(28, 37, 48, 0.82) 50%, rgba(15, 20, 25, 0.90) 100%);

    /* Glass */
    --glass-blur: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 24px rgba(184, 148, 15, 0.2);
    --shadow-gold-lg: 0 8px 40px rgba(184, 148, 15, 0.25);

    /* Spacing */
    --section-py: 100px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

a:hover {
    color: var(--gold-dark);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

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

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

.btn-secondary:hover {
    background: rgba(184, 148, 15, 0.08);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* ==============================
   HEADER - White/Light Style
   ============================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    background: #ffffff;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--light-border);
    transition: all var(--transition-smooth);
}

.main-header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-logo {
    height: 54px;
    width: auto;
}

.project-logo {
    height: 44px;
    width: auto;
    border-radius: 6px;
}

.logo-wrapper .divider {
    width: 1px;
    height: 30px;
    background: var(--light-border);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--light-text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--light-border);
    color: var(--light-text);
    font-size: 1.3rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
    background: var(--off-white);
}

/* Mobile Nav Close Button */
.mobile-nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid var(--light-border);
    color: var(--light-text);
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    background: var(--off-white);
    color: var(--accent-red);
}

/* ==============================
   HERO - Dark Section
   ============================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('/images/hero.jpg') center/cover no-repeat;
    padding: 120px 0 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(8, 12, 16, 0.88) 0%,
            rgba(12, 18, 26, 0.78) 35%,
            rgba(15, 22, 32, 0.72) 65%,
            rgba(8, 12, 16, 0.85) 100%);
    z-index: 1;
}

/* Subtle gold shimmer line at bottom of hero */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 2;
    opacity: 0.7;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Hero tagline */
.hero-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    opacity: 0.85;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 22px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.05;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-weight: 300;
    font-style: italic;
}

/* Hero price tag */
.hero-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(20, 28, 38, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 32px;
}

.price-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.bullet-item i {
    color: var(--gold-light);
    font-size: 0.85rem;
    width: 18px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-ctas .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Form */
.hero-form-wrapper {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-form-card {
    background: rgba(20, 28, 38, 0.80);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--white);
}

.hero-form-card>p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

/* --- Form Styles (Dark Context - Hero/Modal) --- */
.hero-form-card .form-group input {
    padding: 14px 16px 14px 40px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    width: 100%;
}

.hero-form-card .form-group input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.hero-form-card .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.hero-form-card .form-group .form-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    pointer-events: none;
}

/* --- General Form Styles (Light Context) --- */
.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--light-text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--white);
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: var(--light-text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 148, 15, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-status {
    margin-top: 14px;
    padding: 0;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition-smooth);
}

.form-status.success {
    padding: 12px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    padding: 12px;
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Section Header Shared Styles --- */
.section-header {
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.header-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-lead {
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==============================
   OVERVIEW - Light Section
   ============================== */
.overview-section {
    padding: var(--section-py) 0;
    background: var(--white);
}

.overview-section .section-header h2 {
    color: var(--light-text);
}

.overview-section .section-lead {
    color: var(--light-text-secondary);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.overview-text p {
    color: var(--light-text-secondary);
    margin-bottom: 18px;
    font-size: 0.98rem;
}

.overview-text strong {
    color: var(--gold-dark);
}

/* RERA Card - Screenshot style */
.rera-card {
    margin-top: 28px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rera-card-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1a2530 0%, #243040 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--dark-border);
}

.rera-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.rera-card-text {
    flex: 1;
}

.rera-card-text h4 {
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.rera-card-text p {
    font-size: 0.82rem !important;
    color: var(--dark-text-muted) !important;
    margin-bottom: 0 !important;
}

.rera-qr-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Overview Project Logo */
.overview-project-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 28px;
    border-radius: var(--radius-lg);
}

/* Badge Light variant */
.badge-light {
    background: rgba(184, 148, 15, 0.08);
    color: var(--gold-dark);
    border-color: rgba(184, 148, 15, 0.2);
    margin-bottom: 16px;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.stat-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 148, 15, 0.08);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.15rem;
}

.stat-card h3 {
    font-size: 1.9rem;
    color: var(--gold-dark);
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--light-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ==============================
   HIGHLIGHTS - Dark Section
   ============================== */
.highlights-section {
    padding: var(--section-py) 0;
    background: var(--dark-surface);
}

.highlights-section .section-header h2 {
    color: var(--dark-text);
}

.highlights-section .header-line {
    margin: 0 auto 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.highlight-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 44px 30px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 1.5rem;
    transition: all var(--transition-smooth);
}

.highlight-card:hover .icon-box {
    background: rgba(212, 175, 55, 0.18);
    transform: scale(1.1);
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.highlight-card p {
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==============================
   FLOOR PLANS - Light Section
   ============================== */
.floor-plans-section {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.floor-plans-section .section-header h2 {
    color: var(--light-text);
}

.floor-plans-section .section-lead {
    color: var(--light-text-secondary);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 4px;
    margin-bottom: 36px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 5px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--light-text-muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--light-text);
    background: var(--off-white);
}

.tab-btn.active {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.floor-plan-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.layout-info h3 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 14px;
}

.area-details {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.area-details span {
    font-size: 0.88rem;
    color: var(--gold-dark);
    padding: 8px 16px;
    background: rgba(184, 148, 15, 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(184, 148, 15, 0.15);
    font-weight: 500;
}

.plan-specs {
    margin-bottom: 26px;
}

.plan-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--light-text-secondary);
    font-size: 0.9rem;
}

.plan-specs li i {
    color: var(--accent-emerald);
    margin-top: 4px;
    flex-shrink: 0;
}

.layout-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
}

.floor-plan-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.layout-image:hover .floor-plan-img {
    transform: scale(1.03);
}

/* ==============================
   GALLERY - Dark Section
   ============================== */
.gallery-section {
    padding: var(--section-py) 0;
    background: var(--dark-surface);
}

.gallery-section .section-header h2 {
    color: var(--dark-text);
}

.gallery-section .section-lead {
    color: var(--dark-text-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ==============================
   AMENITIES - Dark Section (after gallery removal)
   ============================== */
.amenities-section {
    padding: var(--section-py) 0;
    background: var(--dark-bg);
}

.amenities-section .section-header h2 {
    color: var(--dark-text);
}

.amenities-section .section-lead {
    color: var(--dark-text-secondary);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.amenity-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 32px 22px;
    text-align: center;
    transition: all var(--transition-smooth);
}

.amenity-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: var(--dark-card-hover);
}

.am-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 148, 15, 0.08);
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 1.3rem;
    transition: all var(--transition-smooth);
}

.amenity-card:hover .am-icon {
    background: rgba(184, 148, 15, 0.15);
    transform: scale(1.1);
}

.amenity-card h4 {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.amenity-card p {
    color: var(--dark-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ==============================
   SPECIFICATIONS - Light Section (Accordion)
   ============================== */
.specifications-section {
    padding: var(--section-py) 0;
    background: var(--off-white);
}

.specifications-section .section-header h2 {
    color: var(--light-text);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--light-text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-header span i {
    color: var(--gold);
    font-size: 1rem;
}

.accordion-header .arrow {
    color: var(--light-text-muted);
    font-size: 0.8rem;
    transition: transform var(--transition-smooth);
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 24px 20px;
}

.accordion-content ul {
    padding-left: 0;
}

.accordion-content li {
    color: var(--light-text-secondary);
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.7;
}

.accordion-content li:last-child {
    border-bottom: none;
}

.accordion-content li strong {
    color: var(--gold-dark);
}

/* ==============================
   LOCATION - Light Section
   ============================== */
.location-section {
    padding: var(--section-py) 0;
    background: var(--dark-surface);
}

.location-section .section-header h2 {
    color: var(--dark-text);
}

.location-section .section-lead {
    color: var(--dark-text-secondary);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.location-list h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 24px;
}

.loc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    margin-bottom: 8px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.loc-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(4px);
}

.loc-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

.loc-name i {
    color: var(--gold-light);
    width: 16px;
    font-size: 0.85rem;
}

.loc-dist {
    font-weight: 700;
    color: var(--gold-light);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.location-info-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.info-content h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 14px;
}

.info-content p {
    color: var(--dark-text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.loc-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

.loc-bullets li i {
    color: var(--accent-emerald);
}

/* ==============================
   CONTACT - Light Section
   ============================== */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--white);
}

.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid #e2e8f0;
}

.contact-info-panel {
    background: linear-gradient(145deg, #1c2530, #141a22);
    padding: 48px 36px;
    border-right: 1px solid var(--dark-border);
}

.contact-info-panel h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.panel-desc {
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.detail-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.detail-item>i {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.detail-item h5 {
    font-size: 0.88rem;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.detail-item p {
    color: var(--dark-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.detail-item a {
    color: var(--gold-light);
    font-weight: 600;
}

/* Contact CTA Panel */
.contact-cta-panel {
    background: linear-gradient(145deg, var(--off-white), var(--white));
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cta-content {
    text-align: center;
    max-width: 360px;
}

.contact-cta-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.contact-cta-content h3 {
    font-size: 1.6rem;
    color: var(--light-text);
    margin-bottom: 12px;
}

.contact-cta-content p {
    font-size: 0.92rem;
    color: var(--light-text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-cta-phone {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-cta-phone span {
    font-size: 0.82rem;
    color: var(--light-text-muted);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gold-dark) !important;
    transition: all var(--transition-fast);
}

.phone-link:hover {
    color: var(--gold) !important;
    transform: scale(1.05);
}

/* ==============================
   FOOTER - Premium Light/Dark
   ============================== */
.main-footer {
    padding: 60px 0 0;
    background: var(--dark-surface);
    color: var(--dark-text-secondary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--dark-border);
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
    border-radius: 6px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--dark-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--dark-text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-smooth);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--dark-text-muted);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-col ul li i {
    margin-right: 8px;
    color: var(--gold);
    font-size: 0.8rem;
    width: 16px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--dark-text-muted);
}

.footer-rera {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--dark-text-muted);
}

.footer-rera i {
    color: var(--gold);
}

.disclaimer {
    padding: 20px 0;
    border-top: 1px solid var(--dark-border);
    font-size: 0.7rem;
    color: var(--dark-text-muted);
    line-height: 1.7;
    opacity: 0.5;
    text-align: center;
}

/* ==============================
   MODAL
   ============================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-dialog {
    width: 100%;
    max-width: 480px;
    margin: 20px;
}

.modal-content {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    animation: scaleIn 0.35s ease-out;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: var(--light-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--light-text-muted);
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================
   TOAST NOTIFICATIONS
   ============================== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--accent-emerald);
    min-width: 320px;
    max-width: 440px;
    pointer-events: all;
    animation: toastSlideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.toast.toast-error {
    border-left-color: var(--accent-red);
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-icon.success {
    color: var(--accent-emerald);
}

.toast-icon.error {
    color: var(--accent-red);
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--light-text);
    margin-bottom: 2px;
}

.toast-msg {
    font-size: 0.82rem;
    color: var(--light-text-muted);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--light-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--light-text);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-emerald);
    animation: toastProgress 4s linear forwards;
}

.toast-error .toast-progress {
    background: var(--accent-red);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* ==============================
   RESPONSIVE
   ============================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-form-wrapper {
        max-width: 460px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .floor-plan-layout {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--dark-border);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-py: 64px;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 40px;
        gap: 18px;
        border-left: 1px solid var(--light-border);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-smooth);
        z-index: 1001;
    }

    .navbar.open {
        right: 0;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav-close {
        display: flex;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1005;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-smooth);
    }

    .nav-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }

    /* Hero Mobile */
    .hero-section {
        min-height: auto;
        padding: 135px 0 60px;
    }

    .hero-form-wrapper {
        display: none;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.35;
        margin-bottom: 20px;
    }

    .hero-bullets {
        gap: 8px;
        margin-bottom: 24px;
    }

    .bullet-item {
        font-size: 0.9rem;
        gap: 10px;
    }

    .hero-ctas {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-ctas .btn {
        flex: 1;
        font-size: 0.9rem;
        padding: 14px 16px;
        white-space: nowrap;
    }

    /* Sections */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .amenity-card {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* RERA Card */
    .rera-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 20px;
    }

    .rera-card-text h4 {
        font-size: 1rem;
    }

    /* Overview logo */
    .overview-project-logo {
        width: 90px;
    }

    /* Contact */
    .contact-cta-panel {
        padding: 32px 24px;
    }

    .contact-info-panel {
        padding: 32px 24px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Modal */
    .modal-dialog {
        margin: 12px;
    }

    .modal-content {
        padding: 22px 18px;
    }

    .modal-header {
        margin-bottom: 14px;
    }

    .modal-header h3 {
        font-size: 1.15rem;
        margin-bottom: 4px;
    }

    .modal-header p {
        font-size: 0.8rem;
    }

    .modal .form-group {
        margin-bottom: 10px;
    }

    .modal .form-group label {
        margin-bottom: 4px;
        font-size: 0.78rem;
    }

    .modal .form-group input,
    .modal .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Toast */
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero-bullets {
        gap: 6px;
        margin-bottom: 18px;
    }

    .bullet-item {
        font-size: 0.82rem;
        gap: 8px;
    }

    .hero-ctas {
        flex-direction: row;
        gap: 8px;
    }

    .hero-ctas .btn {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .amenity-card {
        padding: 20px 10px;
    }

    .amenity-card h4 {
        font-size: 0.88rem;
    }

    .amenity-card p {
        display: none;
    }

    .area-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==============================
   WHATSAPP FLOATING BUTTON
   ============================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    text-decoration: none !important;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #ffffff;
}

.whatsapp-float i {
    line-height: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}