/* 
   SSBL Developers - Style Guide & Theme Stylesheet
   Designed for: Premium, Trustworthy Real Estate Landing Page
   Palette: Pure White Background, Soft Slate/Grey Accents, Deep Charcoal Text, Champagne Gold Highlights
*/

/* --- Import Premium Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- Root Variables (Design Tokens) --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --color-text-dark: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #64748b;
    --color-accent-gold: #c5a880;
    --color-accent-gold-dark: #a88d65;
    --color-accent-gold-light: #f5f1ea;
    --color-white: #ffffff;
    --color-success-whatsapp: #25d366;
    --color-success-whatsapp-dark: #128c7e;
    
    /* Layout & Styling */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(197, 168, 128, 0.15);
    
    /* Container Width */
    --container-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-accent-gold-light);
    color: var(--color-accent-gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-text-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.3);
}

.btn-accent {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(197, 168, 128, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.btn-outline:hover {
    border-color: var(--color-text-dark);
    background-color: var(--color-text-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: var(--shadow-subtle);
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-dark);
}

.logo-text span {
    color: var(--color-accent-gold);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    border: 1px solid var(--color-accent-gold);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.nav-contact-btn:hover {
    background-color: var(--color-accent-gold);
    color: var(--color-white);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-dark);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-gold-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--color-accent-gold);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-dark);
    margin-bottom: 24px;
}

.hero-title span {
    color: var(--color-accent-gold);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 32px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badge-icon {
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.trust-badge-sub {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: 2px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* --- Premium Banner/Image Slider --- */
.hero-slider-container {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #e2e8f0;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Caption overlay */
.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(15, 23, 42, 0.75);
    color: var(--color-white);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--color-accent-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: var(--shadow-subtle);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(2px);
}

.slider-arrow:hover {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
    left: 16px;
}

.next-arrow {
    right: 16px;
}

/* Indicator dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-accent-gold);
}

/* Image Card Badge overlay (shifted to stay safe on mobile) */
.hero-image-card {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--color-accent-gold);
}

.hero-image-card-count {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1;
}

.hero-image-card-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* --- Properties Showcase --- */
.properties {
    background-color: var(--bg-primary);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-text-dark);
    border-color: rgba(15, 23, 42, 0.15);
}

.tab-btn.active {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    border-color: var(--color-text-dark);
    box-shadow: var(--shadow-subtle);
}

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

.property-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 168, 128, 0.2);
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.property-card:hover .property-img-wrapper img {
    transform: scale(1.06);
}

.property-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-subtle);
}

.property-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.property-location {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.property-specs {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 12px 0;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.spec-item i {
    color: var(--color-accent-gold);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.property-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.price-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent-gold-dark);
}

.property-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Trust & Features (Why Choose Us) --- */
.why-us {
    background-color: var(--bg-secondary);
}

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

.feature-card {
    background-color: var(--color-white);
    padding: 40px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent-gold-dark);
    font-size: 1.5rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Amenity Icons --- */
.amenities {
    background-color: var(--bg-primary);
}

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

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    background-color: var(--color-white);
    box-shadow: var(--shadow-premium);
    transform: scale(1.03);
}

.amenity-icon {
    font-size: 2rem;
    color: var(--color-accent-gold-dark);
    margin-bottom: 16px;
}

.amenity-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

/* --- Redesigned Contact Section --- */
.contact-section {
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contact Cards container */
.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.contact-card-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
    background-color: var(--color-white);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.contact-card-call:hover {
    border-color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-card-whatsapp {
    background-color: rgba(37, 211, 102, 0.03);
    border-color: rgba(37, 211, 102, 0.12);
}

.contact-card-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.06);
    border-color: var(--color-success-whatsapp);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.1);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card-call .contact-card-icon {
    background-color: var(--bg-secondary);
    color: var(--color-text-dark);
}

.contact-card-whatsapp .contact-card-icon {
    background-color: var(--color-success-whatsapp);
    color: var(--color-white);
}

.contact-card-info {
    flex-grow: 1;
}

.contact-card-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.contact-card-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.contact-card-number {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 4px;
}

.contact-card-whatsapp .contact-card-number {
    color: var(--color-success-whatsapp-dark);
}

/* Map Container Layout */
.map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    padding: 80px 0 40px 0;
    border-top: 4px solid var(--color-accent-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo-text span {
    color: var(--color-accent-gold);
}

.footer-about {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-accent-gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
    color: var(--color-accent-gold);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--color-accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    max-width: 650px;
    text-align: right;
    line-height: 1.4;
}

/* --- Floating Sticky Widgets (Call & WhatsApp) --- */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.btn-float-whatsapp {
    background-color: var(--color-success-whatsapp);
}

.btn-float-call {
    background-color: var(--color-text-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-float-call:hover {
    background-color: var(--color-accent-gold-dark);
}

/* Tooltips */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background-color: rgba(15, 23, 42, 0.95);
    color: var(--color-white);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
    pointer-events: none;
}

.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sticky Bar (visible only on mobile phones) */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-white);
}

.mobile-btn-call {
    background-color: var(--color-text-dark);
}

.mobile-btn-whatsapp {
    background-color: var(--color-success-whatsapp);
}


/* --- Responsive Media Queries (strict mobile-friendly overhaul) --- */

/* Larger screens / Desktop size adjusts */
@media (max-width: 1200px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Tablets (landscape and portrait) */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
        width: 100%;
    }
    
    .hero-image-wrapper {
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
        order: -1; /* Display slider directly after the header on mobile/tablet view */
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-block {
        text-align: center;
    }
    
    .contact-card-link {
        text-align: left;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
    }
}

/* Small tablets / Mobile (Landscape & Portrait) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .header {
        padding: 4px 0;
    }
    
    .nav-wrapper {
        height: 70px;
    }
    
    .nav-links {
        display: none; /* Hide default nav link list */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: var(--shadow-subtle);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-contact-btn {
        display: none; /* Handled by sticky bottom mobile bar */
    }
    
    .property-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        padding: 0 8px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        padding: 0 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .disclaimer {
        text-align: center;
        margin-top: 10px;
    }
    
    /* Show mobile sticky bottom layout */
    .mobile-sticky-bar {
        display: grid;
    }
    
    /* Hide floating elements on mobile to prevent clutter and layout overlapping */
    .floating-widgets {
        display: none;
    }
    
    body {
        padding-bottom: 58px; /* Room for bottom sticky bar */
    }
}

/* Extra Small Phones (Strict viewport optimization) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.25rem; /* Prevents logo wrapping or breaking headers */
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 16px;
        align-items: center; /* Center trust badges */
    }
    
    .trust-badge-item {
        text-align: left;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }

    .amenity-item {
        padding: 16px 8px;
    }
    
    .contact-card-link {
        padding: 16px;
        gap: 12px;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .contact-card-number {
        font-size: 1.15rem;
    }

    .map-container {
        min-height: 280px;
    }
}
