/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --primary-color: #A67C52; /* Gold/Brown accent */
    --dark-bg: #1A1A1A;
    --light-bg: #F5F5F5;
    --text-color: #333;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif; /* Changed to Poppins for a more informal yet professional look */
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-bg);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark-bg);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 50px 50px;
    background-color: #F9F9F9;
    min-height: 100vh;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible; /* Changed to visible for overlapping card */
    height: 80vh;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.hero-content {
    position: absolute;
    top: 20%;
    left: 5%;
    color: var(--white);
    z-index: 10;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.3);
}

/* Who We Are Card */
.who-we-are-card {
    position: absolute;
    bottom: -50px; /* Overlap bottom */
    right: 5%;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    z-index: 20;
}

.who-we-are-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.who-we-are-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

/* Discover Section */
.discover-section {
    padding: 150px 50px 100px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.header-left h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.highlight {
    color: var(--primary-color);
}

.header-right {
    max-width: 400px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 20px;
}

.grid-item {
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.02);
}

.grid-item.large {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* Spans 2 rows */
}

.grid-item.medium {
    grid-column: span 1;
}

.grid-item.wide {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
}

.price-tag {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.property-details .address {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.property-details .specs {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    transition: background-color 0.3s;
}

.arrow-btn:hover {
    background-color: var(--text-dark);
}

/* About Section */
.about-section {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 100px 50px;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 30px;
}

.highlight-gold {
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ccc;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Showcase Section */
.showcase-section {
    padding: 100px 50px;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.showcase-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 30px;
    flex-wrap: wrap; /* For mobile */
}

.filter-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 10px 40px 10px 20px;
    border-radius: 25px;
    border: 1px solid #ddd;
    width: 250px;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.properties-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.showcase-card {
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar { padding: 20px; }
    
    .nav-links { 
        display: none; 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active { display: flex; }
    
    .mobile-menu-btn { display: block; }
    .btn-contact { display: none; /* Hide button in header, maybe show in menu */ }

    .hero { padding: 80px 20px 20px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content { top: 15%; left: 20px; right: 20px; }
    
    .who-we-are-card { 
        position: relative; 
        bottom: auto; 
        right: auto; 
        margin-top: -50px; 
        width: 100%;
        max-width: none;
    }
    
    .stats-grid { flex-direction: row; flex-wrap: wrap; gap: 20px; justify-content: center; }
    
    .discover-section { padding: 50px 20px; }
    .section-header { flex-direction: column; gap: 20px; }
    
    .bento-grid {
        display: flex;
        flex-direction: column;
    }
    
    .grid-item { height: 300px; }
    .grid-item.large { grid-column: auto; grid-row: auto; }
    .grid-item.wide { grid-column: auto; grid-row: auto; }
    
    .about-section { padding: 50px 20px; }
    .about-container { flex-direction: column; }
    
    .showcase-section { padding: 50px 20px; }
    .showcase-header { flex-direction: column; gap: 20px; align-items: flex-start; }
    
    .catalog-container { flex-direction: column; padding: 20px; }
    .sidebar { width: 100%; }
}
