/* ==========================================================================
   SOBHA SANCTUARY DUBAI - LUXURY DESIGN SYSTEM & STYLESHEET
   Colors: Dark Onyx (#0A0A0C), Cream (#FAF7F2), Royal Gold (#D4AF37)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #0A0A0C;
    --bg-dark-card: #141518;
    --bg-dark-elevated: #1B1C20;
    
    --bg-cream: #FAF7F2;
    --bg-cream-card: #FFFFFF;
    --bg-cream-elevated: #F4EFE6;

    --gold-primary: #D4AF37;
    --gold-hover: #C5A059;
    --gold-gradient: linear-gradient(135deg, #E5C158 0%, #C5A059 50%, #9B782E 100%);
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --text-primary-dark: #F7F7F8;
    --text-secondary-dark: #A1A1AA;
    --text-primary-light: #18181B;
    --text-secondary-light: #52525B;

    --border-dark: rgba(212, 175, 55, 0.2);
    --border-light: rgba(0, 0, 0, 0.08);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary-dark);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    font-weight: 700;
}

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

.text-cream {
    color: var(--bg-cream);
}

/* Container */
.container-custom {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5.5rem 0;
    width: 100%;
    overflow-x: hidden;
}

/* SECTION THEME VARIATIONS */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-primary-dark);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-primary-dark);
}

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

.section-cream {
    background-color: var(--bg-cream);
    color: var(--text-primary-light);
}

.section-cream h2, .section-cream h3, .section-cream h4 {
    color: var(--text-primary-light);
}

.section-cream p {
    color: var(--text-secondary-light);
}

.section-cream .project-card,
.section-cream .highlight-card,
.section-cream .stat-box,
.section-cream .download-card,
.section-cream .developer-box,
.section-cream .location-item,
.section-cream .amenity-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

.section-cream .project-specs li,
.section-cream .highlight-card p,
.section-cream .stat-box p,
.section-cream .amenity-card p {
    color: var(--text-secondary-light);
}

.section-cream .price-table-wrapper {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.section-cream .price-table th {
    background: #F4EFE6;
    color: #000000;
}

.section-cream .price-table td {
    color: #18181B;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Buttons */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold-gradient);
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #000;
}

/* Header */
header.navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

header.navbar-main.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 12, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    max-width: 240px;
}

.brand-logo img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary-dark);
}

.nav-menu a:hover {
    color: var(--gold-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-smooth);
}

/* Hero Banner Section — Desktop */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    width: 100%;
    overflow-x: hidden;
    background: linear-gradient(180deg, rgba(10,10,12,0.45) 0%, rgba(10,10,12,0.88) 100%),
                url('../images/sobha-sanctuary-dubai/desktop-banner.webp') center/cover no-repeat;
}

.hero-overlay-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--text-primary-dark);
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.hero-location {
    font-size: 1.25rem;
    color: var(--text-secondary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-location i {
    color: var(--gold-primary);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    background: rgba(20, 21, 24, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-dark);
    padding: 1.5rem;
    border-radius: 8px;
    width: 100%;
}

.stat-item h6 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary-dark);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-primary);
}

/* Quick Lead Form Card */
.lead-card {
    background: rgba(20, 21, 24, 0.95);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lead-card h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.lead-card p.form-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary-dark);
    margin-bottom: 1.5rem;
}

/* Mobile Hero: image + overlay (hidden on desktop) */
.hero-mobile-image-wrap {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
}

.hero-mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-mobile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
}

.hero-mobile-overlay .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.hero-mobile-overlay .hero-title {
    font-size: 1.7rem;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
}

/* Location pill — styled like the reference screenshot */
.hero-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid rgba(255,255,255,0.2);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-location-pill i {
    color: var(--gold-primary);
}

/* Mobile Stats Strip (hidden on desktop) */
.hero-mobile-stats {
    display: none;
    width: 100%;
    background: var(--bg-dark-card);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 1rem 1.25rem;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.mobile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
}

