
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #111;
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 2.1rem;
    margin-bottom: 12px;
}

p {
    font-size: 1rem;
    color: #444;
}

.btn {
    padding: 12px 26px;
    background: #bfa76f;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.btn:hover {
    background: #a89254;
}

.btn-outline {
    border: 2px solid #bfa76f;
    color: #bfa76f;
    background: transparent;
}

.btn-outline:hover {
    background: #bfa76f;
    color: #fff;
}


.navbar {
    width: 100%;
    background: #000;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    width: 48px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #d6c28e;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 14px;
}

.nav-icon {
    width: 22px;
    height: 22px;
    opacity: 0.9;
    transition: 0.3s;
}

.nav-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}


.hero {
    padding: 90px 0 110px;
    text-align: center;
    background-image: url('../img/logos/hero-bg.png');
    background-size: cover;
    background-position: center 35%;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.10)
    );
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 750px;
    margin: auto;
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
}

.hero-logo-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.78);
    filter: blur(110px);
    border-radius: 50%;
    z-index: 1;
}

.hero-logo {
    width: 500px;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-top: 24px;
    font-size: 2.4rem;
    color: #fff;
    text-shadow: 0 0 18px rgba(0,0,0,0.8);
}

.hero-subtitle {
    margin-top: 12px;
    font-size: 1.15rem;
    color: #f5f5f5;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.hero-buttons {
    margin-top: 26px;
    display: flex;
    gap: 20px;
    justify-content: center;
}


.about-preview {
    margin: 90px auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 430px;
    border-radius: 12px;
}

.learn-more-btn {
    margin-top: 22px;
}

.about-photo-wrapper {
    position: relative;
    display: inline-block;
    max-width: 380px;
}

.about-photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.35);
    filter: blur(80px);
    z-index: -1;
    border-radius: 14px;
}

.about-img-large {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.about-list {
    margin-top: 10px;
    padding-left: 18px;
    line-height: 1.8;
}

.bhg-about-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

.why-jess {
    margin: 90px auto;
    text-align: center;
}

.why-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    padding: 20px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
}


.featured-listings {
    margin: 90px auto;
    text-align: center;
}

.listing-subtext {
    margin-top: 10px;
    color: #555;
}

.listings-row {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.listing-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.listing-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.listing-info {
    padding: 20px;
}

.center-btn {
    margin-top: 40px;
}


.listings-header {
    margin: 70px auto 40px;
    text-align: center;
}

.listings-header p {
    color: #bfa76f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.listings-header h1 {
    margin-top: 6px;
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    color: #111;
}

.listings-header .sub {
    max-width: 700px;
    margin: 12px auto 0;
    color: #555;
    font-size: 1rem;
}

.luxury-listings-grid {
    margin: 70px auto 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 40px;
    justify-items: center;
}

.lux-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lux-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.lux-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.lux-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lux-card:hover .lux-img-wrap img {
    transform: scale(1.05);
}

.lux-price {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #bfa76f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.lux-card-info {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lux-card-info h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.lux-card-info p {
    color: #555;
    margin-bottom: 16px;
}

.lux-card-info a {
    margin-top: auto;
}


.services-header {
    text-align: center;
    margin: 70px auto 40px;
}

.services-header .tagline {
    color: #bfa76f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.services-header h1 {
    margin-top: 6px;
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    color: #111;
}

.services-header .sub {
    max-width: 750px;
    margin: 12px auto 0;
    color: #555;
    line-height: 1.7;
}

.services-grid {
    margin: 70px auto 110px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 25px 40px;
    text-align: center;
    border: 1px solid rgba(191, 167, 111, 0.35);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.7rem;
    margin-bottom: 18px;
    color: #bfa76f;
    position: relative;
    overflow: visible;
    transition: 0.3s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
    color: #111;
}

.service-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

@keyframes goldGlow {
    0% {
        text-shadow: 0 0 0px rgba(191,167,111,0.4);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 12px rgba(191,167,111,0.85);
        transform: scale(1.08);
    }
    100% {
        text-shadow: 0 0 0px rgba(191,167,111,0.4);
        transform: scale(1);
    }
}

@keyframes shineSweep {
    0% { left: -100%; }
    100% { left: 130%; }
}

.service-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
}

.service-card:hover .service-icon {
    animation: goldGlow 1.8s ease-in-out infinite;
    color: #d8c38a;
}

.service-card:hover .service-icon::after {
    animation: shineSweep 0.9s ease forwards;
    opacity: 1;
}


.contact-header {
    text-align: center;
    margin: 80px auto 50px;
}

.contact-header .tagline {
    color: #bfa76f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.contact-header h1 {
    margin-top: 8px;
    font-size: 2.4rem;
    font-family: 'Playfair Display', serif;
    color: #111;
}

.contact-header .sub {
    max-width: 750px;
    margin: 15px auto 0;
    color: #555;
    line-height: 1.7;
}

.contact-grid {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: #111;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #444;
}

.contact-detail a {
    color: #bfa76f;
    text-decoration: none;
}


.contact-socials {
    margin-top: 25px;
    display: flex;
    gap: 18px;
}

.contact-socials img {
    width: 32px;
    height: 32px;
    opacity: 0.9;
    transition: 0.3s ease;
}

.contact-socials img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.contact-form form {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    border: 1px solid rgba(191,167,111,0.35);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    font-family: 'Poppins', sans-serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #fafafa;
    font-size: 1rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #bfa76f;
    background: #fff;
    box-shadow: 0 0 12px rgba(191,167,111,0.25);
}

