@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ========================================
   BASE / RESET
   ======================================== */
html, body {
    height: 100%;
    margin: 0;
    background-color: black;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

a, p, span, div,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6, h2 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200 !important;
    font-style: normal;
}

.fw-bold {
    font-weight: 300 !important;
}

.serif {
    font-family: "Cormorant", serif;
    font-optical-sizing: auto;
    font-weight: 100 !important;
    font-style: normal;
}

.spaced {
    letter-spacing: 3px;
    font-weight: 300 !important;
}

/* ========================================
   HERO
   ======================================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

#heroVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

#heroOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.px-container {
    padding-left: 130px !important;
    padding-right: 130px !important;
}

/* ========================================
   COLORS / BUTTONS
   ======================================== */
.btn-gold {
    border-color: #c8a675;
    color: #c8a675;
}

.text-gold {
    color: #c8a675;
}

/* ========================================
   FORMS
   ======================================== */
.form-control {
    border: none;
    border-bottom: 1px solid #FFF;
    border-radius: 0;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-color: #000;
}

/* ========================================
   SLICK CAROUSEL (shared)
   ======================================== */
.slick-slide img {
    width: 100%;
    padding: 0px 20px;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}

.slick-current img {
    filter: grayscale(0);
}

.slider .slick-prev {
    left: calc(34.33% - 10px);
    top: 50%;
    z-index: 999;
}

.slider .slick-next {
    right: calc(34.33% - 10px);
    top: 50%;
    z-index: 999;
}

.slick-prev:before,
.slick-next:before {
    color: #c8a675;
}

.slick-prev:before {
    content: "<";
    font-size: 32px;
}

.slick-next:before {
    content: ">";
    font-size: 32px;
}

/* ========================================
   TESTIMONIAL SLIDER
   ======================================== */
.testimonial-slider .slick-slide {
    padding: 0 10px;
}

.testimonial-slider .slick-slide img {
    filter: none;
    margin-top: 0;
    padding: 0;
    width: 100%;
}

.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    top: 50%;
    z-index: 999;
}

.testimonial-slider .slick-prev {
    left: -30px;
}

.testimonial-slider .slick-next {
    right: -30px;
}

.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
    color: #c8a675;
    font-size: 28px;
}

.testimonial-slider .slick-prev:before {
    content: "<";
}

.testimonial-slider .slick-next:before {
    content: ">";
}

/* ========================================
   GSAP ANIMATION TARGETS
   ======================================== */
.story1,
.story2,
.story3,
.story4,
.story5 {
    opacity: 0;
}

/* ========================================
   FLOOR PLATES SECTION
   ======================================== */
#floor-plates::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 0;
}

#floor-plates > * {
    position: relative;
    z-index: 1;
}

#floorPlates {
    position: relative;
}

#floorPlates::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0)
    );
    pointer-events: none;
    z-index: 1;
}

#floorPlates > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   STORY CARDS
   ======================================== */
.story-card {
    overflow: hidden;
}

.story-card .story-default {
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* amenity card label */
.story-card .story-default h3 {
    font-size: 1rem;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.story-card .story-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.4s ease;
}

.story-card .story-box {
    background-color: #c6c9c1;
    padding: 60px 50px;
    max-width: 80%;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.story-card .story-box h3 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.story-card .story-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000;
}

.story-card .plus {
    font-size: 32px;
    margin-bottom: 20px;
}

/* hover states — global (neighborhood.php cards) */
.story-card:hover .story-overlay {
    opacity: 1;
}

.story-card:hover .story-box {
    transform: translateY(0);
}

.story-card:hover .story-default {
    opacity: 0;
}

.story-card:hover img {
    filter: brightness(0.45);
    transition: filter 0.4s ease;
}

/* amenities.php — disable hover on non-la-vie sections */
#flexible-spaces .story-card:hover .story-default,
#flx-fitness .story-card:hover .story-default {
    opacity: 1;
}

#flexible-spaces .story-card:hover img,
#flx-fitness .story-card:hover img {
    filter: none;
}

@media (max-width: 768px) {
    .story-card .story-overlay {
        display: none;
    }
}

/* ========================================
   FANCY BUTTON
   ======================================== */
.fancy-btn {
    position: relative;
    color: #c8a675;
    border: 1px solid #c8a675;
    overflow: hidden;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(2px);
}

.fancy-btn::before,
.fancy-btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
}

.fancy-btn::before {
    top: 0;
    left: 0;
}

.fancy-btn::after {
    bottom: 0;
    right: 0;
}

.fancy-btn:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: #c8a675;
    border-right-color: #c8a675;
    transition:
        width 0.3s ease,
        height 0.3s ease 0.3s;
}

.fancy-btn:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: #c8a675;
    border-left-color: #c8a675;
    transition:
        width 0.3s ease 0.6s,
        height 0.3s ease 0.9s;
}

.fancy-btn:focus {
    box-shadow: none;
}

.fancy-btn,
.fancy-btn:hover,
.fancy-btn:focus,
.fancy-btn:active {
    background-color: rgba(0, 0, 0, 0.35) !important;
    color: #c8a675 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* ========================================
   BUILDING FLOOR SELECTOR
   ======================================== */
.building-selector {
    position: relative;
}

.building-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.building-base {
    display: block;
    width: 100%;
    height: auto;
}

.level-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-blend-mode: overlay;
    pointer-events: none;
}

.level-overlay.active {
    opacity: 0.4;
}

.floor-zone {
    position: absolute;
    left: 0;
    width: 100%;
    cursor: pointer;
    z-index: 10;
}

/* ========================================
   FLOOR LIGHTBOX
   ======================================== */
.floor-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.floor-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.floor-lightbox {
    position: relative;
    background: #1a1a1a;
    max-width: 80%;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    display: flex;
}

.floor-lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 5px 10px;
    transition: opacity 0.2s;
}

.floor-lightbox-close:hover {
    opacity: 0.7;
}

.floor-lightbox-content {
    flex: 0 0 35%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.floor-lightbox-left h2 {
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0px;
    font-weight: 300 !important;
}

.floor-lightbox-left h3 {
    color: #aaa;
    font-size: 1.35rem;
    line-height: 1.2;
    margin: 0 0 25px;
}

.floor-lightbox-right h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600 !important;
}

.floor-lightbox-right ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0 0 20px;
}

.floor-lightbox-right ul li {
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.7;
}

.floor-lightbox-download {
    display: inline-block;
    background: #c8a675;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: 600 !important;
    transition: background 0.3s;
}

.floor-lightbox-download:hover {
    background: #b89560;
    color: #1a1a1a;
}

.floor-lightbox-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.floor-lightbox-image {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .floor-lightbox {
        flex-direction: column;
    }
    .floor-lightbox-content {
        flex: none;
        padding: 20px;
    }
}

/* ========================================
   ACCORDION (interview pages)
   ======================================== */
.accordion,
.accordion-item,
.accordion-button,
.accordion-body {
    border-radius: 0 !important;
}

.accordion-button::after {
    display: none !important;
}

.accordion-button::before {
    content: "+";
    color: #cfa46d;
    font-size: 26px;
    position: absolute;
    right: 0px;
    transition: 0.2s ease;
}

.accordion-button:not(.collapsed)::before {
    content: "−";
}
