/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --orange: #F48040;
    --navy: #121123;
    --black: #000000;
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--navy); line-height: 1.6; overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* --- 2. NAVIGATION & TOP MENU --- */
.navbar { background: var(--navy); border-bottom: 4px solid var(--orange); padding: 12px 0; }
.nav-link { 
    color: var(--white) !important; 
    font-size: 15px; 
    font-weight: 500; 
    padding: 10px 15px !important; 
    transition: var(--transition); 
}
.nav-link:hover { color: var(--orange) !important; }
.btn-phone { color: var(--white); border: 1px solid var(--orange); transition: var(--transition); }
.btn-phone:hover { background: var(--orange); color: var(--white); }

/* --- 3. BUTTONS & UI ELEMENTS --- */
.btn-main { 
    background: var(--orange); 
    color: var(--white); 
    border: none; 
    font-weight: 700; 
    padding: 12px 25px; 
    border-radius: 5px; 
    transition: var(--transition);
}
.btn-main:hover { background: var(--white); color: var(--orange); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(244, 128, 64, 0.3); }

.section-title { 
    width: fit-content; 
    font-weight: 800; 
    color: var(--navy); 
    text-transform: uppercase; 
    border-bottom: 4px solid var(--orange); 
    padding-bottom: 10px; 
    margin-bottom: 30px; 
}

/* --- 4. HERO SECTION --- */
.hero { 
    /* UPDATED IMAGE FILENAME BELOW */
    background: linear-gradient(rgba(18, 17, 35, 0.75), rgba(0, 0, 0, 0.75)), url('../images/birla-taranya-kalwa.jpg'); 
    height: 85vh; 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
}
.badge-tag { background: var(--orange); color: white; padding: 6px 15px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.hero h1 span { color: var(--orange); }

/* --- 5. SPLIT SECTION (70/30) & HIGHLIGHTS --- */
.highlight-list li {
    padding: 12px 0;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px dashed #ced4da;
    display: flex;
    align-items: center;
}
.highlight-list li i { font-size: 18px; color: var(--orange); margin-right: 10px; }

/* --- 6. PRICING CARDS --- */
.price-card { transition: var(--transition); border-radius: 10px; }
.price-card:hover { transform: translateY(-10px); border-color: var(--orange) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; }
.text-orange { color: var(--orange); }

/* --- 7. AMENITIES GRID --- */
.bg-navy { background-color: var(--navy); }
.amenity-item { 
    transition: var(--transition); 
    background: rgba(255,255,255,0.05); 
    cursor: pointer;
}
.amenity-item:hover { 
    background: var(--orange); 
    border-color: var(--orange) !important; 
}
.amenity-item:hover h6, .amenity-item:hover i { color: var(--white) !important; }

/* --- 8. LOCATION SECTION --- */
.loc-card { border-radius: 12px; height: 100%; transition: var(--transition); }
.loc-card ul { list-style: none; padding-left: 0; }
.loc-card li { margin-bottom: 8px; position: relative; padding-left: 20px; }
.loc-card li::before { content: '•'; color: var(--orange); position: absolute; left: 0; font-weight: bold; }

/* --- 9. STICKY MOBILE FOOTER & ICONS --- */
.sticky-footer { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 9999; 
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2); 
}
.sticky-footer i { font-size: 18px; display: block; margin-bottom: 2px; }
.text-navy { color: var(--navy); }
.bg-orange { background-color: var(--orange); }

/* --- 10. MODAL & INLINE FORMS --- */
.modal-header { border-bottom: 2px solid var(--orange); }
.form-control { border-radius: 4px; padding: 12px; border: 1px solid #ddd; }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 0.25rem rgba(244, 128, 64, 0.25); }
.iti { width: 100% !important; margin-bottom: 15px; }

/* --- 11. RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .navbar-nav { background: var(--navy); padding: 20px; border-top: 1px solid var(--orange); }
    .hero { height: auto; padding: 100px 0; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero .mt-4 { justify-content: center; }
    .section-title { margin-left: auto; margin-right: auto; }
    body { padding-bottom: 70px; } /* Space for sticky footer */
    .sticky-footer a { flex: 1; flex-direction: column; display: flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }
}

