/* === ABOUT HISTORY SECTION STYLES === */
/* Debug: About History styles loaded */

.about-history {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* === HISTORY BACKGROUND === */
.about-history-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-history-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.about-history-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-history-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

/* === SECTION LABELS === */
.section-label {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -0.3rem;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HISTORY TEXT === */
.history-text {
    max-width: 100%;
}

.history-story {
    margin-top: 2rem;
}

.story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid transparent;
}

.story-paragraph:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--accent-cyan);
    transform: translateX(10px);
}

.story-paragraph.highlighted {
    background: rgba(0, 212, 255, 0.05);
    border-left-color: var(--accent-cyan);
    color: var(--text-primary);
}

.story-paragraph strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.story-paragraph em {
    color: var(--accent-cyan);
    font-style: italic;
}

/* === HISTORY VISUAL === */
.history-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    background: var(--glass-effect);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    max-width: 350px;
    width: 100%;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-card:hover::before {
    opacity: 1;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-cyan);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-image {
    position: relative;
    z-index: 2;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.visual-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.card-year {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* === RESPONSIVE HISTORY === */
@media (max-width: 1024px) {
    .about-history-container {
        padding: 0 1.5rem;
    }
    
    .about-history-content {
        grid-template-columns: 1fr 350px;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-history {
        padding: 4rem 0;
    }
    
    .about-history-container {
        padding: 0 1rem;
    }
    
    .about-history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .history-visual {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-paragraph {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .story-paragraph:hover {
        transform: translateX(0);
    }
    
    .visual-card {
        max-width: 300px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .section-label::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .about-history {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .story-paragraph {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .visual-card {
        max-width: 280px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .about-history-container {
        padding: 0 0.5rem;
    }
    
    .visual-card {
        max-width: 260px;
    }
    
    .card-content {
        padding: 1rem;
    }
}