/* =============================================
   BUSINESS DETAIL PAGES — Shared Layout
   Used by: caps, warehouse, energy, lottery, about
   ============================================= */

/* ===== SECTION ===== */
.biz-detail-section {
    padding: 80px 20px;
    background: #fff;
}

.biz-detail-section.biz-alt-bg {
    background: linear-gradient(135deg, #faf6f1 0%, #f5ede3 50%, #f9f4ee 100%);
}

.biz-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== INTRO (Two Column) ===== */
.biz-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.biz-pill {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 18px;
    font-weight: 600;
}

.biz-intro-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.biz-intro-content h2 span {
    color: var(--gold);
}

.biz-intro-content p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
    text-align: justify;
}

.biz-intro-content .biz-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: var(--charcoal);
    font-style: italic;
    margin-bottom: 10px;
}

.biz-intro-content .biz-tagline {
    font-size: 20px;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 16px;
}

/* VISUAL CARD */
.biz-visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.biz-visual-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.biz-visual-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.biz-visual-card:hover img {
    transform: scale(1.03);
}

.biz-icon-row {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.biz-est {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===== CONTENT BLOCKS ===== */
.biz-content-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.biz-block {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(135deg, #faf6f1, #fff);
    border-radius: 20px;
    border: 1px solid rgba(212, 148, 58, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.biz-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--maroon));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.biz-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(139, 26, 74, 0.08);
    border-color: rgba(212, 148, 58, 0.2);
}

.biz-block:hover::after {
    transform: scaleX(1);
}

.biz-block-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-tint), rgba(212, 148, 58, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.biz-block:hover .biz-block-icon {
    background: linear-gradient(135deg, var(--gold), var(--maroon));
}

.biz-block-icon i {
    font-size: 24px;
    color: var(--maroon);
    transition: color 0.3s ease;
}

.biz-block:hover .biz-block-icon i {
    color: #fff;
}

.biz-block-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.biz-block-text p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #555;
}

/* ===== WAREHOUSE STATS BAND ===== */
.wh-stats-band {
    background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a2e 100%);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    margin-top: 20px;
}

.wh-stats-band h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wh-stats-band > p {
    color: #aaa;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.wh-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.wh-stat-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 148, 58, 0.2);
    border-radius: 20px;
    padding: 30px 40px;
    min-width: 200px;
    transition: all 0.4s ease;
}

.wh-stat-box:hover {
    border-color: var(--gold);
    background: rgba(212, 148, 58, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 148, 58, 0.15);
}

.wh-stat-box strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 6px;
}

.wh-stat-box span {
    font-size: 13px;
    color: #bbb;
    letter-spacing: 0.5px;
}

.wh-stats-note {
    color: #888 !important;
    font-size: 14px !important;
    max-width: 650px;
    margin: 0 auto !important;
}

/* ===== ABOUT TIMELINE ===== */
.about-timeline {
    position: relative;
    padding: 40px 0 60px;
    margin-bottom: 60px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--maroon), transparent);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: timelineFadeIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes timelineFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.timeline-marker {
    flex-shrink: 0;
    width: 140px;
    text-align: center;
    position: relative;
}

.timeline-year {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--maroon);
    background: linear-gradient(135deg, var(--gold-tint), #fff);
    padding: 8px 20px;
    border-radius: 12px;
    border: 2px solid rgba(212, 148, 58, 0.2);
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(212, 148, 58, 0.2);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(135deg, #faf6f1, #fff);
    padding: 30px 36px;
    border-radius: 20px;
    border: 1px solid rgba(212, 148, 58, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(212, 148, 58, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    text-align: justify;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

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

/* TABLET */
@media (max-width: 992px) {
    .biz-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .biz-intro-content h2 {
        font-size: 34px;
    }

    .biz-content-blocks {
        grid-template-columns: 1fr;
    }

    .about-timeline::before {
        left: 30px;
    }

    .timeline-marker {
        width: 60px;
    }

    .timeline-year {
        font-size: 20px;
        padding: 6px 12px;
    }

    .timeline-dot {
        right: -9px;
    }

    .timeline-item {
        gap: 24px;
    }

    .wh-stats-row {
        gap: 20px;
    }
}

/* PHONE */
@media (max-width: 768px) {
    .biz-detail-section {
        padding: 50px 16px;
    }

    .biz-intro-content h2 {
        font-size: 28px;
    }

    .biz-intro-content p {
        font-size: 14.5px;
    }

    .biz-block {
        flex-direction: column;
        gap: 14px;
        padding: 24px;
    }

    .wh-stats-band {
        padding: 36px 20px;
    }

    .wh-stats-band h3 {
        font-size: 24px;
    }

    .wh-stat-box {
        min-width: auto;
        flex: 1 1 140px;
        padding: 20px;
    }

    .wh-stat-box strong {
        font-size: 28px;
    }

    .about-timeline::before {
        left: 16px;
    }

    .timeline-marker {
        width: 36px;
    }

    .timeline-year {
        font-size: 16px;
        padding: 4px 8px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-item {
        gap: 16px;
    }
}

/* SMALL PHONE */
@media (max-width: 480px) {
    .biz-intro-content h2 {
        font-size: 24px;
    }

    .wh-stat-box strong {
        font-size: 24px;
    }

    .about-timeline::before {
        display: none;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-marker {
        width: auto;
    }
}
