/* ==========================================================================
   Basin Park — site styles (matched to the live Wix site)
   ========================================================================== */

:root {
    /* Colors */
    --black:       #000000;
    --white:       #ffffff;
    --band:        #6b6b6b;   /* gray title bands */
    --vision:      #535353;   /* "Our Vision" band */
    --panel:       #2f2f2f;   /* walkability cards */
    --panel-2:     #3b3b3b;   /* builder panel */
    --green:       #adb944;   /* contact block, buttons, chat button */
    --green-text:  #b3c043;   /* "OUR VISION" */
    --olive:       #7c8a2a;   /* "LUXURY OCEAN VIEW..." headline */
    --gold:        #e8c350;   /* "VISIT WEBSITE >>" */
    --nav:         #d6d6d6;
    --nav-active:  #c8a491;
    --ink:         #1a1a1a;

    /* Fonts */
    --f-main:   "Questrial", "Helvetica Neue", Arial, sans-serif;
    --f-nav:    "Raleway", "Helvetica Neue", Arial, sans-serif;
    --f-avenir: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
    --f-thin:   "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
    --f-script: "Dancing Script", "Brush Script MT", cursive;

    --content: 980px;        /* Wix content width */
    --gutter:  20px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--f-main);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; }

.wrap { width: 100%; max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden, .hp {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--black); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header ----------------------------------------------------------------- */
.site-header { background: var(--black); position: relative; z-index: 50; }
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav-link {
    font-family: var(--f-nav);
    font-weight: 300;
    font-size: 20px;
    color: var(--nav);
    text-decoration: none;
    transition: color .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--nav-active); }
.logo img { width: 250px; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
    .header-inner { min-height: 96px; }
    .logo img { width: 180px; }
    .nav-toggle {
        display: block;
        width: 44px; height: 44px;
        background: none; border: 0; cursor: pointer;
        position: relative;
        order: 2;
    }
    .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
        position: absolute; left: 10px;
        width: 24px; height: 2px;
        background: var(--white);
        content: "";
        transition: transform .25s, top .25s;
    }
    .nav-toggle-bar { top: 21px; }
    .nav-toggle-bar::before { left: 0; top: -7px; }
    .nav-toggle-bar::after  { left: 0; top: 7px; }
    .nav-open .nav-toggle-bar { background: transparent; }
    .nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
    .nav-open .nav-toggle-bar::after  { top: 0; transform: rotate(-45deg); }

    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--black);
        display: none;
        border-top: 1px solid #222;
    }
    .nav-open .site-nav { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; padding: 6px var(--gutter) 18px; }
    .nav-link { display: block; padding: 10px 0; }
}

/* Gray title band (interior pages) --------------------------------------- */
.page-band { background: var(--band); }
.band-inner {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 50px var(--gutter);
    min-height: 172px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 40px;
    align-items: center;
}
.band-title {
    font-family: var(--f-main);
    font-size: 50px;
    line-height: 1.12;
    text-align: center;
    color: var(--white);
}
.band-intro { font-size: 20px; line-height: 1.65; margin: 0; max-width: 580px; }
@media (max-width: 760px) {
    .band-inner { grid-template-columns: 1fr; gap: 12px; text-align: center; padding: 40px var(--gutter); }
    .band-title { font-size: 38px; }
    .band-intro { font-size: 17px; margin: 0 auto; }
}

/* Buttons ---------------------------------------------------------------- */
.btn-green, .btn-gold {
    display: inline-block;
    font-family: var(--f-main);
    font-size: 15px;
    color: #333;
    text-decoration: none;
    padding: 9px 14px;
    transition: filter .2s;
}
.btn-green { background: var(--green); }
.btn-gold  { background: var(--gold); padding: 10px 24px; }
.btn-green:hover, .btn-gold:hover { filter: brightness(1.08); }