/* FOMO Marquee Styling */
.fomo-scroller {
    background: #fff3cd; /* Light warning yellow */
    color: #856404;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 50px;
    border: 1px solid #ffeeba;
    font-weight: 600;
    font-size: 0.9rem;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Ribbon Tags */
.ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.top-selling { background: #28a745; } /* Green */
.high-demand { background: #dc3545; } /* Red */

/* Responsive adjustment for ribbons */
@media (max-width: 768px) {
    .price-card { margin-top: 20px; }
}

/* --- ANIMATED PRICING CARD --- */

.animate-top-selling {
    border: 2px solid var(--orange) !important;
    animation: pulse-shadow 3s infinite;
    transform: scale(1.03); /* Slightly larger by default */
    z-index: 5;
}

/* Pulse Glow Effect */
@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 128, 64, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(244, 128, 64, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 128, 64, 0);
    }
}

/* Subtle Zoom Animation for the whole box */
.animate-top-selling {
    animation: box-zoom 4s ease-in-out infinite, pulse-shadow 3s infinite;
}

@keyframes box-zoom {
    0%, 100% { transform: scale(1.03); }
    50% { transform: scale(1.06); }
}

/* FOMO Marquee Styling Refined */
.fomo-scroller {
    background: #FFDADA; /* Soft Red for Urgency */
    color: #900;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 5px;
    border-left: 5px solid #d9534f;
    font-weight: 700;
    font-size: 1rem;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    padding-right: 60px;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway because of duplicated content */
}

/* Ribbon Tags with Shine Effect */
.top-selling {
    background: linear-gradient(45deg, #28a745, #85e085);
    background-size: 200% 200%;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* SOCIAL INFRASTRUCTURE STYLES */
#location .list-group-item {
    border: none;
    padding: 10px 0;
    font-weight: 500;
}

#location .list-unstyled li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

#location .list-unstyled li:last-child {
    border-bottom: none;
}

#location h4 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 250px;
}

/* Social Icon Hover */
#location .fa {
    transition: transform 0.3s ease;
}

#location .bg-light:hover .fa {
    transform: scale(1.2);
}

/* Sticky Buttons - Mobile & Desktop */
.sticky-actions {
    position: fixed;
    z-index: 9999;
    transition: all 0.5s ease;
    display: flex;
    gap: 10px;
}

/* Mobile: bottom bar */
@media (max-width: 991px) {
    .sticky-actions {
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
    }
    .sticky-actions a {
        flex: 1;
        text-align: center;
        padding: 12px 0;
        font-weight: 600;
        font-size: 14px;
        color: #fff;
        text-decoration: none;
    }
    .sticky-actions a i {
        display: block;
        margin-bottom: 4px;
        font-size: 18px;
    }
    .sticky-whatsapp { background: #25D366; }
    .sticky-call { background: #007bff; }
    .sticky-enquire { background: #ff6600; }
}

/* Desktop: vertical right bar */
@media (min-width: 992px) {
    .sticky-actions {
        flex-direction: column;
        top: 40%;
        right: -140px; /* hidden initially */
    }
    .sticky-actions a {
        display: flex;
        align-items: center;
        padding: 12px 16px;
        border-radius: 50px 0 0 50px;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }
    .sticky-actions a:hover {
        transform: translateX(-5px);
    }
    .sticky-actions i {
        margin-right: 8px;
        font-size: 18px;
    }
    .sticky-whatsapp { background: #25D366; animation: pulse 1.5s infinite; }
    .sticky-call { background: #007bff; }
    .sticky-enquire { background: #ff6600; }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
