@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@200;300;400;500;600;700&display=swap');

/* CSS Variables for Premium Luxury Theme */
:root {
    --bg-dark: #080d0a;
    --bg-card: #121a15;
    --bg-card-hover: #18241d;
    --text-primary: #f5f7f6;
    --text-secondary: #9ea4a1;
    --color-green: #8FD14F;
    --color-green-glow: rgba(143, 209, 79, 0.35);
    --color-gold: #d4b26f;
    --color-gold-glow: rgba(212, 178, 111, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-green: rgba(143, 209, 79, 0.15);
    --glass-bg: rgba(18, 26, 21, 0.75);
    --glass-blur: blur(12px);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-green);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Typography styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--color-green);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 15px auto 0;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(8, 13, 10, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-green);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-green), #68a832);
    color: #000;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px var(--color-green-glow);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 209, 79, 0.5);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-subtle);
        gap: 15px;
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .btn-contact {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8,13,10,0.4) 0%, rgba(8,13,10,0.95) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--color-gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

/* Floating Banner Form */
.hero-form-wrapper {
    background: rgba(18, 26, 21, 0.85);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-green);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-form-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    border-left: 4px solid var(--color-green);
    padding-left: 12px;
}

.hero-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0 15px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 10px var(--color-green-glow);
}

.checkbox-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
}
.checkbox-label span {
    flex: 1;
    min-width: 0;
}


.checkbox-label input {
    margin-top: 2px;
}

.btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--color-gold), #b8934f);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 178, 111, 0.6);
}

/* Sections General */
section {
    padding: 100px 0;
}

/* Overview Section */
.overview {
    background-color: #090f0c;
}

.overview-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.overview-text p {
    margin-bottom: 20px;
}

.overview-highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
}

.overview-highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.overview-highlight-item:last-child {
    margin-bottom: 0;
}

.overview-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(143, 209, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    flex-shrink: 0;
}

.overview-highlight-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.overview-highlight-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 26, 21, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--color-green);
}

.gallery-overlay h4 {
    color: var(--color-green);
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.gallery-overlay p {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--color-green);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8,13,10,0.98);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 80vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-green);
    box-shadow: 0 0 20px var(--color-green-glow);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

/* Configurations & Tab System */
.configs {
    background-color: #090f0c;
}

.tab-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-green);
    border-color: var(--color-green);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-green), #68a832);
    color: #000;
    border-color: var(--color-green);
    box-shadow: 0 4px 15px var(--color-green-glow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.layout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.layout-card:hover {
    border-color: var(--color-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.layout-img-wrapper {
    height: 250px;
    position: relative;
    background: #0f1612;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
}

.layout-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.layout-card:hover .layout-img-wrapper img {
    transform: scale(1.05);
}

.layout-info {
    padding: 25px;
}

.layout-type {
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.layout-dim {
    font-size: 0.95rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.layout-details {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.layout-details li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.layout-details li::before {
    content: '▪';
    color: var(--color-green);
}

.btn-card-enquire {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-green);
    color: var(--color-green);
    font-weight: 600;
    padding: 12px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.layout-card:hover .btn-card-enquire {
    background: var(--color-green);
    color: #000;
}

/* Specifications & Amenities */
.specs {
    background-color: var(--bg-dark);
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    border-color: var(--color-green);
    background-color: var(--bg-card-hover);
}

.spec-title {
    font-size: 1.25rem;
    color: var(--color-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Location Advantage */
.location-section {
    background-color: #090f0c;
}

.map-wrapper {
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    padding: 10px;
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.map-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.loc-info-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 40px;
}

.loc-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 15px;
    color: var(--color-gold);
}

.loc-list {
    list-style: none;
}

.loc-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.loc-item:last-child {
    margin-bottom: 0;
}

.loc-badge {
    background: var(--color-green);
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-text {
    font-size: 0.95rem;
}

.loc-text strong {
    color: var(--text-primary);
}

.loc-text p {
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Developer & Delivered Projects */
.developer {
    background-color: var(--bg-dark);
}

.dev-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.dev-text p {
    margin-bottom: 20px;
}

.delivered-projects-list {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 35px;
}

.delivered-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 4px solid var(--color-green);
    padding-left: 15px;
}

.delivered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.delivered-item {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivered-item::before {
    content: '✔';
    color: var(--color-green);
    font-weight: 700;
}

@media (max-width: 576px) {
    .delivered-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: #040706;
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 30px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.footer-contact-info {
    list-style: none;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact-info li svg {
    color: var(--color-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-green);
}

.footer-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 30px;
}

.footer-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 50px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #666e6a;
    line-height: 1.6;
    margin-top: 20px;
    text-align: justify;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn-call {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8FD14F, #68a832);
    color: #000;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(143, 209, 79, 0.4);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-pulse 2s infinite;
}

.floating-btn-call:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(143, 209, 79, 0.6);
}

.floating-btn-call svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.floating-btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-btn-whatsapp svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(143, 209, 79, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(143, 209, 79, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(143, 209, 79, 0);
    }
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    .floating-btn-call span,
    .floating-btn-whatsapp span {
        display: none; /* Icon only on mobile screen sizes */
    }
    .floating-btn-call,
    .floating-btn-whatsapp {
        padding: 15px;
        border-radius: 50%;
    }
}


/* Additional Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .loc-info-wrapper {
        padding: 20px;
    }
    .configs, .specs, .location-section, .developer, footer {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-form-wrapper {
        padding: 20px;
    }
    .tab-nav {
        gap: 10px;
        flex-wrap: wrap;
    }
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Mobile Sticky Footer Bar */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55px;
        background: var(--color-green);
        color: #000;
        z-index: 9999;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    }
    
    .mobile-sticky-bar a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.95rem;
        text-transform: uppercase;
        color: #000;
        text-decoration: none;
    }
    
    .mobile-sticky-bar a:first-child {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    body {
        padding-bottom: 55px;
    }
    
    .floating-contact {
        bottom: 75px !important;
    }
}