/* Home: photo collage ---------------------------------------------------- */
.home-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 0 20px;
    height: 540px;
}
.collage-col { display: grid; gap: 2px; min-height: 0; }
.collage-col.short-first { grid-template-rows: 40fr 60fr; }
.collage-col.tall-first  { grid-template-rows: 60fr 40fr; }
.collage-col figure { margin: 0; overflow: hidden; min-height: 0; }
.collage-col img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
    .home-collage { grid-template-columns: repeat(2, 1fr); height: auto; padding: 0; }
    .collage-col { height: 420px; }
}

/* Home: vision ----------------------------------------------------------- */
.vision {
    background-color: var(--vision);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    text-align: center;
    padding: 46px var(--gutter) 56px;
}
.vision h2 { font-size: 46px; color: var(--green-text); margin-bottom: 26px; }
.vision p { font-size: 29px; line-height: 1.85; max-width: 760px; margin: 0 auto; }
@media (max-width: 700px) {
    .vision h2 { font-size: 34px; }
    .vision p { font-size: 21px; }
}

/* Home: luxury rendering ------------------------------------------------- */
.luxury {
    min-height: 760px;
    background-size: cover;
    background-position: center bottom;
    padding: 80px var(--gutter) 0;
    text-align: center;
}
.luxury h2 {
    font-family: var(--f-thin);
    font-weight: 300;
    font-size: 52px;
    line-height: 1.15;
    color: var(--olive);
    letter-spacing: -.01em;
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .luxury { min-height: 420px; padding-top: 44px; }
    .luxury h2 { font-size: 32px; }
}

/* Home: builder ---------------------------------------------------------- */
.builder { display: grid; grid-template-columns: 1fr 2fr; }
.builder-logo { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 40px; }
.builder-logo img { width: 260px; }
.builder-body { background: var(--panel-2); padding: 70px 40px 70px 17%; }
.builder-body .eyebrow { font-family: var(--f-avenir); font-weight: 300; font-size: 28px; margin-bottom: 4px; }
.builder-body h2 { font-family: var(--f-avenir); font-weight: 300; font-size: 50px; }
.builder-body .rule { width: 60px; height: 1px; background: var(--white); margin: 28px 0 36px 4px; }
.builder-body p { font-size: 18px; max-width: 490px; }
.builder-body p + p { margin-top: 1.6em; }
.builder-body .btn-gold { margin-top: 18px; }
@media (max-width: 860px) {
    .builder { grid-template-columns: 1fr; }
    .builder-body { padding: 50px var(--gutter); }
    .builder-body h2 { font-size: 42px; }
}

