/* style.css - Premium Real Estate Agent Portfolio Styling */
:root {
    /* Color Palette - Premium Real Estate Theme (Elegant Dark Gray & Champagne Gold) */
    --color-bg: #FAFAFA;
    --color-bg-alt: #F1F1F1;
    --color-dark: #121212;
    --color-dark-alt: #222222;

    --color-text: #2c2c2c;
    --color-text-muted: #666666;
    --color-text-light: #ffffff;
    --color-text-light-muted: #B3B3B3;

    --color-primary: #C5A880;
    /* Champagne Gold */
    --color-primary-hover: #D8B98C;
    --color-primary-light: #f5eedf;

    --color-secondary: #0A213D;
    /* Deep Navy Accent */

    --color-border: #E0E0E0;
    --color-border-light: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Layout & Spacing */
    --container-width: 1280px;
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 40px rgba(0, 0, 0, 0.12);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.25;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: min(var(--container-width), 92vw);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.text-white {
    color: var(--color-text-light) !important;
}

.text-light-muted {
    color: var(--color-text-light-muted) !important;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-accent {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white !important;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--color-dark);
    color: white;
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid white;
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-dark);
}

.btn-block {
    width: 100%;
}

/* Typography Scale */
.section-subtitle {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 100;
    transition: var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s;
}

.navbar.scrolled .nav-content {
    height: 75px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.logo-name {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    color: white;
    transition: color 0.3s;
}

.logo-title {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

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

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar.scrolled .nav-link {
    color: var(--color-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

.nav-btn {
    padding: 0.8rem 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.navbar.scrolled .mobile-toggle {
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 40%, rgba(18, 18, 18, 0.3) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(197, 168, 128, 0.2);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    color: white;
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 400;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats-glass {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Search Bar (Floating) */
.search-bar-wrapper {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding: 0 1rem;
}

.search-bar {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.search-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.search-group input,
.search-group select {
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-dark);
    font-weight: 500;
    cursor: pointer;
    outline: none;
    background: transparent;
    padding: 0.5rem 0;
}

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

.search-btn {
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.2rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.about-image {
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.experience-card {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--color-primary);
    color: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-card h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.experience-card p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.4;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.signature {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--color-dark);
    margin: 2rem 0;
}

.affiliations span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.affiliation-logos {
    display: flex;
    gap: 1.5rem;
    font-size: 2rem;
    opacity: 0.5;
}

/* Featured Properties */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid var(--color-border);
}

.property-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 2px;
}

.property-badge.bg-dark {
    background: var(--color-dark);
}

.property-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.property-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.property-info {
    padding: 2rem;
}

.property-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.property-address {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature i {
    color: var(--color-dark);
}

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

.service-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.service-box p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Valuation / Contact */
.valuation {
    background: var(--color-dark) url('https://www.transparenttextures.com/patterns/stardust.png');
    position: relative;
}

.valuation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(34, 34, 34, 0.95) 100%);
    z-index: 1;
}

.valuation-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    border: none;
    padding-bottom: 0;
}

.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

a.contact-item:hover .icon-wrap {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.contact-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.contact-item strong {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.valuation-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.valuation-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.8rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

select.form-control {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--color-dark-alt);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.8;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.footer-links-col h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-col ul li {
    margin-bottom: 0.8rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
}

/* Animations */
.reveal {
    opacity: 0;
    transition: var(--transition-slow);
}

.fade-up {
    transform: translateY(30px);
}

.fade-left {
    transform: translateX(30px);
}

.fade-right {
    transform: translateX(-30px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        margin-top: 50px;
    }

    .search-bar {
        flex-wrap: wrap;
    }

    .search-btn {
        width: 100%;
    }

    .search-divider {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        padding-right: 0;
        order: -1;
        text-align: center;
    }

    .about-image-wrapper {
        justify-content: center;
    }

    .experience-card {
        left: 0;
        bottom: 0;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .valuation-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: var(--transition-normal);
        z-index: -1;
    }

    .nav-links.show {
        transform: translateY(0);
    }

    .nav-link {
        color: white;
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats-glass {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        text-align: center;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}