/* CSS Variables & Theme Setup - Family Friendly & Clean */
:root {
    --color-primary: #2563eb; /* Friendly Blue */
    --color-primary-dark: #1d4ed8;
    --color-secondary: #f8fafc;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f1f5f9;
    
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--color-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo-text {
    color: #0f172a;
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    color: var(--color-text);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: var(--transition);
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.badge {
    display: inline-block;
    background-color: #f59e0b; /* Amber */
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero .title {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    color: white;
}

.hero .description {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}
/* Villas Section */
.villas-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.villas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.villa-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.villa-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.villa-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.villa-status {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Status colors */
.status-occupied .villa-status {
    color: #16a34a; /* Green */
}
.status-available .villa-status {
    color: #2563eb; /* Blue */
}
.status-under-construction .villa-status {
    color: #f59e0b; /* Amber */
}


/* Status Section */
.status-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.status-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.status-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.status-content > p {
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.status-box {
    background-color: #fffbeb; /* Light Amber */
    border-left: 4px solid #f59e0b;
    padding: 2rem;
    border-radius: 4px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.status-header {
    font-weight: 700;
    color: #b45309;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0f172a;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
    background-color: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-content p {
    color: #94a3b8;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Section Padding Adjustments */
    .about, .features, .villas-section, .status-section, .contact { padding: 4rem 0; }
    .hero .title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    
    /* Navigation Adjustments for Mobile */
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 1.5rem;
        border-top: 1px solid #e2e8f0;
    }
    .nav-links.active { display: flex; }
    .nav-links a:not(.btn-primary) { color: var(--color-text); }
    .mobile-menu-btn { display: block; }
    .navbar.scrolled .logo-text { color: #0f172a; }
    
    /* Grid and Card Adjustments */
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .villas-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .contact-card { padding: 2rem 1.5rem; }
    .status-box { padding: 1.5rem; }
    .btn-primary.btn-large { width: 100%; }
}
@media (max-width: 480px) {
    .villas-grid { grid-template-columns: 1fr; }
    .hero .title { font-size: 2rem; }
}
