/* Variables */
:root {
    --primary-color: #1A1A1A; /* Deep Charcoal */
    --accent-color: #C5A059; /* Champagne Gold */
    --bg-color: #F9F7F2; /* Soft Cream */
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #E0E0E0;
    --font-main: 'Montserrat', 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-main);
    background-color: var(--bg-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #d4ae65;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5); /* Glow effect */
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    color: #a88647;
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
    transform: translateX(5px);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: 500;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: background 0.3s, padding 0.3s;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-links a {
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--white);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('hero_bg_1777796854951.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
    color: var(--white);
    margin-top: 5rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(20px);
}

.search-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0.5rem 1.5rem;
}

.search-item label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.search-item input,
.search-item select {
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    background: transparent;
    width: 100%;
    cursor: pointer;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: var(--light-gray);
}

.search-btn {
    height: 100%;
    padding: 1.2rem 2rem;
    border-radius: 2px;
}

/* Featured Listings */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.property-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.card-content {
    padding: 2rem;
}

.card-content .price {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-content .address {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.property-meta span {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.property-meta i {
    color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.feature-item {
    padding: 2rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.feature-item:hover .icon-wrapper {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Luxury Amenities */
.luxury-amenities {
    display: flex;
    flex-wrap: wrap;
    background: var(--primary-color);
    color: var(--white);
}

.amenities-text,
.amenities-img {
    flex: 1;
    min-width: 300px;
}

.amenities-text {
    padding: 6rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amenities-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.amenities-text p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.amenities-img {
    height: 600px;
}

.amenities-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Agents Section */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.agent-card {
    background: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.agent-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
}

.agent-info {
    padding: 1.5rem;
}

.agent-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.agent-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.agent-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.agent-socials a {
    color: var(--gray);
    font-size: 1.1rem;
    transition: var(--transition);
}

.agent-socials a:hover {
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.client-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA Footer */
.cta-footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding-top: 5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-content p {
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray);
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .listings-grid,
    .features-grid,
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-action {
        display: none; /* simple mobile menu hidden for now */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-item {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .search-divider {
        display: none;
    }
    
    .search-btn {
        width: 100%;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
    }
    
    .listings-grid,
    .features-grid,
    .agents-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-text {
        padding: 4rem 2rem;
    }
    
    .amenities-img {
        height: 400px;
    }
}
