:root {
    --primary-blue: #0f2c59;
    /* Royal Deep Blue */
    --accent-gold: #d4af37;
    /* Metallic Gold */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-off-white: #f9f9f9;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-primary {
    padding: 10px 25px;
    background-color: var(--primary-blue);
    color: var(--accent-gold);
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 44, 89, 0.6), rgba(15, 44, 89, 0.4)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Featured Properties */
.featured {
    padding: 80px 10%;
    background-color: var(--bg-off-white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-underline {
    width: 100px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 250px;
    background-color: #ddd;
    /* Placeholder color before images fade in */
    position: relative;
}

.price-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: var(--accent-gold);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.card-details {
    padding: 25px;
}

.card-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.location {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenities {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
}

/* Why Choose Us */
.why-us {
    padding: 80px 10%;
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.why-us h2 {
    color: var(--accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

/* Contact / Footer */
.footer {
    background-color: #0a1f3d;
    color: #fff;
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.mobile-btn {
    display: none;
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }

    .desktop-btn {
        display: none;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .mobile-btn {
        display: block;
        margin-top: 20px;
    }

    .hero {
        text-align: center;
        padding: 0 5%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .featured,
    .why-us {
        padding: 60px 5%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
}