.mobile-stat-val {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.mobile-stat-lbl {
    font-size: 0.68rem;
    color: var(--text-secondary-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.mobile-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary-dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-control.is-invalid {
    border-color: #EF4444 !important;
}

.error-text {
    font-size: 0.75rem;
    color: #F87171;
    margin-top: 0.3rem;
    display: none;
}

.phone-flex {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.phone-flex select {
    width: 105px;
    flex-shrink: 0;
    background: #1A1C20;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.8rem 0.4rem;
    outline: none;
}

.phone-flex input {
    flex-grow: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    width: 100%;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Projects Collection Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
}

.project-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-thumb {
    height: 240px;
    overflow: hidden;
    width: 100%;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.08);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--gold-primary);
}

.project-specs {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-specs li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-specs li i {
    color: var(--gold-primary);
}

/* Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.stat-box {
    background: var(--bg-dark-elevated);
    border: 1px solid var(--border-dark);
    padding: 1.25rem;
    border-radius: 6px;
    text-align: center;
}

.stat-box h4 {
    font-size: 1.4rem;
    color: var(--gold-primary);
}

.stat-box p {
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    padding: 1.75rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-primary);
}

.highlight-card h4 {
    font-size: 1.15rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

/* Pricing Table */
.price-table-wrapper {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow-x: auto;
    width: 100%;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table th {
    background: #1A1C20;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    padding: 1.25rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-dark);
}

.price-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

/* Gallery & Amenities */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.gallery-item {
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* 12 AMENITIES GRID */
.amenities-grid-12 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.amenity-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    padding: 1.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.amenity-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
}

.amenity-icon-svg {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.amenity-card p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-dark-card);
    border-left: 4px solid var(--gold-primary);
    border-radius: 4px;
    width: 100%;
}

.location-item h4 {
    font-size: 1rem;
}

.location-item span {
    color: var(--gold-primary);
    font-weight: 700;
}

/* Downloads Section */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.download-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
    width: 100%;
}

.download-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
}

.download-card h4 {
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

/* Developer Section */
.developer-box {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.developer-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

/* Footer */
footer.site-footer {
    background: #050507;
    border-top: 1px solid var(--border-dark);
    padding: 3.5rem 0 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary-dark);
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1.5rem;
    text-align: center;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-box {
    background: var(--bg-dark-card);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary-dark);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold-primary);
}

/* Fixed Right Side Enquire Now Button (Desktop & Large Screen Only) */
.side-enquire-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: var(--gold-gradient);
    color: #000000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1.1rem 0.65rem;
    border-radius: 8px 0 0 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.5);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.side-enquire-btn:hover {
    padding-left: 0.95rem;
    box-shadow: -6px 6px 25px rgba(212, 175, 55, 0.7);
    color: #000;
}

/* Floating Actions Bar (Desktop Only) */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--gold-primary); color: #000; }
.float-btn:hover { transform: scale(1.1); }

/* Mobile Bottom Action Bar (Hidden on Desktop) */
.mobile-bottom-bar {
    display: none;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-dark-elevated);
    border: 1px solid var(--gold-primary);
    color: #FFFFFF;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 3000;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-error { border-color: #EF4444; }
.toast-success { border-color: #10B981; }

/* ==========================================================================
   STRICT MEDIA QUERIES (WIDTH & HEIGHT RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1200px) {
    .container-custom {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .container-custom {
        max-width: 92%;
    }

    .amenities-grid-12 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

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

/* TABLET & MOBILE BREAKPOINT (< 992px) */
@media (max-width: 992px) {
    .side-enquire-btn {
        display: none !important;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 105px;
        padding-bottom: 3.5rem;
    }

    .hero-overlay-grid, 
    .overview-grid, 
    .location-grid, 
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        width: 100%;
    }

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

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

    .developer-stats {
        gap: 2rem;
    }

    .price-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .price-table {
        min-width: 600px;
    }
}

