@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Color Palette */
    --navy: #0A192F;
    --navy-light: #112240;
    --navy-lighter: #233554;
    --gold: #D4AF37;
    --gold-hover: #F1C40F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-main: #333333;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lux: 0 20px 40px rgba(10, 25, 47, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: var(--navy);
    padding: 15px 8%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--gold);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* --- Section Global --- */
section {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

/* --- Property Listings --- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid #eee;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lux);
}

.property-img {
    height: 250px;
    overflow: hidden;
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.property-card:hover .property-img img {
    transform: scale(1.1);
}

.property-info {
    padding: 25px;
}

.price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: block;
}

.location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-details {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-details:hover {
    background: var(--gold);
    color: var(--navy);
}

/* --- Why Choose Us --- */
.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    text-align: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--navy);
}

/* --- Featured Property --- */
.featured-section {
    background: var(--light-gray);
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lux);
}

.featured-img {
    flex: 1;
    height: 500px;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-details {
    flex: 1;
    padding: 50px;
}

.featured-details .price {
    font-size: 2rem;
    margin-bottom: 15px;
}

.featured-details h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.featured-details p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name h4 {
    color: var(--navy);
    font-size: 1.1rem;
}

.client-name span {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Contact --- */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--navy);
    color: var(--white);
}

/* --- Footer --- */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 8% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold);
    opacity: 1;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--navy-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* --- Mobile Menu --- */
.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .property-grid, .features-container, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .featured-content {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
