.brand-logo-text,
.brand-logo-icon {
    filter: brightness(0);
}

.contact-pill {
    background: #6090B5;    /* your blue color */
    color: #ffffff;
    text-decoration: none;

    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 700;       /* Bold */

    border-radius: 999px;   /* pill shape */

    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.15s ease,
                box-shadow 0.15s ease;
}

.contact-pill:hover {
    transform: translateY(-2px);
    background: #6090B5;
}

/* ==============================
   Page Canvas
============================== */
.project-view-canvas {
    background-image: url("/static/website/images/projects-bg.png"); /* change path/name as needed */
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 70px 120px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll; /* change to fixed if you want parallax */
}

/* ==============================
   Title + Navigation Arrows
============================== */
.project-view-header {
    margin-top: 167px;
    margin-bottom: 40px; /* keep spacing below */
}

.project-view-title-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 125px;
}

.project-nav-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.project-nav-arrow--prev {
    left: 65px;
}

.project-nav-arrow--next {
    right: 65px;
}

.project-nav-arrow-icon {
    width: 38px;
    height: 38px;
    display: block;
}

.project-nav-arrow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2B2D2C;
    text-decoration: none;
}

.project-nav-arrow a:hover {
    color: #1f2020;
}

.project-nav-arrow:hover {
    opacity: 1;
}

.project-view-title {
    max-width: 1440px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700; /* Bold */
    font-size: 40px;
    line-height: 1.1;
    color: #0B1520;
    text-align: center;
    margin: 0 auto;
}

/* ==============================
   Hero Image
============================== */
.project-view-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.project-hero-figure {
    width: 100%;
    max-width: 1120px;
    margin: 0;
}

.project-hero-image {
    width: 100%;
    aspect-ratio: 1120 / 648;
    max-width: 1120px;
    border-radius: 24px;
    display: block;
    object-fit: cover;
}

/* ==============================
   Overview Section (Split layout)
============================== */
.project-overview {
    width: 100%;
    margin-bottom: 80px;
}

.project-overview-grid {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: nowrap;
}

.project-overview-media {
    flex: 1;
    margin-top: 45px;
}

.project-overview-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.project-overview-text {
    flex: 1;
    padding-top: 12px;
}

.project-overview-title {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    color: #0B1520;
    margin-bottom: 8px;
}

.project-overview-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 17px;
    color: #475567;
    margin-bottom: 16px;
}

.project-overview-body {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
}

/* ==============================
   Interior Gallery
============================== */
.project-gallery {
    margin-top: 40px;
}

