/* ============================================================
   Northern Hills - Premium Real Estate Website
   Stylesheet
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #620b14;
    --primary-dark: #4a0810;
    --primary-light: #7d1020;
    --accent: #e2c35d;
    --accent-dark: #c9a840;
    --secondary: #3b1811;
    --dark: #1a0c08;
    --grey: #575856;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f6f2;
    --cream: #f1f1f1;
    --border: #e8e3db;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --nav-height: 80px;
    --container-max: 1200px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader span {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(98, 11, 20, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    border-radius: 30px;
    padding: 8px 20px !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(98, 11, 20, 0.4);
}

.nav-phone {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-phone:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */

/* Hero Gallery Background */
.hero-gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
    gap: 0;
}

.hero-gal-item {
    overflow: hidden;
    position: relative;
}

.hero-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;
    animation: heroGalZoom 12s ease infinite alternate;
}

.hero-gal-item:nth-child(odd) img {
    animation-delay: 0s;
}

.hero-gal-item:nth-child(even) img {
    animation-delay: -6s;
}

@keyframes heroGalZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-subtitle .highlight-text {
    background: linear-gradient(135deg, var(--accent) 0%, #f5d76e 50%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 6px;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title-sub {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 8px;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-badge i {
    margin-right: 8px;
    color: var(--primary);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(226, 195, 93, 0.3); }
    50% { box-shadow: 0 0 25px rgba(226, 195, 93, 0.6); }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--white);
    font-size: 1.2rem;
    animation: scrollBounce 2s infinite;
    display: block;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ---- Animations ---- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(98, 11, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(98, 11, 20, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 20px auto 0;
    border-radius: 3px;
}

.section-highlight {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 15px;
}

.section-highlight i {
    margin-right: 6px;
    color: var(--primary);
}

.text-gold {
    color: var(--accent) !important;
}

.overview .text-gold {
    color: var(--accent) !important;
}

/* ---- Overview Section ---- */
.overview {
    background: var(--primary);
    color: var(--white);
}

.overview .section-tag {
    color: var(--accent);
}

.overview .section-title {
    color: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.video-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 0 rgba(226, 195, 93, 0.4);
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% { box-shadow: 0 0 0 0 rgba(226, 195, 93, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(226, 195, 93, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 195, 93, 0); }
}

.play-button:hover {
    background: var(--accent-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ---- Reasons Section ---- */
.reasons {
    background: var(--white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reason-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow);
    border-color: transparent;
}

.reason-card:hover::before {
    transform: scaleX(1);
}

.reason-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.reason-card:hover .reason-icon {
    transform: scale(1.1);
}

.reason-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.reason-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- Configuration Section ---- */
.configuration {
    background: var(--grey);
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=30');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--white);
    position: relative;
}

.configuration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.configuration .container {
    position: relative;
    z-index: 1;
}

.configuration .section-tag {
    color: var(--accent);
}

.configuration .section-title {
    color: var(--white);
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.config-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.config-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.config-card.featured {
    border-color: var(--accent);
    transform: scale(1.02);
}

.config-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.config-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.config-card:hover .config-image img {
    transform: scale(1.1);
}

.config-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.config-badge.sold-out {
    background: #dc3545;
}

.config-badge.premium {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.config-details {
    padding: 30px;
}

.config-details h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.config-area {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.config-features {
    margin-bottom: 25px;
}

.config-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.config-features li i {
    color: var(--accent);
    width: 20px;
    font-size: 0.85rem;
}

/* ---- Amenities Section ---- */
.amenities {
    background: var(--cream);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.amenity-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: default;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--accent);
}

.amenity-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(98, 11, 20, 0.1), rgba(98, 11, 20, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1);
}

.amenity-card h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
}

/* ---- Gallery Section ---- */
.gallery {
    background: var(--white);
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.gallery-item {
    min-width: calc(33.333% - 14px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--secondary);
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }

/* ---- Plans Section ---- */
.plans {
    background: var(--cream);
}

.plans-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.plan-tab {
    padding: 12px 25px;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.plan-tab:hover {
    border-color: var(--accent);
    color: var(--primary);
}

.plan-tab.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.plan-panel {
    display: none;
}

.plan-panel.active {
    display: block;
    animation: fadeUp 0.5s ease;
}

.plan-panel .plan-image img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-placeholder {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: 12px;
    border: 2px dashed var(--border);
}

.plan-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.plan-placeholder h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.plan-placeholder p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ---- Location Section ---- */
.location {
    background: var(--white);
}

.location-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.location-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.location-category i {
    color: var(--accent);
}

.location-category:hover,
.location-category.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
}

.location-category:hover i,
.location-category.active i {
    color: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.location-panel {
    display: none;
}

.location-panel.active {
    display: block;
    animation: fadeUp 0.4s ease;
}

.location-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-panel h3 i {
    color: var(--accent);
}

.location-panel ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.loc-name {
    font-weight: 500;
    color: var(--text);
}

.loc-dist {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.location-map iframe {
    border-radius: 12px;
}

.location-disclaimer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
}

/* ---- About Section ---- */
.about {
    background: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.highlight-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.highlight-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.highlight-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
}

.highlight-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* ---- RERA Section ---- */
.rera {
    background: var(--primary);
    padding: 50px 0;
}

.rera-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: left;
}

.rera-icon {
    font-size: 3rem;
    color: var(--accent);
}

.rera-text h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 5px;
}

.rera-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.rera-text a {
    color: var(--accent);
    text-decoration: underline;
}

/* ---- Contact Section ---- */
.contact {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-form-wrapper p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px 14px 45px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(98, 11, 20, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(98, 11, 20, 0.1), rgba(98, 11, 20, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.info-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.info-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.info-details a {
    color: var(--primary);
}

.info-details a:hover {
    text-decoration: underline;
}

/* ---- Footer ---- */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-contact p a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-rera {
    margin-bottom: 15px;
}

.footer-rera p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-rera a {
    color: var(--accent);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.7;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Floating Buttons ---- */
.floating-buttons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp {
    background: #25d366;
}

.whatsapp:hover {
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
}

.phone-float {
    background: var(--primary);
}

.phone-float:hover {
    box-shadow: 0 5px 25px rgba(98, 11, 20, 0.4);
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
}

/* ---- Modal ---- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
}

/* ---- Reveal Animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Responsive Design
   ============================================================ */

@media (max-width: 1200px) {
    .nav-phone { display: none; }
}

@media (max-width: 992px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 15px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
    }

    .nav-link::after { display: none; }

    .nav-cta {
        margin-top: 15px;
        text-align: center;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 0.8rem; letter-spacing: 3px; }
    .hero-stats { gap: 25px; }
    .stat-number { font-size: 2.2rem; }

    .overview-content,
    .about-content,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .config-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .config-card.featured {
        transform: none;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item {
        min-width: calc(50% - 10px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .section-title { font-size: 2rem; }

    .hero { min-height: 600px; }
    .hero-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
    .hero-gal-item:nth-child(n+5) { display: none; }
    .hero-title { font-size: 2rem; }
    .hero-title-sub { font-size: 1.1rem; }
    .hero-subtitle .highlight-text { font-size: 0.85rem; letter-spacing: 3px; }
    .hero-description { font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider { display: none; }

    .config-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item {
        min-width: calc(100% - 0px);
    }

    .location-categories {
        gap: 10px;
    }

    .location-category {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .location-category span { display: none; }

    .plans-tabs {
        gap: 8px;
    }

    .plan-tab {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rera-content {
        flex-direction: column;
        text-align: center;
    }

    .about-highlights {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root { --nav-height: 65px; }
    
    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.6rem; }
    .stat-number { font-size: 1.8rem; }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amenity-card {
        padding: 25px 15px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}
