/* Consolidated styles extracted from index.php */
:root {
    --primary-gold: #b1915a;
    --accent-maroon: #800000;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-off-white: #fafafa;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    padding-bottom: 0;
}

h1, h2, h3, .tower-label { font-family: 'Playfair Display', serif; }

/* Header/Nav */
header { display:flex; justify-content:space-between; align-items:center; padding:10px 5%; position:sticky; top:0; background:rgba(255,255,255,0.98); z-index:1300; box-shadow:0 2px 10px rgba(0,0,0,0.05); height:70px; }
.logo img { height:40px; width:auto; }
nav ul { display:flex; list-style:none; gap:20px; }
nav a { text-decoration:none !important; color:var(--text-light); font-size:11px; text-transform:uppercase; letter-spacing:1.2px; font-weight:600; transition:var(--transition); }
nav a:hover, nav a.active { color:var(--primary-gold); }
.cta-header { border:1.5px solid var(--accent-maroon); color:var(--accent-maroon); background:transparent; padding:6px 15px; cursor:pointer; text-transform:uppercase; font-size:10px; letter-spacing:1px; font-weight:700; transition:var(--transition); white-space:nowrap; }
.cta-header:hover { background:var(--accent-maroon); color:white; }
.hamburger { display:none; cursor:pointer; flex-direction:column; gap:5px; z-index:1400; padding:5px; }
.hamburger span { width:24px; height:2px; background:var(--text-dark); transition:var(--transition); display:block; transform-origin:center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */

/* 1. The Container: Forces total width to match the H1 width */
.content-wrapper {
    display: inline-table; 
    width: auto;
    min-width: 320px; /* Prevents it from getting too squished on tiny phones */
}

/* 2. The Heading: The anchor for the width */
.hero-title {
    /* Responsive font size: Min 1.5rem, scales with width, Max 4.5rem */
    font-size: clamp(1.5rem, 8vw, 4.5rem); 
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap; /* Keeps it as a single solid line */
    /* text-transform: uppercase; */
}

/* 3. The Paragraph: Matches H1 width and justifies */
.justified-para {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    
    width: 100%;             /* Fills the container width set by H1 */
    text-align: justify;      /* Justifies on Desktop & Mobile */
    text-justify: inter-word; /* Distributes space between words */
    
    /* Optional: Prevents awkward gaps on narrow mobile screens */
    hyphens: auto; 
    word-break: break-word;
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem;
        display: table; /* Maintains the 'shrink-wrap' effect on mobile */
        margin: 0 auto; /* Centers the whole block if desired */
    }
    
    .hero-title {
        letter-spacing: -1px; /* Tighter look for mobile */
    }
}

/* .hero { display:flex; min-height:90vh; align-items:center; overflow:hidden; }
.content-side { flex:1; padding:60px 8%; }
.content-side h1, .content-side h2 { font-size:clamp(1.6rem,4vw,2.8rem); line-height:1.2; margin-bottom:20px; font-weight:400; letter-spacing:1px; text-transform:uppercase; }
.content-side p { font-size:0.95rem; color:var(--text-light); margin-bottom:30px; max-width:500px; }
.image-side { flex:1; height:90vh; overflow:hidden; }
.image-side img { width:100%; height:100%; object-fit:cover; transition:transform 1.5s ease; }
.secondary-section { background:var(--bg-off-white); flex-direction:row-reverse; } */

