/* Mos Holding - About Us Specialized Styles (Golden Thread v6.0) */

:root {
    --parchment: #F6EDD8;
    --brand-gold: #C7A008;
    --brand-navy: #161522;
}

/* 📜 THE HISTORY SECTION */
#history {
    background-color: var(--parchment);
    position: relative;
    overflow: hidden;
}

/* 👻 GHOST BACKGROUND TEXT */
.ghost-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ghost-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 15rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(199, 160, 8, 0.08);
    position: absolute;
    white-space: nowrap;
}

/* 🏆 THE GOLDEN THREAD */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid var(--brand-gold);
    border-radius: 50%;
    position: relative;
    z-index: 50;
    transition: all 0.5s ease;
}

.timeline-dot.active {
    background: var(--brand-gold);
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(199, 160, 8, 0.6);
}

.timeline-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(199, 160, 8, 0.2);
    border-radius: 50%;
    animation: goldPulse 2s infinite;
    z-index: 40;
    opacity: 0;
}

.timeline-dot.active .timeline-pulse {
    opacity: 1;
}

@keyframes goldPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* 🗓️ YEAR WATERMARK */
.year-watermark {
    position: absolute;
    top: -2.5rem;
    left: -1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 11rem;
    color: rgba(199, 160, 8, 0.2);
    line-height: 1;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.md\:text-right .year-watermark {
    left: auto;
    right: -1rem;
}

/* 🖼️ HERITAGE IMAGES */
.heritage-img-mask {
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
    filter: sepia(0.3) contrast(1.1);
    transition: all 0.7s ease;
}

.heritage-card:hover .heritage-img-mask {
    filter: sepia(0) contrast(1);
    transform: scale(1.05);
}

/* 🔘 ITEM LIFT */
.timeline-item {
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-item:hover h3 {
    color: var(--brand-gold);
}

/* Typography fix */
.serif-font-bold {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}
