:root {
    --primary: #c9a227;
    --primary-dark: #a68520;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #e94560;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --bg-dark: #0f0f1a;
    --bg-card: #1e1e30;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    padding-bottom: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Timeline Hero */
.timeline-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('image/backgroun.jpg') center/cover no-repeat;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 15, 26, 0.7) 0%, 
        rgba(15, 15, 26, 0.5) 50%,
        rgba(15, 15, 26, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.timeline-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.tagline {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary) 100%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 50px;
}

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

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 0 3px var(--primary);
    z-index: 2;
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--primary), transparent);
    margin-top: 5px;
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    max-width: 450px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: var(--transition);
    overflow: hidden;
}

.timeline-image {
    height: 200px;
    width: calc(100% + 70px);
    margin: -35px -35px 20px -35px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.1);
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 10px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.era-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 25px;
    margin-bottom: 15px;
}

.timeline-date {
    display: block;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.key-aspect {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.key-aspect i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.key-aspect span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.key-aspect strong {
    color: var(--primary);
}

/* CTA Section */
.timeline-cta {
    background: var(--secondary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-logo p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        gap: 20px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .timeline-hero h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-content h3 {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
