/* ===================================================
   DYORE EXPERIENCES - ABOUT US PAGE STYLESHEET
   Dedicated scoped styles for about-us.html
   =================================================== */

/* ==========================================
   ABOUT US HERO BANNER
   ========================================== */
.about-hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../images/about-us/about-us-banner.png') no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Subtle atmospheric overlay for crystal clear contrast */
.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.06) 35%,
            rgba(0, 0, 0, 0.08) 70%,
            rgba(0, 0, 0, 0.22) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-hero-banner .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    max-width: 1050px;
    margin-bottom: 0;
}

.about-hero-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    margin: 0;
}

/* Book Now CTA Button on Hero */
.btn-book-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 44px;
    background-color: #ffffff;
    color: #151312;
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #ffffff;
    border-radius: 0;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-book-hero:hover {
    background-color: #151312;
    color: #ffffff;
    border-color: #151312;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

/* ==========================================
   MAIN CONTENT WRAPPER
   ========================================== */
.about-main-content {
    position: relative;
    width: 100%;
    background-color: var(--color-white, #ffffff);
    overflow: hidden;
}

/* ==========================================
   ABOUT STORY & EXPERIENCES SECTION
   ========================================== */
.about-story-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0 0px;
    box-sizing: border-box;
    overflow: visible;
}

.about-story-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
}

/* 2-Column Story Grid */
.about-story-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 75px;
    align-items: start;
    width: 100%;
    position: relative;
}

/* Left Featured Image Column */
.about-story-img-col {
    position: relative;
    width: 100%;
    line-height: 0;
}

.about-story-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Right Content Column */
.about-story-content-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 90px;
    max-width: 660px;
}

.about-story-emblem {
    width: 28px;
    height: auto;
    display: block;
    margin-bottom: 22px;
}

.about-story-tag {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #151312;
    margin-bottom: 22px;
}

.about-story-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #151312;
    margin: 0 0 30px 0;
}

.about-story-desc {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 300;
    line-height: 27px;
    color: #555555;
    margin: 0;
    max-width: 640px;
}

/* ==========================================
   OVERLAPPING FLOATING STATS CARD (ABSOLUTE)
   ========================================== */
.about-stats-card {
    position: absolute !important;
    bottom: 40px;
    left: 350px;
    right: 40px;
    max-width: 860px;
    z-index: 10;
    background: #ffffff;
    border: 1px solid #ededed;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 38px 48px;
    box-sizing: border-box;
}

.about-stats-card .stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.about-stats-card .stat-number-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.about-stats-card .stat-number-box {
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
}

