:root {
    --bg-light: #f8f6f0; 
    --bg-card: #ffffff; 
    --accent-gold: #c49a2b; 
    --accent-gold-light: #dfb75b;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --nav-height: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.preloader-active {
    overflow: hidden;
}

main {
    flex: 1; /* Pushes footer to bottom */
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

h1, h2, h3, .preloader-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--accent-gold);
    font-style: italic;
}

/* Navigation & Menu */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

@media (min-width: 768px) {
    .menu-overlay { width: 40%; right: -40%; }
}

.menu-overlay.open { right: 0; }
.menu-inner { text-align: left; }
.menu-links { list-style: none; margin-bottom: 40px; }
.menu-links li { margin: 15px 0; overflow: hidden; }

.menu-link {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.2rem); 
    color: var(--text-dark);
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.5s ease, color 0.3s;
    font-weight: 600;
}

.menu-overlay.open .menu-link { transform: translateY(0); }
.menu-overlay.open li:nth-child(1) .menu-link { transition-delay: 0.1s; }
.menu-overlay.open li:nth-child(2) .menu-link { transition-delay: 0.15s; }
.menu-overlay.open li:nth-child(3) .menu-link { transition-delay: 0.2s; }
.menu-overlay.open li:nth-child(4) .menu-link { transition-delay: 0.25s; }
.menu-link:hover, .menu-link.active { color: var(--accent-gold); }

.menu-info { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.menu-info a { color: var(--accent-gold); display: block; font-size: 1.2rem; margin-top: 5px; font-weight: 700; }

/* Hero & Page Headers */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(248,246,240,0.4) 0%, rgba(248,246,240,0.9) 100%);
}

.hero-content { text-align: center; padding: 0 5%; max-width: 800px; }
.hero-subtitle { color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 15px; font-weight: 700; }
.hero-title { font-size: clamp(2.2rem, 5vw, 4rem); color: var(--text-dark); margin-bottom: 30px; line-height: 1.2; }
.hero-title span { color: var(--accent-gold); font-style: italic; display: inline-block; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.page-header { padding: 160px 0 60px; text-align: center; background-color: var(--bg-light); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 15px; }
.page-desc { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Buttons */
.btn {
    padding: 12px 30px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
    border-radius: 50px; cursor: pointer; transition: all 0.3s ease; display: inline-block; text-align: center;
}
.btn-gold { background: var(--accent-gold); color: #ffffff; border: 1px solid var(--accent-gold); }
.btn-gold:hover { background: transparent; color: var(--accent-gold); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1px solid var(--text-dark); }
.btn-outline:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.btn-text { padding: 0; color: var(--accent-gold); font-weight: 700; border-bottom: 2px solid transparent; border-radius: 0; font-size: 0.9rem; }
.btn-text:hover { border-bottom-color: var(--accent-gold); }

/* Sections & Cards */
.section-header { text-align: center; margin-bottom: 50px; }
.section-desc { color: var(--text-muted); font-size: 1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.service-card {
    background: var(--bg-card); padding: 30px 25px; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid rgba(196, 154, 43, 0.1);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(196, 154, 43, 0.15); border-color: var(--accent-gold); }
.service-icon { font-size: 2rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.85rem; }

/* Parallax & About Strip */
.parallax-section { position: relative; padding: 100px 0; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; }
.parallax-overlay { position: absolute; inset: 0; background: rgba(26, 26, 26, 0.75); }
.relative-z { position: relative; z-index: 2; }
.parallax-text { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--bg-light); margin-bottom: 30px; }
.warranty-badge { display: inline-block; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); padding: 8px 25px; border-radius: 50px; border: 1px solid var(--accent-gold); color: #ffffff; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; }
.warranty-badge span { font-size: 1.2rem; color: var(--accent-gold); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: -15px 15px 0 var(--accent-gold-light); }
.about-text p { color: var(--text-muted); font-size: 1rem; margin-bottom: 25px; }

/* Properties / Packages */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.property-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid rgba(196, 154, 43, 0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; }
.property-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(196, 154, 43, 0.15); border-color: var(--accent-gold); }
.property-image-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.property-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.property-card:hover .property-image-wrap img { transform: scale(1.08); }
.price-badge { position: absolute; bottom: 15px; right: 15px; background: var(--accent-gold); color: #ffffff; padding: 6px 15px; border-radius: 4px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.property-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.property-title { font-size: 1.4rem; margin-bottom: 10px; }
.property-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; flex-grow: 1; }
.view-more { color: var(--accent-gold); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; transition: gap 0.3s ease; }
.property-card:hover .view-more { gap: 10px; }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-desc { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 40px; }
.info-block { margin-bottom: 25px; border-left: 2px solid var(--accent-gold); padding-left: 15px; }
.info-block h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-gold); margin-bottom: 5px; }
.info-block p, .info-block a { font-size: 1.1rem; color: var(--text-dark); font-weight: 500; }
.phone-link { font-size: 1.4rem !important; font-weight: 700 !important; transition: color 0.3s; }
.phone-link:hover { color: var(--accent-gold); }
.contact-action-buttons { display: flex; gap: 15px; margin-top: 40px; }
.icon-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 25px; flex: 1; justify-content: center; }
.icon-btn img { width: 20px; height: 20px; }
.glass-form { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(15px); border: 1px solid rgba(196, 154, 43, 0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.05); padding: 40px; border-radius: 12px; }
.glass-form h3 { font-size: 1.8rem; margin-bottom: 5px; }
.glass-form p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; background: rgba(255,255,255,0.8); font-family: var(--font-body); font-size: 0.95rem; transition: all 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-gold); background: #ffffff; box-shadow: 0 0 0 3px rgba(196, 154, 43, 0.1); }
.map-section { width: 100%; line-height: 0; }

/* CTA Buttons */
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Floating Actions */
.floating-actions { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 90; }
.float-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.float-btn:hover { transform: scale(1.1); }
.float-btn img { width: 25px; height: 25px; }
.float-whatsapp { background-color: #25D366; }
.float-call { background-color: var(--accent-gold); }

/* --- NEW PREMIUM FOOTER --- */
.footer {
    background-color: #111111; /* Black footer looks very premium against milk white */
    color: #ffffff;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-brand h2 span {
    color: var(--accent-gold);
    font-style: italic;
}

.footer-brand p {
    color: #aaaaaa;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaaaaa;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #777777;
    font-size: 0.85rem;
}

.footer-bottom span {
    color: var(--accent-gold);
}

















/* --- Package Modal Popup --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-light);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    height: 100%;
    min-height: 400px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.modal-info {
    padding: 40px;
}

/* Make modal stack on mobile */
@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-image { min-height: 250px; }
    .modal-image img { border-radius: 12px 12px 0 0; }
    .modal-info { padding: 25px; }
    .amenities-list { grid-template-columns: 1fr; }
}