/* Contact block (green) -------------------------------------------------- */
.contact-block { background: var(--green); color: var(--white); }
.contact-inner {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 55px var(--gutter) 90px;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 40px;
}
.contact-title { font-size: 38px; color: var(--ink); margin: 18px 0 30px; }
.contact-email { font-size: 28px; margin-bottom: 18px; }
.contact-email a { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact-phone { font-size: 58px; line-height: 1.1; margin-bottom: 70px; }
.contact-phone a { color: var(--white); text-decoration: none; }
.marketed-by { display: flex; align-items: center; gap: 20px; }
.marketed-by .script { font-family: var(--f-script); font-size: 26px; color: var(--ink); }
.marketed-by img { width: 150px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 18px; align-content: start; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form .field-phone { grid-column: 1; }
.contact-form label { display: block; font-size: 15px; color: var(--white); margin: 0 0 6px 5px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    font: 15px var(--f-main);
    color: var(--white);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--white);
    padding: 6px 5px 14px;
    border-radius: 0;
    resize: vertical;
}
.contact-form ::placeholder { color: var(--white); opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-width: 2px; }
.btn-submit {
    background: var(--white);
    color: var(--ink);
    border: 0;
    height: 48px;
    font: 18px var(--f-main);
    cursor: pointer;
    margin-top: 4px;
}
.btn-submit:hover:not(:disabled) { background: #f1f1f1; }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Honeypot "Zip Code" field — hidden from people, visible to bots reading the HTML */
.zip-field { display: none; }

/* Form errors */
.form-alert {
    margin: 0;
    padding: 10px 14px;
    background: #8f1d1d;
    color: var(--white);
    font-size: 15px;
}
.field-error { display: block; margin: 6px 0 0 5px; font-size: 14px; color: #6b0f0f; font-weight: 600; }
.field.has-error input,
.field.has-error textarea { border-bottom: 2px solid #6b0f0f; }
.field.has-error label { color: #6b0f0f; }

/* Success page */
.success-block { text-align: center; padding: 60px var(--gutter) 90px; font-size: 18px; }
.success-contact { font-size: 22px; line-height: 1.7; margin-bottom: 34px; }
.success-contact a { color: var(--white); }
.form-note { color: var(--white); margin: 0; }
@media (max-width: 860px) {
    .contact-inner { grid-template-columns: 1fr; padding: 40px var(--gutter) 60px; }
    .contact-title { font-size: 30px; }
    .contact-email { font-size: 20px; }
    .contact-phone { font-size: 42px; margin-bottom: 40px; }
}

/* Map --------------------------------------------------------------------- */
.map-block { height: 470px; background: #e5e3df; }
.map-block iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Concept slideshow + thumbnails ----------------------------------------- */
.slideshow { max-width: var(--content); margin: 0 auto; }
.slides { position: relative; aspect-ratio: 980 / 393; overflow: hidden; background: #111; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: 0; padding: 10px; cursor: pointer; color: var(--white); z-index: 2;
}
.slide-btn svg { width: 22px; height: 44px; display: block; filter: drop-shadow(0 0 3px rgba(0,0,0,.4)); }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }
.thumbs {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 18px 9px 6px;
    scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
    flex: 0 0 120px; height: 120px;
    padding: 0; border: 0; cursor: pointer;
    background: #111;
    opacity: .55;
    transition: opacity .2s;
}
.thumbs button.is-active, .thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery mosaic + lightbox ---------------------------------------------- */
.mosaic {
    max-width: var(--content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
    gap: 10px;
}
.mosaic a { display: block; overflow: hidden; background: #111; }
.mosaic a.big  { grid-column: span 2; grid-row: span 2; }
.mosaic a.big-right { grid-column: 3 / span 2; }
@media (max-width: 700px) { .mosaic a.big-right { grid-column: 1 / span 2; } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.03); }
@media (max-width: 700px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
}

.lightbox {
    position: fixed; inset: 0;
    background: var(--black);
    display: none;
    align-items: center; justify-content: center;
    z-index: 200;
    padding: 90px 90px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 12px; }
.lightbox svg { display: block; }
.lb-close { top: 18px; right: 18px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 70px 10px; } }

/* Details --------------------------------------------------------------- */
.details-hero { background: var(--band); position: relative; overflow: hidden; }
.details-hero-img {
    position: absolute; top: 0; bottom: 0; left: 5%;
    width: 57%;
    background-size: cover; background-position: center;
}
.details-hero-inner {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 44px 5% 18px 0;
    display: flex;
    justify-content: flex-end;
    min-height: 364px;
}
.details-box {
    background: var(--black);
    width: 57%;
    max-width: 865px;
    padding: 50px 60px 60px 130px;
    align-self: start;
}
.details-box h1 { font-family: var(--f-avenir); font-weight: 300; font-size: 58px; margin-bottom: 36px; }
.details-box p { font-family: var(--f-avenir); font-size: 17px; line-height: 2.4; margin: 0; }
@media (max-width: 860px) {
    .details-hero-img { position: static; width: 100%; height: 220px; }
    .details-hero-inner { padding: 0; min-height: 0; }
    .details-box { width: 100%; padding: 36px var(--gutter); }
    .details-box h1 { font-size: 38px; }
    .details-box p { line-height: 1.8; }
}

.features {
    max-width: var(--content);
    margin: 0 auto;
    padding: 56px var(--gutter) 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 50px;
}
.feature { font-size: 15px; line-height: 1.85; }
.feature-icon { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 30px; }
.feature h2 {
    font-family: var(--f-avenir);
    font-weight: 300;
    font-size: 21px;
    letter-spacing: .02em;
    text-align: center;
    min-height: 2.4em;
    margin-bottom: 26px;
}
.feature h3 { font-family: var(--f-main); font-size: 15px; font-weight: 400; margin: 0; }
.feature ul { margin: 0 0 1.6em; padding-left: 26px; }
.feature ul ul { margin: 0; list-style: circle; }
.disclaimer { max-width: var(--content); margin: 0 auto; padding: 10px var(--gutter) 60px; font-size: 14px; }
@media (max-width: 860px) {
    .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .features { grid-template-columns: 1fr; }
    .feature h2 { min-height: 0; }
}

/* Walkability ------------------------------------------------------------ */
.walk-grid {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 var(--gutter) 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}
.walk-card {
    background: var(--panel);
    display: grid;
    grid-template-columns: 48% 1fr;
    min-height: 354px;
}
.walk-media { aspect-ratio: 310 / 282; overflow: hidden; }
.walk-media img { width: 100%; height: 100%; object-fit: cover; }
.walk-body { padding: 56px 20px 40px 36px; display: flex; flex-direction: column; }
.walk-body h2 { font-family: var(--f-avenir); font-weight: 300; font-size: 21px; letter-spacing: .02em; margin-bottom: 36px; }
.walk-body p { font-size: 16px; line-height: 1.75; }
.walk-body .btn-green { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) {
    .walk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .walk-card { grid-template-columns: 1fr; }
    .walk-body { padding: 28px 22px; }
    .walk-body .btn-green { margin-top: 10px; }
}

/* Listing / tour --------------------------------------------------------- */
.listing-area { background: #dcdcdc; min-height: 560px; }
.listing-area iframe, .tour-embed iframe { width: 100%; border: 0; display: block; }
.listing-area iframe { height: 1200px; }
.tour-embed { max-width: var(--content); margin: 30px auto 60px; aspect-ratio: 16 / 9; position: relative; }
.tour-embed iframe { position: absolute; inset: 0; height: 100%; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--black); }
.footer-signup { text-align: center; padding: 38px var(--gutter) 70px; }
.footer-signup-title { font-family: var(--f-avenir); font-weight: 300; font-size: 30px; margin-bottom: 22px; }
.signup-form { display: flex; justify-content: center; max-width: 510px; margin: 0 auto; }
.signup-form input {
    flex: 1;
    min-width: 0;
    height: 55px;
    background: var(--black);
    border: 2px solid #33334a;
    border-right: 0;
    color: var(--white);
    font: italic 15px Georgia, "Times New Roman", serif;
    padding: 0 24px;
}
.signup-form input::placeholder { color: #444; }
.signup-form button {
    height: 55px;
    padding: 0 20px;
    background: var(--white);
    color: var(--ink);
    border: 0;
    font: 18px var(--f-main);
    cursor: pointer;
}
.footer-signup .form-note { margin-top: 12px; }

.footer-bar {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 18px var(--gutter) 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.copyright { font-family: var(--f-nav); font-size: 15px; line-height: 1.65; margin: 0 0 0 11px; }
.footer-logos { display: flex; align-items: center; gap: 80px; margin-right: 40px; }
.footer-logos img[alt="Stultz Built Construction"] { width: 90px; }
.footer-logos img[alt="Brick & Mojo"] { width: 95px; }
@media (max-width: 700px) {
    .footer-bar { flex-direction: column; text-align: center; }
    .copyright { margin: 0; }
    .footer-logos { margin: 0; gap: 40px; }
    .signup-form { flex-direction: column; }
    .signup-form input { border-right: 2px solid #33334a; }
}

/* Floating chat button -------------------------------------------------- */
.chat-button {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    display: flex; align-items: center; gap: 12px;
    background: var(--green);
    color: var(--ink);
    text-decoration: none;
    font: 19px var(--f-main);
    padding: 12px 36px 12px 36px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
    transition: filter .2s;
}
.chat-button:hover { filter: brightness(1.07); }
@media (max-width: 600px) {
    .chat-button { padding: 10px 20px; font-size: 16px; right: 12px; bottom: 12px; }
}