.contact-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    border-radius: 10px;
}

.form-error {
    color: #b83b3b;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 20px;
}


.contact-map {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 100px;
    text-align: center;
}

.contact-map h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #111;
}

.map-sub {
    color: #555;
    margin-top: 6px;
}


.clean-section {
    padding: 80px 20px;
    background: #ffffff;
}

.testimonials-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

.testimonials-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.testimonial-card {
    background: #f9f9f9;
    border-left: 5px solid #c7a15c;
    border-radius: 10px;
    padding: 35px 40px;
    margin: 25px auto;
    max-width: 850px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-card .quote {
    font-size: 1.15rem;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-card .author {
    font-weight: bold;
    color: #000;
    font-size: 1rem;
}

.reviews-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 28px;
    background: #c7a15c;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 6px;
    transition: 0.3s ease;
}

.reviews-btn:hover {
    background: #b18d4f;
}


.contact-cta {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 95px 0;
}

.cta-title {
    color: #fff;
}

.cta-subtitle {
    color: #f2f2f2;
    margin-top: 10px;
}

.cta-btn {
    margin-top: 24px;
}

.map-section {
    width: 90%;
    max-width: 1100px;
    margin: 70px auto 100px;
    text-align: center;
}

.map-address {
    color: #444;
    margin-bottom: 16px;
}

.footer {
    background: #000;
    color: #eee;
    text-align: center;
    padding: 60px 0 40px;
}

.bhg-footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
    border-radius: 6px;
}

.footer-text {
    margin-top: 6px;
    color: #ddd;
}

.footer a {
    color: #d6c28e;
    text-decoration: none;
}

.footer-social {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icon {
    width: 30px;
    height: 30px;
    opacity: 0.85;
    transition: 0.3s;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.15);
}

.footer-bottom {
    margin-top: 35px;
    font-size: 0.9rem;
    color: #777;
}


.hamburger {
    width: 32px;
    height: 26px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    display: none; 
}

.hamburger .bar {
    width: 100%;
    height: 4px;
    background: #bfa76f; 
    border-radius: 4px;
    transition: 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 900px) {

    .about-grid,
    .listings-row,
    .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-logo {
        width: 380px;
    }

    .luxury-listings-grid {
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form form {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .nav-links {
        display: none; 
    }

    .hamburger {
        display: flex; 
        align-items: center;
    }

    .nav-container {
        justify-content: space-between;
        align-items: center;
    }

    .hero {
        padding: 75px 0 100px;
    }

    .hero-logo {
        width: 260px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-icon {
        width: 18px;
        height: 18px;
    }

    .services-grid {
        margin-bottom: 80px;
    }
}

@media (max-width: 600px) {

    .lux-card {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .testimonials-title {
        font-size: 2.1rem;
    }
}



.fair-housing-logo {
    width: 70px;         
    height: auto;
    margin-top: 10px;
    opacity: 0.9;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .fair-housing-logo {
        width: 46px;
        margin-top: 8px;
    }
}

/* ============================
   GLOBAL SOCIAL ICON STYLING
   ============================ */

/* Applies to header, footer, and mobile menu */
.nav-icon,
.footer-icon {
    font-size: 26px;          /* consistent sizing */
    color: #d6c28e;           /* gold */
    opacity: 0.9;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

/* Hover effect */
.nav-icon:hover,
.footer-icon:hover {
    opacity: 1;
    transform: scale(1.15);
    color: #e9d9a5;           /* lighter gold */
}

/* Footer container spacing */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
}

/* Header container spacing */
.nav-social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 14px;
}

/* Mobile social icons */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 14px 0;
}

/* Responsive sizing for smaller screens */
@media (max-width: 600px) {
    .nav-icon,
    .footer-icon {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}

/* Mobile padding fix for CTA buttons */
@media (max-width: 600px) {
    .cta-btn,
    .market-btn,
    .listings-btn,
    .free-analysis-btn,
    .view-listings-btn {
        width: 100%;
        padding: 16px 24px;     
        margin-bottom: 14px;   
        font-size: 1.05rem;     
        text-align: center;
        display: block;
    }
}

/* ============================================================
   FIX: CLEAN MOBILE MENU + SOCIAL ICONS
   (Remove duplicate mobile-menu block above this)
   ============================================================ */

.mobile-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid #ddd;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

.mobile-menu a {
    padding: 14px 0;
    font-size: 1.1rem;
    text-decoration: none;
    color: #000;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.35s ease;
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile social icons show properly */
.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 14px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.35s ease;
}

.mobile-menu.open .mobile-social {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s; 
}



@media (max-width: 600px) {
    .btn,
    .cta-btn,
    .center-btn .btn {
        width: 100%;
        padding: 16px 24px;
        margin-bottom: 14px;
        font-size: 1.05rem;
        text-align: center;
        display: block;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 90%;          /* not full width */
        max-width: 420px;    /* optional, keeps them neat */
        padding: 14px 22px;  /* natural padding */
        font-size: 1.05rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cta-btn {
        width: 90%;             /* gives side padding */
        max-width: 420px;       /* keeps it tidy */
        padding: 16px 24px;     /* big tappable button */
        display: block;
        margin: 14px auto 0;    /* centers it + spacing from top */
        font-size: 1.05rem;
        text-align: center;
    }
}

