/* ===== BASE & RESET ===== */
:root {
    --primary: #38bdf8; /* Deep Coastal Teal */
    --primary-light: #7dd3fc; /* Lighter Teal */
    --accent: #E09E36; /* Warm Gold Accent */ 
    --text-main: #ffffff; /* Deep Navy Text */
    --text-muted: #94a3b8;
    --bg-main: #0A1929; /* Coastal Sea-Salt White */
    --bg-card: #0F2333; /* White cards */
    --border: #e2e8f0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    
    --radius: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden;
    font-family: var(--font-body);
    color: #cbd5e1;
    background: linear-gradient(135deg, #0A1929 0%, #1E5060 100%);
    background-attachment: fixed;
    line-height: 1.6;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}
a { text-decoration: none; color: var(--primary); transition: color 0.3s ease; }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.bg-light { background-color: #f1f5f9; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-outline {
    display: inline-block; padding: 12px 28px;
    font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
    border-radius: var(--radius); transition: all 0.3s ease; cursor: pointer; text-align: center;
}
.btn-primary { background-color: var(--primary); color: #0A1929; border: 2px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-light); border-color: var(--primary-light); color: #ffffff; transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background-color: var(--primary); color: #0A1929; transform: translateY(-2px); }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background-color: rgba(10, 25, 41, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); transition: all 0.3s ease;
}
#navbar.scrolled { box-shadow: var(--shadow); background-color: rgba(10, 25, 41, 1); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: #ffffff; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn-primary) { color: #ffffff; font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn-primary):hover { color: var(--accent); }
.hamburger { display: none; font-size: 1.5rem; color: #ffffff; cursor: pointer; }

/* ===== HERO SECTION ===== */
.hero {
    position: relative; height: 90vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    background: url('../Pictures/IMG_0336.jpeg'); background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,23,42,0.05), rgba(15,23,42,0.25)); }