.about-stats-card .digit-col {
    display: block;
    height: 48px;
    min-width: 26px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-stats-card .digit-list {
    display: flex;
    flex-direction: column;
    height: auto;
    flex-shrink: 0;
    transform: translateY(0);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.about-stats-card .digit-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    line-height: 1;
    font-size: 44px;
    font-weight: 400;
    color: #151312;
    text-align: center;
    flex-shrink: 0;
    flex-grow: 0;
}

.about-stats-card .stat-plus {
    font-size: 34px;
    font-weight: 300;
    line-height: 48px;
    color: #888888;
    margin-left: 2px;
    flex-shrink: 0;
}

.about-stats-card .stat-desc {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 20px;
    color: #555555;
    margin: 0;
    max-width: 210px;
}

.about-stats-card .stat-divider {
    width: 1px;
    height: 52px;
    background-color: #e5e5e5;
    flex-shrink: 0;
    margin: 0 35px;
}

/* Rolling Digit Trigger on Observer */
.about-stats-card.animated .stat-item:nth-child(1) .digit-col:nth-child(1) .digit-list {
    transform: translateY(-48px);
}

.about-stats-card.animated .stat-item:nth-child(1) .digit-col:nth-child(2) .digit-list {
    transform: translateY(-480px);
}

.about-stats-card.animated .stat-item:nth-child(3) .digit-col:nth-child(1) .digit-list {
    transform: translateY(-96px);
}

.about-stats-card.animated .stat-item:nth-child(3) .digit-col:nth-child(2) .digit-list {
    transform: translateY(-240px);
}

.about-stats-card.animated .stat-item:nth-child(5) .digit-col:nth-child(1) .digit-list {
    transform: translateY(-48px);
}

.about-stats-card.animated .stat-item:nth-child(5) .digit-col:nth-child(2) .digit-list {
    transform: translateY(-240px);
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.about-why-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 100px 0 50px;
    box-sizing: border-box;
}

.about-why-container {
    width: 100%;
    max-width: var(--site-max-width, 1440px);
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Section Header Stack */
.about-why-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px auto;
}

.about-why-emblem {
    width: 28px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.about-why-tag {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #151312;
    margin-bottom: 20px;
}

.about-why-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #151312;
    margin: 0 0 24px 0;
}

.about-why-desc {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 14px;
    font-weight: 300;
    line-height: 26px;
    color: #555555;
    margin: 0;
}

.about-why-desc .inline-link {
    color: #151312;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.about-why-desc .inline-link:hover {
    color: #900028;
}

/* 4-Card Feature Grid */
.about-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Why Card Component */
.why-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease;
    box-sizing: border-box;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.why-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: #f5f5f5;
}

.why-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-card:hover .why-card-img {
    transform: scale(1.05);
}

.why-card-body {
    padding: 34px 24px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    box-sizing: border-box;
}

.why-card-title {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #151312;
    margin: 0 0 18px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card-text {
    font-family: var(--font-primary, 'Montserrat', sans-serif);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 22px;
    color: #666666;
    margin: 0;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (CONSOLIDATED)
   ========================================== */
@media (max-width: 1200px) {
    .about-story-grid {
        grid-template-columns: 420px 1fr;
        gap: 50px;
        padding-bottom: 60px;
    }

    .about-story-content-col {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .about-stats-card {
        left: 280px;
        right: 40px;
        max-width: 780px;
        padding: 32px 36px;
    }

    .about-stats-card .stat-divider {
        margin: 0 20px;
    }

    .about-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .why-card-title {
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .about-hero-title {
        font-size: 42px;
    }

    .btn-book-hero {
        padding: 12px 36px;
        font-size: 13px;
    }

    .about-story-section {
        padding: 70px 0 90px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 0;
    }

    .about-story-img-col {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-story-content-col {
        padding-top: 0;
        padding-bottom: 0;
        max-width: 100%;
    }

    .about-story-title {
        font-size: 34px;
    }

    .page-template-about-us .about-stats-card {
        position: static !important;
        margin-top: 40px;
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        padding: 30px;
    }

    .about-why-section {
        padding: 80px 0 100px;
    }

    .about-why-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    .about-story-section,
    .about-why-section {
        padding: 45px 0 !important;
    }

    .about-story-header,
    .about-why-header {
        margin-bottom: 24px !important;
    }

    .about-hero-banner {
        min-height: 75vh;
    }

    .about-hero-title {
        font-size: 34px;
    }

    .btn-book-hero {
        padding: 12px 30px;
        font-size: 12px;
    }

    .about-story-title {
        font-size: 26px;
    }

    .about-stats-card {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding: 24px;
    }

    .about-stats-card .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .about-stats-card .stat-item {
        width: 100%;
        align-items: center;
        justify-content: center;
        max-width: unset;
    }

    .about-stats-card .stat-desc {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .about-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-why-title {
        font-size: 26px;
    }

    .why-card-body {
        padding: 24px 20px 28px;
    }
}

@media (max-width: 480px) {
    .about-hero-banner {
        min-height: 75vh;
    }

    .about-hero-title {
        font-size: 28px;
    }

    .about-hero-banner .hero-content {
        gap: 20px;
    }
}