/* ============================================================
   MOBILE VIEW (≤ 768px) - Complete Override
   ============================================================ */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }

    /* ── Hide header phone, floating icons, side button ── */
    .header-actions .contact-phone { display: none !important; }
    .floating-actions              { display: none !important; }
    .side-enquire-btn              { display: none !important; }

    /* ── Fixed Bottom Action Bar ── */
    .mobile-bottom-bar {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
        background: #0A0A0C;
        border-top: 1px solid var(--gold-primary);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.8);
        padding: 0.45rem;
        gap: 0.35rem;
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.75rem 0.2rem;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        letter-spacing: 0.04em;
    }

    .mobile-action-btn.whatsapp-action { background: #25D366; color: #fff; }
    .mobile-action-btn.enquire-action  { background: var(--gold-gradient); color: #000; }
    .mobile-action-btn.call-action     { background: #1A1C20; color: var(--gold-primary); border: 1px solid var(--gold-primary); }

    /* ══════════════════════════════════════════════════════
       MOBILE HERO — image on top, form below
       ══════════════════════════════════════════════════════ */

    /* 1. Strip hero-section of ALL background & layout */
    .hero-section {
        display: block !important;
        min-height: unset !important;
        padding-top: 60px !important;
        padding-bottom: 0 !important;
        background: var(--bg-dark) !important;
        background-image: none !important;
        align-items: unset !important;
    }

    /* 2. Show mobile image banner at the top */
    .hero-mobile-image-wrap {
        display: block;
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    /* 3. Hide desktop left-column (title + stats) */
    .hero-content-desktop { display: none !important; }

    /* 4. Form area: single column, no gap */
    .container-custom { padding: 0 !important; }
    .hero-overlay-grid {
        display: block !important;
        padding: 1rem;
    }

    .lead-card {
        padding: 1.5rem 1.1rem;
        border-radius: 8px;
        background: rgba(20,21,24,0.98);
        margin: 0;
    }

    .lead-card h3 { font-size: 1.3rem; }

    /* 5. Show mobile stats strip below form */
    .hero-mobile-stats { display: flex; }

    /* ─── Other section containers — restore padding ─── */
    .section-padding .container-custom,
    .section-cream .container-custom,
    .section-dark .container-custom,
    footer .container-custom { padding: 0 1.25rem !important; }

    /* ══════════════════════════════════════════════════════ */

    .section-header h2    { font-size: 1.85rem; }
    .projects-grid        { grid-template-columns: 1fr; }
    .amenities-grid-12    { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .gallery-grid         { grid-template-columns: repeat(2, 1fr); }
    .downloads-grid       { grid-template-columns: repeat(2, 1fr); }
    .hero-stats-row       { grid-template-columns: 1fr; gap: 0.75rem; }

    .floor-plan-grid,
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }

    .modal-box { padding: 1.75rem 1.25rem; max-width: 95%; }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 2.75rem 0;
    }

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

    .hero-location {
        font-size: 1rem;
    }

    .lead-card {
        padding: 1.4rem 1.1rem;
    }

    .gallery-grid, 
    .downloads-grid {
        grid-template-columns: 1fr;
    }

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

    .amenity-card {
        padding: 1.25rem 0.5rem;
    }

    .amenity-icon-svg {
        width: 44px;
        height: 44px;
        margin-bottom: 0.5rem;
    }

    .amenity-card p {
        font-size: 0.8rem;
    }

    .developer-box {
        padding: 1.75rem 1.1rem;
    }
}

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

    .btn-gold, .btn-outline-gold {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        width: 100%;
    }

    .mobile-action-btn {
        font-size: 0.7rem;
        padding: 0.65rem 0.1rem;
    }
}

/* SCREEN HEIGHT BASED RESPONSIVE RULES (@media (max-height: 700px)) */
@media (max-height: 700px) {
    .section-padding {
        padding: 2.5rem 0 !important;
    }

    .hero-section {
        padding-top: 80px !important;
        padding-bottom: 2.25rem !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 2.1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hero-location {
        margin-bottom: 0.85rem !important;
    }

    .hero-stats-row {
        padding: 0.85rem !important;
    }

    .lead-card {
        padding: 1.2rem !important;
    }

    .form-group {
        margin-bottom: 0.7rem !important;
    }

    .section-header {
        margin-bottom: 1.75rem !important;
    }

    .modal-box {
        max-height: 86vh;
        overflow-y: auto;
        padding: 1.4rem 1.1rem !important;
    }

    .amenity-card {
        padding: 1rem 0.5rem;
    }

    .amenity-icon-svg {
        width: 40px;
        height: 40px;
        margin-bottom: 0.4rem;
    }
}
