/* journey24.css - Bootstrap 5 Compatible Styles */

/* =============================================
   BASE
   ============================================= */
.journey-page-container {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: #ffffff;
    font-family: 'Intro ', sans-serif;
}

/* Wide Container */
.journey-container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =============================================
   HERO BANNER CAROUSEL
   ============================================= */
.journey-banner-slider {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    max-height: 650px;
    background-color: #deb825;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

/* The image inside each carousel slide */
.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Bootstrap carousel inner must fill the parent */
.journey-banner-slider .carousel-inner,
.journey-banner-slider .carousel-item {
    height: 100%;
}

/* Custom bootstrap carousel buttons */
.slider-arrow-btn {
    width: 54px;
    z-index: 10;
    opacity: 1;
}

.journey-arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.2s ease;
    margin: auto;
}

.slider-arrow-btn:hover .journey-arrow-icon {
    background-color: rgba(0, 0, 0, 0.7);
}

/* =============================================
   BANNER LOGO OVERLAY BOX
   ============================================= */
.banner-logo-box {
    position: absolute;
    left: 8%;
    bottom: 12%;
    background-color: #0c0c0c;
    color: #ffffff;
    padding: 24px 30px;
    width: 320px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 5;
    font-family: 'Intro ', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 576px) {
    .banner-logo-box {
        width: 220px;
        padding: 16px 18px;
        left: 5%;
        bottom: 8%;
    }
}

.logo-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.logo-edition {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

.logo-top-line {
    flex-grow: 1;
    height: 1.5px;
    background-color: #ffffff;
}

.logo-middle-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-design-word {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.85;
    letter-spacing: 0.5px;
}

.logo-milestone-word {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.95;
    letter-spacing: 0.5px;
}

.logo-accent-block {
    width: 80px;
    height: 34px;
    background-color: #0c0c0c;
}

.logo-bottom-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.logo-bottom-line {
    flex-grow: 1;
    height: 1.5px;
    background-color: #ffffff;
}

.logo-location {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

/* =============================================
   EDITORIAL HEADINGS & YEAR TITLE
   ============================================= */
.milestone-heading {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 2px;
    line-height: 1.1;
    font-family: 'Intro ', sans-serif;
}

.year-2024-title {
    display: flex;
    align-items: center;
    font-family: 'Intro ', sans-serif;
    font-size: clamp(80px, 16vw, 220px);
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 30px;
    user-select: none;
}

.year-2024-title span {
    position: relative;
    display: inline-block;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.year-2024-title .y-2  { color: #fbb03b; }
.year-2024-title .y-0  { color: #e1523d; margin-left: -0.16em; }
.year-2024-title .y-2-alt { color: #8cc63f; margin-left: -0.14em; }
.year-2024-title .y-4  { color: #29abe2; margin-left: -0.12em; }

/* =============================================
   EDITORIAL PARAGRAPH TYPOGRAPHY
   ============================================= */
.journey-p {
    font-size: 18px;
    color: #333333;
    margin-top: 0;
    margin-bottom: 24px;
     font-family: 'Corbel', sans-serif;
    font-weight: 550;
    text-align: justify;
}

/* =============================================
   IMAGE CONTAINERS
   ============================================= */
.journey-img-placeholder {
    width: 100%;
    background-color: #f6f2ee;
    border-radius: 2px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.journey-img-placeholder:hover {
    transform: translateY(-2px);
}

/* Actual images fill their containers */
.journey-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.journey-img-placeholder:has(img) {
    background-color: transparent;
    border: none;
}

/* =============================================
   ASPECT RATIO MODIFIERS
   ============================================= */
.ratio-three-women   { aspect-ratio: 3 / 2; }
.ratio-panel-group   { aspect-ratio: 1.6 / 1; }
.ratio-woman-pink    { aspect-ratio: 3 / 4; }
.ratio-living-room   { aspect-ratio: 1.6 / 1; }
.ratio-craft-display { aspect-ratio: 2 / 3; }
.ratio-panel-man     { aspect-ratio: 1 / 1.3; }
.ratio-mini-houses   { aspect-ratio: 4 / 3; }
.ratio-wooden-shelves{ aspect-ratio: 4 / 3; }

/* =============================================
   FLOATED IMAGES (text wrapping)
   ============================================= */
.floated-right-image {
    float: right;
    width: 53%;
    margin-left: 24px;
    margin-bottom: 15px;
}

.floated-left-image {
    float: left;
    width: 53%;
    margin-right: 24px;
    margin-bottom: 15px;
    margin-top: 5px;
}

/* On small screens convert floats to full width */
@media (max-width: 575.98px) {
    .floated-right-image,
    .floated-left-image {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* =============================================
   SPLIT BLOCK (Bootstrap row replaces this on
   desktop, kept for any legacy usage)
   ============================================= */
.journey-split-block {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 24px;
    width: 100%;
}