/* ------------------------------------------
   HERO SECTION
   ------------------------------------------ */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.6s ease-out;
}

/* Vignette Overlay */
.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding: 0 2rem;
}

.hero-logo {
    width: 260px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-logo.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* .btn / .btn-primary / .btn-secondary base styles now live in global.css
   so buttons work consistently across every page, not just home.html */

/* Slide-up CTA */
.slide-up-cta {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.slide-up-cta.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------
   HERO SEARCH BAR (HAR-powered)
   ------------------------------------------ */

.hero-search {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.5rem;
    padding: 1.4rem 1.6rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out, background 0.3s ease;
}

.hero-search.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-search:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-search-field {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1 1 150px;
    min-width: 130px;
}

.hero-search-location {
    flex: 2 1 220px;
}

.hero-search-narrow {
    flex: 1 1 90px;
    min-width: 90px;
}

.hero-search-field label {
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.hero-search-field input,
.hero-search-field select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.hero-search-field input {
    cursor: text;
}

.hero-search-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23555'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 1.8rem;
}

.hero-search-field input:focus,
.hero-search-field select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    background: #ffffff;
}

.hero-search-btn {
    flex: 0 0 auto;
    height: 42px;
    align-self: flex-end;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-search {
        flex-direction: column;
        align-items: stretch;
        padding: 1.2rem;
        max-width: 92%;
    }

    .hero-search-field,
    .hero-search-narrow,
    .hero-search-location {
        flex: 1 1 auto;
        width: 100%;
    }

    .hero-search-btn {
        width: 100%;
        margin-top: 0.4rem;
    }
}

/* ------------------------------------------
   SCROLL INDICATOR
   ------------------------------------------ */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    opacity: 0;
    animation: scrollFadeIn 1.8s ease-out forwards;
    animation-delay: 1.4s;
}

.scroll-indicator p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 0.8;
}

.scroll-dot {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #fff;
    animation: scrollBounce 1.4s infinite ease-in-out;
}

@keyframes scrollFadeIn {
    to { opacity: 1; }
}

@keyframes scrollBounce {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ------------------------------------------
   ABOUT SECTION
   ------------------------------------------ */

.about-section {
    padding: 6rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #444;
}

.about-media {
    flex: 1;
}

.about-image {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.about-image-logo {
    box-shadow: none;
    background: #f8f6f2;
    padding: 3rem 2.5rem;
    object-fit: contain;
    max-height: 420px;
}

/* ------------------------------------------
   FEATURED PROPERTIES GRID
   ------------------------------------------ */

.featured-properties {
    padding: 6rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.featured-properties .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.featured-properties-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* .har-embed-frame base styles now live in global.css so the same
   embed styling works on the homepage, About, and Valuation pages */

.featured-properties-cta {
    margin-top: 2.2rem;
    display: inline-block;
}

/* ------------------------------------------
   WORK WITH US
   ------------------------------------------ */

.work-with-us {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 7rem 2rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.work-with-us .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.work-with-us-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
    margin: 0 auto;
}

.work-with-us-content h2 {
    font-size: 2.4rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    color: #fff;
}

.work-with-us-content p {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ------------------------------------------
   HAR SECTION
   ------------------------------------------ */

.har-section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.har-logo {
    width: 180px;
    margin-bottom: 2rem;
}

.har-section p {
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.95rem;
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */

@media (max-width: 900px) {
    .about-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 700px) {
    .about-section,
    .featured-properties,
    .har-section {
        padding: 3rem 1.5rem;
    }

    .work-with-us {
        padding: 3.5rem 1.5rem;
    }

    .work-with-us-content h2 {
        font-size: 1.9rem;
    }

    .about-image-logo {
        padding: 1.8rem 1.5rem;
        max-height: 260px;
    }
}