.project-overview,
.project-gallery {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.project-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.project-gallery-label {
    line-height: 1;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #0B1520;
}

.project-gallery-controls {
    display: flex;
    gap: 60px;
}

.project-gallery-arrow {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    display: block;
    pointer-events: none;
}

.project-gallery-track-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Moving strip */
.project-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;                  /* space between cards */
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Desktop: 2 cards per row */
.project-gallery-card {
    flex: 0 0 calc(50% - 12px); /* half width minus half the gap */
    max-width: none;
    box-sizing: border-box;
}

.project-gallery-image {
    max-width: 544px;
    max-height: 320px;
    display: block;
    object-fit: cover;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1343px) {
    .project-view-header {
        margin-top: 120px;
    }
    .project-view-title-row {
        padding: 0 90px;
    }
    .project-nav-arrow--prev {
        left: 45px;
    }
    .project-nav-arrow--next {
        right: 45px;
    }
}

@media (max-width: 1186px) {
    .project-view-title-row {
        padding: 0 50px;
    }
    .project-nav-arrow--prev {
        left: -20px;
    }
    .project-nav-arrow--next {
        right: -20px;
    }
}

@media (max-width: 1100px) {
    /* One card per "page" */
    .project-gallery-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Make the image fill the card nicely */
    .project-gallery-image {
        width: 100%;
        max-width: none;
        max-height: 320px;
        object-fit: contain;
        display: block;
    }

    /* Optional: slightly smaller gap if you’re sliding */
    .project-gallery-track {
        gap: 16px;
    }
}

/* Tablet – stack the split section */
@media (max-width: 900px) {
    .project-view-canvas {
        padding: 32px 32px 80px;
    }
    .project-view-title-row {
        padding: 0 25px;
    }
    .project-view-title {
        font-size: 30px;
    }

    .project-overview-grid {
        flex-direction: column;
    }

    .project-overview-media,
    .project-overview-text {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .project-view-title {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    .project-view-title {
        font-size: 20px;
    }
}

@media (max-width: 481px) {
    .project-view-header {
        margin-top: 90px;
    }
}

.nav-pill--on-light {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
}

.nav-pill--on-light .nav-pill-link {
    color: #000000;
}

.nav-pill--on-light .nav-pill-link--active {
    border-color: rgba(0, 0, 0, 0.8);
}

.nav-toggle-icon {
    color: black;
}

.nav-toggle-icon > circle {
    fill-opacity: 0;
}



/* ==============================
   CENTER ALL MAIN SECTIONS
============================== */

/* Header (title + arrows) */
.project-view-header {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Hero */
.project-view-hero {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview section */
.project-overview {
    max-width: 1120px;   /* or whatever your layout width is */
    margin-left: auto;
    margin-right: auto;
}

/* Gallery section */
.project-gallery {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* static/website/css/project.css */
.overview-slider {
    position: relative;
    overflow: hidden;
}

.overview-slider-inner {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
    touch-action: pan-y; /* allow vertical scroll on mobile */
    cursor: grab;
}

.overview-slider.grabbing .overview-slider-inner {
    cursor: grabbing;
}

.overview-slide {
    min-width: 100%;
    flex: 0 0 100%;
    user-select: none; /* avoid text selection while dragging */
}

.overview-slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* helps avoid weirdness while dragging */
}

.overview-slide {
    position: relative;
}

.overview-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;

    display: inline-block;          /* shrink to fit text */
    max-width: calc(100% - 40px);   /* avoid overflowing the slide */

    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.45);
    color: white;

    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 300;

    border-radius: 12px;
    backdrop-filter: blur(4px);

    pointer-events: none;
    white-space: normal;            /* allow wrapping */
    word-break: break-word;         /* safe wrapping */
}


/* website/static/website/css/view_project.css */

/* ============================
   PROJECT TEXT CARDS
   ============================ */

.project-cards {
    margin-top: 48px;
}

/* THIS is the wrapper that contains the cards in your template */
.project-cards-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;

    padding: 0 0px 80px;
    box-sizing: border-box;
}

/* Single card */
.project-card {
    max-width: 452px;
    border: 1px solid #a6c9e2;
    border-radius: 16px;
    background-color: transparent;
    box-sizing: border-box;
    padding: 16px 24px 24px 24px;
    display: flex;
    flex-direction: column;
}

/* Title */
.project-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

/* Text */
.project-card-body {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    margin: 12px 0 0;
}

.project-card-body p {
    margin: 0 0 10px 0;
}

.project-card-body p:last-child {
    margin-bottom: 0;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1200px) {
    .project-cards-inner {
        padding: 0 0px 64px;
    }
}

@media (max-width: 768px) {
    .project-cards-inner {
        padding: 0 20px 56px;
        gap: 20px;
    }

    .project-card {
        width: 100%;
        max-width: 420px;
    }
}



.project-properties {
    margin-top: 48px;
}

.project-properties-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 64px;
    box-sizing: border-box;
}

.project-properties-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.project-properties-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 28px;
}

.project-properties-meta {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.project-properties-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-properties-filters select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    font-family: 'Outfit', sans-serif;
}

.project-properties-grid{
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    align-items: start;
    justify-items: center;
}

.project-prop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 14px 16px;
}

.project-prop-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.project-prop-name {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.project-prop-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 13px;
    border: 1px solid #a6c9e2;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.project-prop-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.9;
}

.project-prop-price {
    margin-top: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.project-properties-pagination {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
}

.project-properties-pagination a {
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 8px 12px;
    border-radius: 12px;
}

@media (max-width: 900px){
  .project-properties-grid{
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 520px){
  .project-properties-grid{
    grid-template-columns: 1fr;
  }
}

/* ============================
   PROPERTIES + CORP TABS
   ============================ */

.project-properties {
    margin-top: 48px;
}

.project-properties-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 64px;
    box-sizing: border-box;
}

.project-properties-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.project-properties-title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 28px;
}

/* Tabs */
.corp-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.corp-tab {
    appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;

    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

.corp-tab.is-active {
    border-color: #a6c9e2;
    box-shadow: 0 0 0 2px rgba(166, 201, 226, 0.35);
    font-weight: 500;
}

/* Grid */
.project-properties-grid {
    display: grid;
 grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;

    transition: opacity 120ms ease;
}

.project-properties-grid.is-switching {
    opacity: 0.25;
}

/* Cards */
.project-prop-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    width: 230px;
}

.project-prop-name {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.project-prop-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    opacity: 0.9;
}

.project-prop-price {
    margin-top: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* Hide filtered-out cards */
.project-prop-card.is-hidden {
    display: none;
}

.project-properties-empty {
    margin: 14px 0 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

