/* Base Styles & Variables */
:root {
    --primary-color: #0f1f2c;
    /* Navy Blue */
    --secondary-color: #c49a5b;
    /* Gold */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-tag.light {
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-title.light {
    color: var(--white);
}

.mt-20 {
    margin-top: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-gold:hover {
    background-color: #b08950;
}

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

.btn-gold-filled:hover {
    background-color: #b08950;
}

.btn-outline {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark {
    border: 1px solid var(--text-light);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.btn-navy:hover {
    background-color: #0a151f;
}

/* Header & Navigation */
.hero-section {
    position: relative;
    height: clamp(100vh, 80vh, 100vh);
    min-height: clamp(400px, 100vh, 600px);
    overflow: hidden;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.prev {
    opacity: 0;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.08);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes kenBurnsFadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.04);
        opacity: 0;
    }
}

/* Overlay on slider - Removed to show images clearly */
.hero-overlay {
    display: none;
}

/* Hero Content Styling */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    align-items: center;
    position: relative;
    z-index: 5;
    padding: 0;
    margin-top: 0;
    text-align: center;
}

.hero-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.hero-center-image {
    max-width: 95%;
    width: 700px;
    /* Reduced base size */
    max-height: 40vh;
    /* Prevent overflow */
    object-fit: contain;
    height: auto;
    filter: drop-shadow(2px 6px 15px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.2));
    /* Enhanced shadow and slight glow for clarity */
}

@keyframes heroTitleAnim {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleAnim {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPriceAnim {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-main-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 8vw, 8rem);
    color: goldenrod;
    font-weight: 600;
    letter-spacing: 2px;
    -webkit-text-stroke: 1px goldenrod;
    text-shadow: 3px 5px 15px rgba(0, 0, 0, 0.8);
    line-height: 1;
    animation: heroTitleAnim 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    color: black;
    font-weight: 500;
    letter-spacing: clamp(2px, 1vw, 6px);
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.85);
    padding: clamp(6px, 2vw, 8px) clamp(15px, 3vw, 25px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: heroSubtitleAnim 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

.hero-price-tag {
    background: rgba(15, 31, 44, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(196, 154, 91, 0.4);
    padding: clamp(8px, 2vw, 12px) clamp(15px, 3vw, 30px);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 10px;
    z-index: 10;
    animation: heroPriceAnim 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both;
}

.hero-price-tag .price-label {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.95rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 2px);
}

.hero-price-tag .price-value {
    font-family: var(--font-body), sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: yellow;
    font-weight: 600;
}

.hero-price-tag small {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--white);
    font-family: var(--font-body);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 3vw, 20px) clamp(15px, 4vw, 5%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 31, 44, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(196, 154, 91, 0.2);
}

.logo {
    height: clamp(35px, 8vw, 50px);
    display: flex;
    align-items: center;
}

.logo img {
    height: clamp(40px, 12vw, 80px);
    max-height: none;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 200;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    display: block;
    transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X morph when open */
.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================== RIGHT-SIDE DRAWER ===================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(3px);
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--primary-color);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(196, 154, 91, 0.3);
    overflow-y: auto;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-close {
    align-self: flex-end;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    margin-bottom: 30px;
}

.drawer-close:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.drawer-logo {
    margin-bottom: 40px;
}

.drawer-logo img {
    height: 44px;
}

.drawer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drawer-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-links li a {
    display: block;
    padding: 16px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.drawer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.drawer-cta {
    margin-top: auto;
    text-align: center;
    padding: 14px 20px;
    border-radius: 2px;
    letter-spacing: 1.5px;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow:
        0 2px 30px rgba(0, 0, 0, 0.8),
        0 1px 6px rgba(0, 0, 0, 0.95);
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: black;
    font-style: bold;
    margin-bottom: 40px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}



/* Floating Side Buttons */
.floating-side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
}

@media (max-width: 768px) {
    .floating-side-buttons {
        display: none;
    }
}

.floating-btn {
    color: var(--white);
    padding: 25px 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s, transform 0.3s;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn:hover {
    transform: rotate(180deg) translateX(-4px);
}

.enquire-btn {
    background-color: var(--secondary-color);
}

.enquire-btn:hover {
    background-color: #a88147;
}

.layout-btn {
    background-color: var(--primary-color);
}

.layout-btn:hover {
    background-color: #0a151f;
}

.whatsapp-btn {
    background-color: #25d366;
    padding: 16px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 15px rgba(37, 211, 102, 0.4);
    margin-right: 12px;
    writing-mode: initial;
    transform: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 28px;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #1ead50;
    transform: scale(1.1) translateX(-8px);
    box-shadow: -4px 0 20px rgba(37, 211, 102, 0.6);
}

/* Enquire Modal */
.enquire-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.enquire-modal-content {
    background: var(--bg-light);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.enquire-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-dark);
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

.enquire-modal-close:hover {
    color: var(--secondary-color);
}

.enquire-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.enquire-form input,
.enquire-form select,
.enquire-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.enquire-form input:focus,
.enquire-form select:focus,
.enquire-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* ===================== ABOUT SECTION ===================== */
.about-section {
    position: relative;
    padding: 30px 0 0 0;
    overflow: hidden;
}

.about-bg-image {
    position: absolute;
    inset: 0;
    background: url('../assets/About.png') center top / cover no-repeat;
    z-index: 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.about-main-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #020202;
    text-align: center;
    margin-bottom: 25px;
}

.about-full-width {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.about-image-left {
    flex: 0.9;
}

.about-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.premium-about-heading {
    margin-bottom: 30px;
}

.premium-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.premium-about-heading h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 300;
    line-height: 1.2;
}

.about-text {
    flex: 1.1;
    background: rgba(85, 102, 76, 0.95);
    padding: 50px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.highlight-text strong {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

/* Stats */
.stats-section {
    background-color: var(--white);
    padding: 20px 5% 60px;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 40px;
    height: 40px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== ABOUT LAYOUT IMAGE ===================== */
.about-layout-showcase {
    width: 100%;
    padding: 0;
    line-height: 0;
}

.about-layout-img {
    width: 100%;
    display: block;
}

/* Why Choose Section */
.why-choose-section {
    position: relative;
    background-image: url('../assets/hero-3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 5% 0;
    /* Removing bottom padding to let cards bleed out */
    color: var(--white);
    margin-bottom: 100px;
    /* Space for the overlapping cards below */
}

.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 31, 44, 0.9) 0%, rgba(15, 31, 44, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.why-choose-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.why-choose-header {
    margin-bottom: 30px;
    max-width: 650px;
}

.why-choose-header .section-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.why-choose-header .section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    transform: translateY(60px);
    /* Pushing cards down to overlap */
}

.feature-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--secondary-color);
}

.feature-icon {
    margin-bottom: 25px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.35;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Lifestyle Section */
.lifestyle-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
}

.lifestyle-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lifestyle-intro {
    max-width: 600px;
    margin-bottom: 50px;
}

.lifestyle-intro p {
    color: var(--text-light);
}

.lifestyle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lifestyle-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.lifestyle-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.card-overlay h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 0.85rem;
    color: #eee;
}

/* Master Plan Section */
.master-plan-section {
    padding: 80px 5%;
    background-color: #eff3f6;
    /* Slight tint for contrast */
}

.master-plan-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.master-plan-header {
    flex: 1;
}

.master-plan-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.master-plan-visual {
    flex: 2;
    position: relative;
}

.layout-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.legend-box {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legend-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.legend-list li:last-child {
    margin-bottom: 0;
}

.legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-icon.blue {
    background-color: #4a90e2;
}

.legend-icon.light-blue {
    background-color: #50e3c2;
}

.legend-icon.red {
    background-color: #e74c3c;
}

.legend-icon.green {
    background-color: #2ecc71;
}

.legend-icon.orange {
    background-color: #f39c12;
}

.legend-icon.blue-dark {
    background-color: #2980b9;
}

.legend-icon.yellow {
    background-color: #f1c40f;
}

/* Amenities Section */
.amenities-section {
    padding: 60px 5%;
    background: url("../assets/awardbg.svg") no-repeat center center/cover;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}


.amenities-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
}

.amenities-header {
    margin-bottom: 20px;
}

.amenities-header .section-tag {
    color: rgba(243, 201, 62, 0.9);
}

.amenities-header .section-title {
    color: black;
}

.amenities-header p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Coverflow Slider */
.coverflow-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.coverflow-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.coverflow-item {
    position: absolute;
    width: 380px;
    height: 300px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
    opacity: 0;
    cursor: pointer;
    background: var(--white);
    padding: 10px;
    padding-bottom: 50px;
    /* Space for the title below image */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    /* Prevent blurring during 3D transform */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    /* Hide far items initially */
    transform: translateX(0) translateZ(-650px) rotateY(0deg);
}

.coverflow-item.active {
    opacity: 1;
    transform: translateX(0) translateZ(0px) rotateY(0deg);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.coverflow-item.prev {
    opacity: 1;
    transform: translateX(-55%) translateZ(-150px) rotateY(45deg);
    z-index: 5;
}

.coverflow-item.next {
    opacity: 1;
    transform: translateX(55%) translateZ(-150px) rotateY(-45deg);
    z-index: 5;
}

.coverflow-item.prev-2 {
    opacity: 1;
    transform: translateX(-95%) translateZ(-300px) rotateY(55deg);
    z-index: 4;
}

.coverflow-item.next-2 {
    opacity: 1;
    transform: translateX(95%) translateZ(-300px) rotateY(-55deg);
    z-index: 4;
}

.coverflow-item.prev-3 {
    opacity: 0.85;
    transform: translateX(-130%) translateZ(-450px) rotateY(65deg);
    z-index: 3;
}

.coverflow-item.next-3 {
    opacity: 0.85;
    transform: translateX(130%) translateZ(-450px) rotateY(-65deg);
    z-index: 3;
}

/* Items further out are hidden */
.coverflow-item.hidden-left {
    opacity: 0;
    transform: translateX(-160%) translateZ(-550px) rotateY(70deg);
    z-index: 1;
}

.coverflow-item.hidden-right {
    opacity: 0;
    transform: translateX(160%) translateZ(-550px) rotateY(-70deg);
    z-index: 1;
}

.coverflow-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f0f0;
}

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

.coverflow-title {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coverflow-item.active .coverflow-title {
    opacity: 1;
}

.coverflow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s, transform 0.3s;
    user-select: none;
}

.coverflow-arrow:hover {
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.coverflow-arrow.left {
    left: 2%;
}

.coverflow-arrow.right {
    right: 2%;
}

/* Sea View Section */
.sea-view-section {
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

/* Slider container fills the section */
.sea-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Each slide is a full-size background div */
.sea-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(60px);
    will-change: opacity, transform;
}

/* Active slide is fully visible */
.sea-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Exiting slide fades and slides left */
.sea-slide.exit {
    opacity: 0;
    transform: translateX(-60px);
    z-index: 1;
}

/* Content sits above the slider */
.sea-view-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
    color: var(--white);
}

.sea-view-content p {
    color: #eee;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Dot indicators */
.sea-dots {
    position: absolute;
    bottom: 18px;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.sea-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.sea-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}


/* Villa View Section */
.villa-view-section {
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5%;
}

/* Slider container fills the section */
.villa-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Each slide is a full-size background div */
.villa-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateX(-60px);
    will-change: opacity, transform;
}

/* Active slide is fully visible */
.villa-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Exiting slide fades and slides right */
.villa-slide.exit {
    opacity: 0;
    transform: translateX(60px);
    z-index: 1;
}

/* Content sits above the slider, aligned right */
.villa-view-content {
    position: relative;
    z-index: 5;
    max-width: 480px;
    color: var(--white);
    text-align: right;
}

.villa-view-content p {
    color: #eee;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Dot indicators */
.villa-dots {
    position: absolute;
    bottom: 18px;
    left: 5%;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.villa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.villa-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}


/* Villas Section */
.villas-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.villas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.villas-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.slider-btn {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-btn:hover img {
    filter: invert(1);
}

.villas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    flex: 1;
}

.villa-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

.villa-card:hover {
    transform: translateY(-10px);
}

.villa-img {
    height: 200px;
}

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

.villa-info {
    padding: 30px 20px;
}

.villa-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.area-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.villa-features {
    margin-bottom: 25px;
}

.villa-features li {
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.villa-features li::before {
    content: "•";
    color: var(--secondary-color);
}

.view-details-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 3px;
    transition: color 0.3s;
}

.view-details-link:hover {
    color: var(--secondary-color);
}

/* Salient Features Section */
.salient-features-section {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.salient-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.salient-list li {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 4px;
    transition: background 0.3s;
}

.salient-list li:hover {
    background: #e9ecef;
}

.salient-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer Section */
.main-footer {
    background-color: #f6f4fb;
    color: #715af3;
    padding: 60px 5% 30px;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1.2;
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    max-width: 300px;
}

.footer-explore {
    flex: 1;
}

.footer-explore h3,
.footer-visit h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links li a {
    color: #555;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--secondary-color);
}

.footer-visit {
    flex: 1.5;
}

.footer-visit p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 350px;
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info strong {
    color: #1a1a1a;
}

.footer-contact-info a {
    color: #555;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 0.85rem;
    color: #777;
}

.footer-copyright {
    text-align: left;
}

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

.footer-designed strong {
    color: #1a1a1a;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-socials a {
    color: #777;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .footer-copyright,
    .footer-designed {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ===================== LOCATION & CONTACT SECTION ===================== */
.location-contact-section {
    position: relative;
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.location-map-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.location-map-full iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-contact-card {
    position: relative;
    z-index: 5;
    background: var(--primary-color);
    width: min(380px, 90%);
    margin-left: auto;
    margin-right: 5%;
    padding: 30px;
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.location-contact-card .section-title.light {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(196, 154, 91, 0.15);
    border: 1px solid rgba(196, 154, 91, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.contact-detail-item:hover .contact-icon {
    background: rgba(196, 154, 91, 0.25);
    transform: scale(1.1);
}

.contact-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--secondary-color);
}

.contact-detail-item h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.contact-detail-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 2px;
}

.contact-detail-item a {
    color: var(--secondary-color);
    transition: color 0.3s;
}

.contact-detail-item a:hover {
    color: var(--white);
}

.contact-cta {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.contact-cta .btn {
    padding: 10px 15px;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
}

/* ===================== GALLERY SECTION ===================== */
.gallery-section {
    padding: 80px 5%;
    background-color: var(--white);
    text-align: center;
}

.gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-header {
    margin-bottom: 50px;
}

.gallery-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.gallery-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    width: 100%;
}

.gallery-marquee {
    display: flex;
    flex-shrink: 0;
    gap: 20px;
    animation: scroll 40s linear infinite;
}

.gallery-marquee:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.gallery-item {
    flex-shrink: 0;
    width: 320px;
    height: 240px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--white);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

/* ===================== SCROLL REVEAL FROM BOTTOM ===================== */
.reveal-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-bottom.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children inside a reveal group */
.reveal-bottom.delay-1 {
    transition-delay: 0.1s;
}

.reveal-bottom.delay-2 {
    transition-delay: 0.2s;
}

.reveal-bottom.delay-3 {
    transition-delay: 0.3s;
}

.reveal-bottom.delay-4 {
    transition-delay: 0.4s;
}

.reveal-bottom.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 1200px) {
    .why-choose-header .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        transform: none;
    }

    .why-choose-section {
        margin-bottom: 40px;
        padding-bottom: 60px;
    }

    .amenities-grid-main {
        grid-template-columns: repeat(4, 1fr);
    }

    .master-plan-container {
        flex-direction: column;
    }

    .legend-box {
        position: static;
        transform: none;
        margin-top: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .legend-list li {
        margin-bottom: 0;
    }

    .location-contact-section {
        flex-direction: column;
        height: auto;
    }

    .location-map-full {
        position: relative;
        height: 400px;
        order: 1;
    }

    .location-contact-card {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        order: 2;
    }

    /* ─── TABLET HERO SECTION ─── */
    .hero-center-text {
        gap: 15px;
        width: 92%;
    }

    .hero-main-title {
        font-size: clamp(4rem, 6vw, 7rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 8px 20px;
        letter-spacing: 4px;
    }

    .hero-price-tag {
        width: auto;
        gap: 12px;
    }

    .hero-price-tag .price-value {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {

    /* ─── HERO SECTION ─── */
    .hero-section {
        min-height: 500px;
        height: auto;
    }

    .hero-center-text {
        gap: 12px;
        width: 95%;
    }

    .hero-price-tag {
        flex-direction: column;
        width: 95%;
    }

    /* ─── NAVBAR ─── */
    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .hamburger {
        display: flex !important;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
    }

    .logo img {
        height: clamp(40px, 10vw, 60px);
    }

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

    .about-container {
        flex-direction: column;
    }

    .about-full-width {
        flex-direction: column;
    }

    .about-image-left {
        width: 100%;
        flex: none;
    }

    .about-image-left img {
        height: 350px;
    }

    .about-text {
        width: 100%;
        flex: none;
        padding: 40px 5%;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

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

    .lifestyle-cards {
        grid-template-columns: 1fr;
    }

    .amenities-grid-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .villas-grid {
        grid-template-columns: 1fr;
    }


    .slider-btn {
        display: none;
    }

    .footer-container {
        flex-direction: column;
    }

    .contact-cta {
        flex-direction: column;
    }

    .contact-cta .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    
    /* ─── HERO SECTION FOR VERY SMALL SCREENS ─── */
    .hero-section {
        min-height: 400px;
        height: auto;
    }

    .hero-center-text {
        gap: 10px;
        width: 100%;
    }

    .hero-main-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        padding: 6px 12px;
        letter-spacing: 1px;
    }

    .hero-price-tag {
        padding: 8px 12px;
        gap: 8px;
    }

    .hero-price-tag .price-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .hero-price-tag .price-value {
        font-size: 1.2rem;
    }

    .hero-price-tag small {
        font-size: 0.7rem;
    }

    /* ─── NAVBAR FOR VERY SMALL SCREENS ─── */
    .navbar {
        padding: 12px 3vw;
    }

    .logo img {
        height: 45px;
    }

    .hamburger span {
        width: 20px;
        height: 1.5px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    /* ─── MOBILE DRAWER ─── */
    .mobile-drawer {
        width: min(280px, 100vw);
    }

    .drawer-logo img {
        height: 40px;
    }

    .drawer-links li a {
        font-size: 0.75rem;
        padding: 12px 4px;
    }

    .drawer-cta {
        padding: 12px 15px;
        font-size: 0.8rem;
    }
}