/* --- Variables --- */
:root {
    --primary: #0b1c2c;      /* Deep Navy */
    --accent: #c5a059;       /* Gold/Bronze */
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --border: #e1e1e1;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-gray); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utility Classes --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-padding { padding: 80px 0; }
.btn-sm { background: var(--accent); color: var(--white); padding: 8px 15px; border-radius: 4px; font-size: 14px; font-weight: 500; }

/* --- Top Bar --- */
.top-bar { background: var(--primary); color: #ccc; font-size: 14px; padding: 10px 0; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.contact-info a { margin-right: 20px; color: #ccc; }
.contact-info a i { margin-right: 5px; color: var(--accent); }
.top-links a { margin-left: 15px; color: #ccc; }

/* --- Header --- */
header { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo h1 { font-size: 26px; color: var(--primary); font-weight: 700; text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--primary); font-size: 16px; }
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* --- Hero Section --- */
.hero {
    height: 85vh;
    background: url('https://placehold.co/1920x1080?text=Thikana+Real+Estate+Hero') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 28, 44, 0.6); }
.hero-content { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.hero h4 { color: var(--accent); font-weight: 600; letter-spacing: 2px; margin-bottom: 15px; }
.hero h1 { font-size: 50px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }

/* --- Search Box --- */
.search-box {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: left;
}
.search-tabs { margin-bottom: 15px; border-bottom: 1px solid #ddd; }
.tab-btn {
    background: none; border: none; padding: 10px 20px;
    font-size: 16px; font-weight: 600; cursor: pointer;
    color: var(--text-gray); border-bottom: 2px solid transparent;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--accent); }

.search-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; align-items: end; }
.field-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--primary); }
.field-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; outline: none; background: #fff; }
.search-btn {
    width: 100%; padding: 10px; background: var(--primary);
    color: #fff; border: none; border-radius: 4px; cursor: pointer;
    font-weight: 600; transition: var(--transition);
}
.search-btn:hover { background: var(--accent); }

/* --- Properties Grid --- */
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 36px; color: var(--primary); margin-bottom: 10px; }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.property-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: var(--transition); }
.property-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.card-image { position: relative; height: 220px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 15px; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; color: #fff; }
.badge.featured { left: 15px; background: var(--accent); }
.badge.status { right: 15px; background: rgba(0,0,0,0.6); }
.price-tag { position: absolute; bottom: 15px; left: 15px; background: rgba(255,255,255,0.95); color: var(--primary); padding: 5px 15px; border-radius: 4px; font-weight: 700; font-size: 18px; }
.card-details { padding: 20px; }
.card-details h3 { font-size: 20px; color: var(--primary); margin-bottom: 8px; }
.location { font-size: 14px; margin-bottom: 15px; color: #777; }
.location i { color: var(--accent); margin-right: 5px; }
.amenities { display: flex; gap: 15px; font-size: 13px; }

/* --- Footer --- */
footer { background: #050e16; color: #aaa; padding-top: 70px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { color: #fff; font-size: 30px; margin-bottom: 20px; text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-bottom { padding: 25px 0; text-align: center; background: #02070b; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed; bottom: 25px; left: 25px;
    background: #25d366; color: #fff; width: 55px; height: 55px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000;
    transition: var(--transition);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 70%;
        background: #fff; flex-direction: column; padding: 80px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    .top-bar-content { flex-direction: column; gap: 10px; text-align: center; }
    .hero h1 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 15px; }
}
