/* History Page Styles */

.history-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 150px 2rem 80px;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.history-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
}

.history-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.history-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Introduction Section */
.history-intro {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-text-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.history-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.history-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.photo-placeholder {
    background-color: #E2E8F0;
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #94A3B8;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.photo-placeholder:hover {
    transform: translateY(-5px);
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.photo-large {
    grid-column: span 2;
    aspect-ratio: 2/1.2;
}

.photo-real {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.photo-real:hover {
    transform: translateY(-5px);
}

.photo-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Timeline Section */
.history-timeline-section {
    background-color: var(--color-accent-light);
    padding: 6rem 2rem;
    text-align: center;
}

.history-timeline-section h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 4rem;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: var(--color-primary);
    z-index: 0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-year {
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.8rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 4px solid var(--color-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--color-primary);
    color: var(--color-white);
}

.timeline-content {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    width: 100%;
    height: 100%;
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .history-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .history-title { font-size: 3.5rem; }
    .timeline { grid-template-columns: 1fr; gap: 3rem; }
    .history-hero { padding: 120px 1.5rem 60px; }
}