/* CTA */
.cta-main { display:inline-block; background:var(--accent-maroon); color:white; padding:14px 30px; text-decoration:none; text-transform:uppercase; letter-spacing:2px; font-size:12px; font-weight:600; border:none; cursor:pointer; transition:var(--transition); }
.cta-main:hover { background:#600000; transform: translateY(-2px); }




/* Connectivity */
.connectivity-section { padding:80px 5%; }
.section-title { text-align:center; font-size:1.8rem; letter-spacing:4px; margin-bottom:40px; text-transform:uppercase; }
.connectivity-container { display:grid; grid-template-columns:1.5fr 0.5fr 1.2fr; gap:30px; }
.map-wrapper { overflow:hidden; box-shadow:0 20px 40px rgba(0,0,0,0.1); }
.node { position:relative; margin-bottom:40px; cursor:pointer; padding-left:20px; font-size:13px; font-weight:600; letter-spacing:1px; color:#999; transition:var(--transition); }
.node.active span { color:var(--primary-gold); border-bottom:2px solid var(--primary-gold); }

/* Square modal */
.square-modal { border-radius:0 !important; }

/* Footer */


/* Sticky mobile contact */
.sticky-contact { height:4rem; }
.sticky-btn { transition: transform 0.15s ease-in-out; border-radius:0; }
.sticky-btn.call { background-color:#f3f4f6; color:#1f2937; }
.sticky-btn.whatsapp { background-color:#25d366; color:#ffffff; }
.sticky-btn:hover { transform:translateY(-1px); box-shadow:0 4px 8px rgba(0,0,0,0.1); z-index:51; }

/* Responsive */
@media (max-width: 992px) {
    header { padding:0 5%; }
    .hamburger { display:flex; }
    nav { position:fixed; top:0; left:-100%; width:75%; height:100vh; background:white; z-index:1401; transition:0.45s cubic-bezier(0.4,0,0.2,1); box-shadow:10px 0 24px rgba(0,0,0,0.08); display:flex; flex-direction:column; padding:80px 20px; }
    nav.active { left:0; }
    nav ul { flex-direction:column; gap:14px; }
    nav a { font-size:14px; letter-spacing:1.6px; }
    .hero { flex-direction:column; min-height:unset; padding:18px 0; }
    .content-side { padding:18px 5%; text-align:center; }
    .content-side p { margin:0 auto 18px; font-size:0.92rem; }
    .image-side { width:100%; height:30vh; }
    .secondary-section { flex-direction:column; padding:18px 0; }
    .connectivity-section { padding:36px 5%; }
    .section-title { margin-bottom:18px; }
    .connectivity-container { grid-template-columns:1fr; gap:14px; }
    .timeline-indicator { display:flex; justify-content:center; gap:20px; }
    .node { margin-bottom:12px; padding-left:0; }
    .cta-header { display:block; font-size:9px; padding:6px 12px; letter-spacing:0.5px; }
    body { padding-bottom:4rem; }
}

/* Hero Split adjustments */
.hero-split { display:flex; min-height:85vh; align-items:center; }
.hero-split > div { flex:1; }
.img-overlay-container { position:relative; height:85vh; overflow:hidden; }
.img-overlay-container img { width:100%; height:100%; object-fit:cover; }

/* Pricing & Gallery */
.price-card { background:white; border:1px solid #eee; transition:var(--transition); }
.price-card:hover { border-color:var(--primary-gold); box-shadow:0 10px 30px rgba(0,0,0,0.05); }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:15px; }
.gallery-item { aspect-ratio:4/3; overflow:hidden; position:relative; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.8s ease; }
.gallery-item:hover img { transform:scale(1.1); }

/* Full page banner */
.full-page-banner { width:100%; height:100vh; overflow:hidden; position:relative; }
.full-page-banner picture, .full-page-banner img { width:100%; height:100%; object-fit:cover; display:block; }

/* Hero small adjustments moved from inline blocks */
.hero-split { min-height:100vh; }
.img-overlay-container { width:100%; height:50vh; }
@media (min-width:768px) { .img-overlay-container { height:100vh; } }



/* Amenity card overlay styles */
.amenity-card { position:relative; cursor:pointer; }
.overlay-text { position:absolute; bottom:0; left:0; width:100%; padding:30px; background:linear-gradient(transparent, rgba(0,0,0,0.7)); color:white; font-family:'Playfair Display', serif; font-size:1.2rem; text-transform:uppercase; letter-spacing:2px; opacity:0; transform:translateY(20px); transition:all 0.5s ease; }
.amenity-card:hover .overlay-text { opacity:1; transform:translateY(0); }
@media (max-width:768px) { .amenity-slider { overflow-x:auto; scroll-snap-type:x mandatory; } .amenity-card { scroll-snap-align:start; } .overlay-text { opacity:1; transform:translateY(0); } }

/* Gallery responsive & layout */
:root { --primary-gold:#c5a059; }
.gold-underline { width:60px; height:3px; background:var(--primary-gold); margin:0 auto; }
.section-padding { padding:80px 20px; }
.text-maroon { color:var(--accent-maroon); }
.border-maroon { border-color:var(--accent-maroon); }
@media (max-width:768px) {
    .mobile-slider { display:flex !important; overflow-x:auto; scroll-snap-type:x mandatory; gap:16px; padding:10px 0 30px 0; scrollbar-width:none; -ms-overflow-style:none; text-align:left; }
    .mobile-slider::-webkit-scrollbar { display:none; }
    .mobile-slider > div, .mobile-slider > .gallery-item { flex:0 0 85%; scroll-snap-align:center; min-width:280px; }
    .slider-container { padding:0 10px; }
}
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.gallery-item img { width:100%; height:300px; object-fit:cover; border-radius:4px; }
.price-card { background:white; box-shadow:0 10px 30px rgba(0,0,0,0.05); border:1px solid #eee; border-radius:8px; transition:transform 0.3s ease; }
.price-card:hover { transform:translateY(-5px); }



.lead-form input,
.lead-form select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.lead-form input:focus,
.lead-form select:focus {
    border-bottom-color: #800000;
}

.config-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.submit-btn {
    width: 100%;
    background: #800000;
    color: #fff;
    padding: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #000;
}

/* WhatsApp Button */
.whatsapp-btn {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn img {
    width: 20px;
    height: 20px;
}


/* Title Styling */
.hero-title {
    font-family: 'Playfair Display', serif;
    color: #333;
    font-weight: 400; /* Matching the elegant, thin look of the image */
    line-height: 1.2;
}

/* The Short Green Line from the image */
.accent-line {
    width: 40px;      /* Small width like the image */
    height: 3px;
    background-color: var(--primary-gold); /* Dark green tone from the image */
    border-radius: 2px;
}

/* Project Details (The grey text with pipes) */
.project-details {
    color: #555;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.6;
    text-transform: none; /* Removed uppercase for better readability */
}

/* Style for the Pipes (|) to make them look uniform */
.project-details span {
    color: #ccc;
    margin: 0 4px;
    font-weight: 300;
}

/* Button Refinement */
.cta-outline {
    border: 1px solid #ccc;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem; /* Ensure it doesn't break the screen */
        white-space: normal; /* Allow wrapping on small screens */
    }
    
    .project-details {
        font-size: 13px;
    }
}