﻿/* ============================================================
   PACIFIC LANDING AT SEASIDE — style.css (fixed)
   ============================================================ */

html {
    scroll-padding-top: 78px;
    overscroll-behavior: none;
}

#svg-icons {
    display: none;
}

@media (min-width: 1025px) {
    html {
        scroll-padding-top: 210px;
    }
}

@media (min-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Gravita GEO", serif;
    color: #0A4875;
}

.bg-brand-dark {
    background-color: #0A4875;
}

.teal-title {
    color: #0A4875;
    font-family: "gravita-geo-variable", serif;
    font-weight: 400;
}

.font-size-48 {
    font-size: 48px;
}

.margin-top-minus-5 {
    margin-top: -5px;
}

.max-w-400 {
    max-width: 400px;
}

.max-w-500 {
    max-width: 500px;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-1000 {
    max-width: 1000px;
}

.tracking-wide {
    letter-spacing: 0.1em;
    font-family: "gravita-geo-variable", serif;
    font-weight: 300;
}


/* ============================================================
   HEADER / NAVBAR
   KEY FIX: top was -1px which caused the bar to scroll up
   1px before sticking — changed to 0. translateZ(0) forces
   GPU compositing on iOS Safari so it never slips.
   ============================================================ */
.site-header {
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1030;
}

    .site-header .navbar {
        padding-top: 18px;
        padding-bottom: 10px;
    }

    .site-header .logo-img {
        height: 106px;
        width: auto;
        display: block;
    }

    .site-header .nav-link {
        color: #333E48;
        font-family: "brandon-grotesque", sans-serif;
        font-weight: 500;
        font-size: 24px;
        letter-spacing: 0.02em;
        transition: color 0.2s;
    }

    .site-header .navbar-toggler:focus,
    .site-header .navbar-toggler:active {
        outline: none;
        box-shadow: none;
    }
/* iPad landscape — tighten nav so it doesn't wrap */
@media (min-width: 768px) and (max-width: 1024px) {
    .site-header .nav-link {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .site-header .logo-img {
        height: 56px;
    }

    .site-header .navbar {
        padding-top: 12px;
        padding-bottom: 8px;
    }
}

/* Mobile responsive fix for massive logo */
@media (max-width: 767px) {
    .site-header .logo-img {
        height: 50px;
        max-width: 100%;
    }

    .site-header .nav-link {
        font-size: 18px;
    }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 400px;
    overflow: hidden;
    margin-bottom: 80px;
}

    .hero .hero-bg-slideshow {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-color: #f2f7f7;
    }

        .hero .hero-bg-slideshow .slide {
            position: absolute;
            inset: 0;
            background-image: var(--bg-desktop);
            background-size: cover;
            background-position: center top;
            background-repeat: no-repeat;
            opacity: 0;
            animation: heroFade 12s infinite;
        }

            .hero .hero-bg-slideshow .slide:nth-child(1) {
                animation-delay: 0s;
            }

            .hero .hero-bg-slideshow .slide:nth-child(2) {
                animation-delay: 3s;
            }

            .hero .hero-bg-slideshow .slide:nth-child(3) {
                animation-delay: 6s;
            }

            .hero .hero-bg-slideshow .slide:nth-child(4) {
                animation-delay: 9s;
            }

    .hero .hero-inner {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 60px;
    }

    .hero .hero-subtitle {
        position: relative;
        z-index: 3;
        text-align: center;
        color: white;
        font-family: "Brandon Grotesque", "Inter", sans-serif;
        font-size: 19px;
        font-weight: 400;
        max-width: 730px;
        margin: 0 auto;
        line-height: 1.7;
        padding: 0 24px;
    }

@media (max-width: 1440px) {
    .hero .hero-inner {
        padding-bottom: 25px;
    }

    .hero .hero-subtitle {
        max-width: 650px;
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    .hero .hero-inner {
        padding-bottom: 20px;
    }

    .hero .hero-subtitle {
        font-size: 16px;
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
    }

        .hero .hero-inner {
            padding-bottom: 15px;
        }

        .hero .hero-subtitle {
            font-size: 0.88rem;
        }
}

/* Mobile */
@media (max-width: 576px) {
    .hero {
        aspect-ratio: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

        .hero .hero-bg-slideshow .slide {
            background-image: var(--bg-mobile);
            background-position: center center;
        }

        .hero .hero-bg-slideshow {
            position: relative;
            height: 0;
            padding-bottom: 132%;
        }

        .hero .hero-inner {
            position: relative;
            height: auto;
            padding: 28px 20px 32px;
            background-color: #ffffff;
            justify-content: center;
        }

        .hero .hero-subtitle {
            font-size: 0.82rem;
            max-width: 100%;
            color: #333E48;
        }
}

@keyframes heroFade {
    0% {
        opacity: 0;
        z-index: 2;
    }

    5% {
        opacity: 1;
        z-index: 2;
    }

    24.9% {
        opacity: 1;
        z-index: 2;
    }

    25% {
        opacity: 1;
        z-index: 1;
    }

    30% {
        opacity: 1;
        z-index: 1;
    }

    31% {
        opacity: 0;
        z-index: 0;
    }

    100% {
        opacity: 0;
        z-index: 0;
    }
}


/* ============================================================
   BY THE PACIFIC
   ============================================================ */
.by-the-pacific {
    background-color: #ffffff;
    padding-top: 0;
    margin: 0;
}

    .by-the-pacific .btp-text {
        padding: 24px 24px 24px;
        text-align: center;
        max-width: 850px;
        margin: 0 auto 20px;
    }

    .by-the-pacific .btp-heading {
        font-family: "gravita-geo-variable", serif;
        font-size: clamp(48px, 3.5vw, 48px);
        color: #0A4875;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .by-the-pacific .btp-body {
        font-family: "gravita-geo-variable", serif;
        font-weight: 300;
        font-size: 19px;
        line-height: 1.85;
        color: #333E48;
        margin-bottom: 0;
    }

    .by-the-pacific .btp-collage {
        position: relative;
        width: 100%;
        height: clamp(150px, 55vw, 680px);
        margin: 0;
        padding: 0;
    }

    .by-the-pacific .btp-collage--expanded {
        height: clamp(150px, 55vw, 788px);
    }

        .by-the-pacific .btp-collage .reveal-item {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.1s ease-out, transform 0.1s ease-out;
            will-change: opacity, transform;
        }

    .by-the-pacific .btp-bg-text {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        user-select: none;
    }

        .by-the-pacific .btp-bg-text span {
            display: block;
            font-family: "balboa", sans-serif;
            font-weight: 200;
            font-size: clamp(40px, 15vw, 176px);
            color: rgba(214, 209, 195, 0.4);
            letter-spacing: 0.02em;
            line-height: 0.9;
            text-transform: uppercase;
        }

    .by-the-pacific .btp-photo-cluster {
        position: absolute;
        inset: 0;
        width: min(900px, 100%);
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
    }

    .by-the-pacific .btp-photo {
        position: absolute;
        overflow: hidden;
        pointer-events: auto;
    }

        .by-the-pacific .btp-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    /* Default (desktop) photo positions */
    .by-the-pacific .btp-photo--1 {
        width: 17%;
        aspect-ratio: 4/1.7;
        top: 24%;
        left: 32%;
        z-index: 4;
    }

    .by-the-pacific .btp-photo--2 {
        width: 21%;
        aspect-ratio: 3.5/2;
        top: 50%;
        left: 11%;
        z-index: 4;
    }

    .by-the-pacific .btp-photo--3 {
        width: 22%;
        aspect-ratio: 1/1;
        top: 50%;
        left: 38%;
        z-index: 5;
    }

    .by-the-pacific .btp-photo--4 {
        width: 11%;
        aspect-ratio: 2/3;
        top: 68%;
        left: 70%;
        z-index: 4;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--1 {
        width: 20%;
        aspect-ratio: 540/279;
        top: 80%;
        left: 37.5%;
        z-index: 4;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--2 {
        width: 12.5%;
        aspect-ratio: 336/351;
        top: 53.5%;
        left: 71.5%;
        z-index: 4;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--3 {
        width: 23%;
        aspect-ratio: 615/240;
        top: 18.5%;
        left: 33.5%;
        z-index: 5;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--4 {
        width: 13.5%;
        aspect-ratio: 354/432;
        top: 49%;
        left: 14.5%;
        z-index: 4;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--5 {
        width: 20%;
        aspect-ratio: 540/360;
        top: 38%;
        left: 41.5%;
        z-index: 5;
    }

    .by-the-pacific .btp-collage--expanded .btp-photo--6 {
        width: 12.5%;
        aspect-ratio: 336/351;
        top: 21.5%;
        left: 72.5%;
        z-index: 4;
    }


/* ============================================================
   IMAGE ROW
   ============================================================ */
.image-row img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.community-row-img {
    object-fit: cover;
    min-height: 100%;
}

@media (min-width: 576px) {
    .image-row img {
        height: 260px;
    }
}

@media (min-width: 768px) {
    .image-row img {
        height: 340px;
    }
}

@media (min-width: 1200px) {
    .image-row img {
        height: 420px;
    }
}


/* ============================================================
   COMMUNITY SECTION
   ============================================================ */
.sitemap-description, .community-description {
    font-family: "gravita-geo-variable", serif;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .community-section .text-center.mb-5 {
        padding: 0 1rem;
    }

    .community-section .col-md-6 {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.builder-name {
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333E4880;
    opacity: .6;
}

.home-type {
    font-family: "gravita-geo-variable", serif;
    font-weight: 300;
    font-size: 19px;
    color: #333E48;
}

.juniper-title {
    color: #A36452;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
}

.juniper-date {
    color: #07AFAA;
    font-family: "gravita-geo-variable", serif;
    font-weight: 300;
    font-size: 19px;
}

.learn-more-link {
    display: inline-block;
    color: #07AFAA;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
}

.juniper-card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.juniper-card-img {
    object-fit: cover;
    aspect-ratio: 4/3;
}

.coming-soon-title {
    font-size: 48px;
    font-family: 'gravita-geo-variable', sans-serif;
}

.neighborhood-title {
    font-family: 'brandon-grotesque', sans-serif;
    font-weight: 400;
    font-size: 2.2rem;
}

.neighborhood-logo-heading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.neighborhood-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.neighborhood-logo-featured {
    max-width: 260px;
}

.neighborhood-logo-coming-soon {
    max-width: 225px;
    margin: 0 auto;
}

.text-sagebrush {
    color: #486675;
}

.text-laurel {
    color: #7D7F54;
}

.text-cypress {
    color: #22492B;
}

@media (max-width: 576px) {
    .juniper-card-image {
        order: 2;
    }

    .juniper-card-details {
        order: 1;
    }

    .juniper-title {
        font-size: 1.8rem;
    }

    .neighborhood-logo-featured {
        max-width: 220px;
    }

    .neighborhood-logo-coming-soon {
        max-width: 195px;
    }
}


/* ============================================================
   SITE PLAN
   ============================================================ */
.site-plan-section {
    background-color: #FFFFFF;
}

.site-plan-wrapper {
    max-width: 1600px;
}

.site-map-container {
    position: relative;
    border-color: #E5E5E5 !important;
}

.site-map-container > img {
    display: block;
}

.site-map-neighborhood-legend {
    position: absolute;
    top: 78%;
    left: 13.2%;
    width: 35.5%;
    height: 4.5%;
    padding: .2% .8%;
    overflow: hidden;
    background-color: rgba(239, 244, 211, .98);
    color: #333E48;
    text-align: left;
    box-sizing: border-box;
}

.site-map-neighborhood-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5%;
    align-items: center;
    height: 100%;
}

.site-map-neighborhood-item {
    display: flex;
    align-items: center;
    gap: 5%;
    min-width: 0;
}

.site-map-neighborhood-swatch {
    flex: 0 0 22%;
    aspect-ratio: 1.45 / 1;
}

.site-map-neighborhood-swatch-laurel {
    background-color: #7D7F54;
}

.site-map-neighborhood-swatch-cypress {
    background-color: #22492B;
}

.site-map-neighborhood-swatch-sagebrush {
    background-color: #486675;
}

.site-map-neighborhood-swatch-juniper {
    background-color: #A36452;
}

.site-map-neighborhood-logo {
    display: block;
    width: 73%;
    max-height: 100%;
    height: auto;
    min-width: 0;
    object-fit: contain;
}


/* ============================================================
   CONNECTED SECTION
   ============================================================ */
.connected-section {
    background-color: #07AFAA0D;
}

.stay-connected-section .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23000000' d='M3 6h10l-5 6z'/%3e%3c/svg%3e");
    background-size: 18px 18px;
}

@media (max-width: 576px) {
    .connected-section .teal-title {
        font-size: 48px !important;
    }

    .sitemap-description, .connected-section .community-description br {
        display: none;
    }
}


/* ============================================================
   INSTAGRAM FEED
   ============================================================ */
.bg-white-section {
    background-color: #FFFFFF;
}

.follow-whats-title {
    color: #0A4875;
    font-family: "gravita-geo-variable", serif;
    font-weight: 400;
    font-size: 48px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.follow-whats-script {
    color: #07AFAA;
    font-family: 'smoothy', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 61.54px;
}

.follow-whats-desc {
    font-size: 19px;
    font-family: 'gravita-geo-variable', serif;
    font-weight: 300;
}

.pls-instagram-section {
    padding: 2rem 0;
}

.pls-instagram-carousel {
    position: relative;
}

.pls-instagram-track {
    --pls-instagram-items-visible: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0.25rem 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pls-instagram-track::-webkit-scrollbar {
    display: none;
}

.pls-instagram-post {
    flex: 0 0 calc((100% - ((var(--pls-instagram-items-visible) - 1) * 1rem)) / var(--pls-instagram-items-visible));
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.pls-instagram-post .instagram-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

.pls-instagram-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(10, 72, 117, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(5, 55, 79, 0.18);
    color: #0A4875;
    cursor: pointer;
    transform: translateY(-50%);
}

.pls-instagram-carousel.has-overflow .pls-instagram-nav {
    display: grid;
}

.pls-instagram-nav--previous {
    left: 0.5rem;
}

.pls-instagram-nav--next {
    right: 0.5rem;
}

.pls-instagram-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.pls-instagram-nav:focus-visible {
    outline: 3px solid #07AFAA;
    outline-offset: 2px;
}

.pls-instagram-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

@media (min-width: 576px) {
    .pls-instagram-track {
        --pls-instagram-items-visible: 2;
    }
}

@media (min-width: 992px) {
    .pls-instagram-track {
        --pls-instagram-items-visible: 4;
    }
}


/* ============================================================
   STAY CONNECTED
   ============================================================ */
.stay-connected-section {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.stay-connected-content {
    min-height: 500px;
}

.stay-connected .form-control,
.stay-connected .form-select {
    border-radius: 0;
    background-color: white;
    font-size: 0.85rem;
    color: #0A0A0A;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

    .stay-connected .form-control::placeholder {
        color: #0A0A0A;
        opacity: 1;
    }

    .stay-connected .form-control:focus,
    .stay-connected .form-select:focus {
        box-shadow: none;
        border-color: #0A4875;
    }

.stay-connected .submit-btn {
    background-color: #2b8b8b;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 30px;
    width: 100%;
    max-width: 300px;
}

    .stay-connected .submit-btn:hover {
        background-color: #0b3657;
    }

/* Custom Checkbox Styling */
.stay-connected .form-check-input:checked {
    background-color: #04858E;
    border-color: #04858E;
}

.stay-connected .form-check-input:focus {
    border-color: #04858E;
    box-shadow: 0 0 0 0.25rem rgba(4, 133, 142, 0.25);
}

.stay-connected .form-check-label {
    font-family: "Inter", sans-serif;
}

.stay-title-primary {
    font-family: 'smoothy', cursive;
    font-size: 75.23px;
    color: #07AFAA;
    line-height: 1;
    font-weight: 200;
    margin-right: 3.5%;
}

.stay-title-secondary {
    font-family: "brandon-grotesque", sans-serif;
    font-size: 48px;
    color: #f2f7f7;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
}

.stay-description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    max-width: 550px;
    margin-top: 10px;
    text-align: center;
}

@media (min-width: 992px) {
    /* Title layout adjusted to flex row without top margins */
}

@media (max-width: 767px) {
    .stay-connected {
        background-size: cover !important;
        background-position: center !important;
    }

    .stay-title-primary {
        font-size: 4.5rem;
    }

    .stay-title-secondary {
        font-size: 1.8rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .stay-title-primary {
        font-size: 3.5rem;
    }

    .stay-title-secondary {
        font-size: 1.5rem;
        margin-top: 10px;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer-partnership-logo {
    height: 114px;
    width: auto;
}

.footer-bottom-section {
    background-color: #0A4875;
}

.footer-logo-main {
    height: 80px;
}

.partnership-title {
    color: #0A4875;
    font-family: "gravita-geo-variable", serif;
    font-size: 48px;
    font-weight: 400;
}

.partnership-description {
    color: #666;
    font-size: 19px;
    line-height: 1.8;
    max-width: 800px;
    font-family: "gravita-geo-variable", serif;
    font-weight: 300;
}

.legal {
    font-size: 16px;
    color: #D1D8DD;
    line-height: 1.6;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 400;
}

.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .site-footer .social-icons a:hover {
        opacity: 0.8;
    }
}

@media (max-width: 576px) {
    .partnership-title {
        font-size: 48px;
    }

    .partnership-description {
        font-size: 19px;
    }

    .site-footer .bg-white .d-flex img {
        height: 60px !important;
    }
}

/* Site plan related CSS*/
.interactiveSitePlan {
    width: 100%;
    border: 0;
    display: block;
    margin: 0 auto;
    margin-top: 27.5px;
    position: relative;
    height: 720px;
    margin-left: 32px;
    padding-right: 32px;
    margin-left: 0px;
    padding-right: 0px;
    scrollbar-base-color: none;
}

@media (max-width: 767px) {
    #sp_iframe_holder {
        margin-right: 3px !important;
        margin-left: 3px !important;
    }
}


/* CCPA BANNER */
#cookie-banner {
    background-color: #efefef;
    width: 100%;
    position: fixed;
    left: 0;
    padding: 2.5rem 0 2rem 0;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.3);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.3);
    z-index: 1000;
    bottom: 0;
    display: none;
}

@media(min-width: 992px) {
    #cookie-banner {
        padding: 2rem 0 2rem 0
    }
}

#cookie-banner .cookie-msg {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    font-size: .9rem
}

@media(min-width: 992px) {
    #cookie-banner .cookie-msg {
        font-size: 1rem
    }
}

@media(min-width: 1200px) {
    #cookie-banner .cookie-msg {
        padding: 0 0
    }
}

#cookie-banner .cookie-msg a.text-link {
    font-family: AvenirNextLTPro-Demi;
    text-decoration: underline;
    border-bottom: 0 solid transparent
}

    #cookie-banner .cookie-msg a.text-link:hover {
        border-bottom: 0 solid red !important
    }

#cookie-banner .x-close {
    position: absolute;
    width: 1rem;
    height: 1rem;
    left: 2rem;
    top: 1.25rem
}

.banner-open .acsb-trigger {
    display: none !important
}
