@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-dark: #5c4d42;      /* Dark Taupe from flyer */
    --bg-light: #ded4c8;     /* Soft Beige from flyer bottom */
    --accent-gold: #e0b06b;  /* Golden text from flyer */
    --text-light: #ffffff;
    --text-dark: #3a3028;
    --border-white: #ffffff;
    
    --pattern-color: rgba(224, 176, 107, 0.15); /* Subtle gold dots */
}

html, body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    /* Modern Dot Pattern */
    background-image: radial-gradient(var(--pattern-color) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Modern Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    background: rgba(92, 77, 66, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(224, 176, 107, 0.2);
}

.main-nav .logo {
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-style: italic;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Hamburger Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: var(--accent-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Sections & Panels */
.section {
    padding: 5rem 1rem;
}

.bg-light-section {
    background-color: var(--bg-light);
    background-image: radial-gradient(rgba(92, 77, 66, 0.08) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    color: var(--text-dark);
}

.bg-light-section .section-title {
    color: var(--bg-dark);
}

.hero {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

.about-panel {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    border-radius: 8px;
    max-width: 900px;
    background: var(--bg-dark);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.portrait {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bio h1 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

/* Cards (Carousel) */
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem; /* Slightly tighter gap on mobile */
    padding: 1rem 1.5rem 3rem; /* Adjust padding to show edge of next card */
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.property-card {
    min-width: 82vw; /* Crucial: Makes it exactly 82% of screen, forcing next card to peek */
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 6px solid var(--border-white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Desktop override for cards */
@media (min-width: 768px) {
    .property-card {
        min-width: 320px;
        width: 320px;
    }
    .carousel {
        justify-content: center;
    }
    .property-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }
}

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--bg-dark);
}

.price {
    font-size: 1.6rem;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    margin: 0.5rem 0 1.2rem 0;
}

/* Buttons */
.btn-solid, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-solid {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: 1px solid var(--accent-gold);
}

.btn-solid:hover {
    background: transparent;
    color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* Icons & Highlights */
.icon-specs {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.icon-specs i {
    color: var(--accent-gold);
}

/* Hero Contact Details */
.hero-contact-info p {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-contact-info a, .hero-contact-info span {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-contact-info a:hover {
    color: var(--accent-gold);
}

.hero-contact-info i {
    color: var(--accent-gold);
    width: 20px;
}

.hero-socials {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.hero-socials a {
    color: var(--accent-gold);
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: var(--text-light);
}

/* Grid for Listings Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Details Panel */
.details-panel {
    background: var(--bg-dark);
    border: 1px solid var(--accent-gold);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

footer {
    background: var(--bg-dark);
    text-align: center; 
    padding: 3rem; 
    color: var(--text-light);
    border-top: 1px solid rgba(224, 176, 107, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(92, 77, 66, 0.98);
        width: 250px;
        height: 100vh;
        padding-top: 6rem;
        border-left: 1px solid var(--accent-gold);
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }
    .nav-links.active {
        right: 0; 
    }
    
    .about-panel {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .bio h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    
    /* Perfect Profile Links Alignment Fix */
    .hero-contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Aligns items inside the block to the left */
        margin: 0 auto; /* Centers the whole block */
        width: fit-content; /* Prevents block from taking full width so margin auto works */
    }
    .hero-contact-info p {
        justify-content: flex-start; /* Ensures text stays left-aligned */
        text-align: left;
    }
    .hero-socials {
        justify-content: center; /* Centers social icons */
        width: 100%; /* Spans the width of the container to center properly */
    }
    
    .details-panel {
        padding: 1.5rem;
    }
}