.hero-content { position: relative; z-index: 1; text-align: center; color: #ffffff; max-width: 900px; padding: 0 24px; margin-top: 60px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: #ffffff; margin-bottom: 20px; letter-spacing: -1px; text-shadow: 0 4px 15px rgba(0,0,0,0.8); }
.hero p { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 40px; font-weight: 300; color: #f8fafc; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.search-bar { display: flex; background: var(--bg-card); padding: 8px; border-radius: 50px; box-shadow: var(--shadow-lg); max-width: 800px; margin: 0 auto; border: 1px solid var(--border); }
.search-input { flex: 2; display: flex; align-items: center; padding: 0 20px; border-right: 1px solid var(--border); }
.search-input i { color: var(--text-muted); margin-right: 12px; }
.search-input input { width: 100%; border: none; outline: none; font-family: var(--font-body); font-size: 1rem; color: #ffffff; background: transparent; }
.search-select { flex: 1; padding: 0 20px; display: flex; align-items: center; }
.search-select select { 
    width: 100%; border: none; outline: none; font-family: var(--font-body); font-size: 1rem; color: #ffffff; background: transparent; cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2338bdf8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0px top 50%;
    background-size: 12px auto;
    padding-right: 30px;
}
.search-select select:focus {
    color: var(--primary);
}
.search-select select option { background: #0A1929; color: #ffffff; padding: 12px; font-size: 1rem; }
.btn-search { background: var(--primary); color: #0A1929; border: none; padding: 0 32px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; }
.btn-search:hover { background: var(--primary-light); }

/* ===== COMMON SECTIONS ===== */
.section { padding: 80px 0; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 16px; }
.section-header p { color: #cbd5e1; font-size: 1.1rem; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ===== FEATURED PROPERTIES ===== */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 32px; }
.property-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border); display: flex; flex-direction: column; }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(2, 132, 199, 0.4); }
.property-image { position: relative; height: 240px; background: var(--border); overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .property-image img { transform: scale(1.05); }
.badge { background: var(--accent); color: #0A1929; position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); z-index: 2; }
.property-details { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.property-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.property-title { font-size: 1.2rem; margin-bottom: 8px; color: #ffffff; }
.property-location { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.property-location i { color: var(--primary); margin-right: 6px; }
.property-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; font-size: 0.9rem; color: var(--text-muted); }
.property-meta i { color: var(--primary); margin-right: 6px; }

/* ===== DESTINATIONS ===== */
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.destination-card { position: relative; height: 350px; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--border); }
.destination-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.destination-card:hover img { transform: scale(1.1); }
.destination-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.1) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #ffffff; }
.destination-overlay h3 { color: #ffffff; font-size: 1.5rem; margin-bottom: 4px; }
.destination-overlay p { font-size: 0.9rem; color: #e0f2fe; font-weight: 600; }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.25rem; margin-bottom: 24px; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; color: #cbd5e1; }
.about-features { margin-top: 24px; }
.about-features li { margin-bottom: 12px; display: flex; align-items: center; font-weight: 500; }
.about-features i { color: var(--primary); margin-right: 12px; font-size: 1.25rem; }
.about-image { height: 500px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ===== CONTACT SECTION ===== */
.contact-card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; border: 1px solid var(--border); }
.contact-info { background: linear-gradient(135deg, rgba(2,132,199,0.05), rgba(255,255,255,0)), var(--bg-main); padding: 60px 40px; border-right: 1px solid var(--border); }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; color: #cbd5e1; }
.info-item { display: flex; margin-bottom: 32px; }
.info-item i { font-size: 1.5rem; margin-right: 20px; color: var(--primary); }
.info-item h4 { color: #ffffff; font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: #cbd5e1; font-size: 0.95rem; }
.contact-form { padding: 60px 40px; }
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: #ffffff; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: all 0.3s; background: var(--bg-card); color: #ffffff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2,132,199,0.1); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { height: 120px; resize: vertical; }

/* ===== PROPERTY DETAIL PAGE ===== */
.page-header { padding: 140px 0 60px; text-align: center; background: linear-gradient(135deg, var(--primary) 0%, #153A47 100%); color: #ffffff; border-bottom: none; }

/* Map Toggles */
.map-toggle-container { margin: 30px auto 0 auto; display: flex; justify-content: center; gap: 0; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); border-radius: 60px; padding: 5px; width: 100%; max-width: 500px; box-shadow: var(--shadow); }
.map-filter { flex: 1; padding: 12px 24px; border-radius: 60px; border: none; font-weight: 800; font-size: 1rem; cursor: pointer; transition: 0.3s; text-align: center; }
.map-filter.active-toggle { background: var(--primary); color: #0A1929; }
.map-filter.inactive-toggle { background: transparent; color: #cbd5e1; }

.page-header h1 { font-size: 3rem; margin-bottom: 16px; color: #ffffff !important; }
.page-header p { font-size: 1.1rem; color: #E0E6ED !important; max-width: 600px; margin: 0 auto; }

.property-detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.property-gallery { margin-bottom: 40px; }
.main-image { width: 100%; height: 500px; border-radius: var(--radius); object-fit: cover; margin-bottom: 16px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.thumbnail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.thumbnail-grid img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 1px solid var(--border); transition: opacity 0.3s; }
.thumbnail-grid img:hover { opacity: 0.8; border-color: var(--primary); }
.analytics-label { width: 155px; }
.analytics-score { width: 40px; }
.analytics-bar-container { margin: 0 20px; }


.property-overview { background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 40px; box-shadow: var(--shadow); }

.custom-stats {
    margin-bottom: 40px; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    background: var(--bg-card); 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: var(--shadow-lg);
}
.amenities-list {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-top: 16px; 
    color: var(--text-muted);
}

.overview-stats { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 24px; }
.stat { text-align: center; }
.stat-value { font-size: 1.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.property-description h3 { margin-bottom: 16px; font-size: 1.5rem; }
.property-description p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.8; }

.sidebar .contact-form { background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); position: sticky; top: 100px; box-shadow: var(--shadow); }
.agent-info { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.agent-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #ffffff; font-weight: bold; }
.agent-details h4 { margin-bottom: 4px; }
.agent-details p { font-size: 0.9rem; color: var(--primary); }

/* ===== FOOTER ===== */
footer { background: linear-gradient(135deg, #0A1929 0%, #11232D 100%); padding: 80px 0 30px; border-top: 5px solid var(--accent); color: #f8fafc; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #ffffff; margin-bottom: 16px; display: inline-block; }
.footer-brand p { margin-bottom: 24px; font-size: 0.95rem; color: #cbd5e1; }
.social-links a { display: inline-block; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #ffffff; text-align: center; line-height: 38px; border-radius: 50%; margin-right: 12px; transition: all 0.3s; }
.social-links a:hover { background: var(--primary); border-color: var(--primary); }
.footer-links h4 { color: #ffffff; font-size: 1.1rem; margin-bottom: 24px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #94a3b8; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid, .contact-card, .footer-grid, .property-detail-grid { grid-template-columns: 1fr; }
    .about-image { height: 400px; order: -1; }
    .search-bar { flex-direction: column; background: transparent; box-shadow: none; border: none; gap: 12px; }
    .search-input, .search-select { border: 1px solid var(--border); background: var(--bg-card); border-radius: 50px; padding: 12px 20px; }
    .btn-search { padding: 16px; }
}
@media (max-width: 768px) {
    .property-grid { grid-template-columns: 1fr !important; }
    .map-toggle-container { flex-direction: column; border-radius: 20px; }
    .map-filter { border-radius: 15px; padding: 12px; font-size: 0.95rem; }
    .hero { min-height: 500px; height: 80vh; }
    .search-bar { padding: 15px; border-radius: 20px; background: rgba(15, 35, 51, 0.85); backdrop-filter: blur(10px); }
    .search-input, .search-select { padding: 10px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
    .btn-search { border-radius: 10px; width: 100%; }

    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .thumbnail-grid { grid-template-columns: repeat(2, 1fr); }
    .property-description, .contact-form, .property-overview { padding: 25px !important; }
    .page-header { padding-top: 100px !important; }
    .page-header h1 { font-size: 2rem !important; }
    .analytics-label { width: 110px !important; font-size: 0.8rem !important; letter-spacing: 0px !important; }
    .analytics-bar-container { margin: 0 10px !important; }


    .custom-stats { grid-template-columns: 1fr !important; padding: 15px !important; gap: 10px !important; }
    .amenities-list { grid-template-columns: 1fr !important; }

}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}






.page-header .property-price { color: #ffffff !important; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.page-header i { color: var(--accent) !important; }

.bg-coastal { background: linear-gradient(135deg, #0A1929 0%, #1E5060 100%); color: #ffffff; padding: 100px 0; }
.bg-coastal h2 { color: #ffffff !important; }
.bg-coastal p { color: #cbd5e1 !important; }

::placeholder { color: #94a3b8; opacity: 1; }
