.timeline-container {
    max-width: 1000px;
    margin: 2rem auto;
    position: relative;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    width: 90%;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: -15px;
    transform: translateX(-50%);
}

.timeline-date {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-text {
    line-height: 1.6;
    color: var(--text-dark);
}

.history-intro {
    text-align: center;
    padding: 2rem;
    background-color: #fefdfd;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.craft-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.craft-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #fefdfd;
    border-radius: 8px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.step-card {
    background: #fff;
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.step-number {
    background: var(--primary-gold);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step-title {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tools-materials {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tool-item {
    text-align: center;
    padding: 1rem;
    background: #fefdfd;
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
}

.video-section {
    text-align: center;
    margin-bottom: 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin-top: 30px;
}
.gallery-intro {
    text-align: center;
    padding: 2rem;
    background-color: #fefdfd;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.gallery-description {
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: 0 auto;
    position: relative;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-info {
    color: white;
    margin-top: 1rem;
    text-align: center;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: var(--primary-gold);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-red);
}