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

body {
    font-family: Arial, sans-serif;
    color: #1c1c1c;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    position: relative;
    height: 500px;
    background: url('pictures/header\ bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
}

header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    margin-right: 50px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e3b21e;
}

.logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

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

.hero-text .subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: bold;
    color: #e3b21e;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: #3a3939 2px 2px 4px;
}

/* TIMELINE SECTION */
.timeline-section {
    background: #f5efe0;
    padding: 100px 80px;
}

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

.timeline-section .section-header .eyebrow {
    display: block;
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
    color: #e3b21e;
    margin-bottom: 12px;
}

.timeline-section .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #313030;
    font-weight: bold;
}

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

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

.timeline-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.tl-text,
.tl-image {
    width: calc(50% - 40px);
    flex-shrink: 0;
}

/* text LEFT, image RIGHT */
.timeline-row.text-left .tl-text  { order: 1; text-align: right; padding-right: 40px; }
.timeline-row.text-left .tl-dot   { order: 2; }
.timeline-row.text-left .tl-image { order: 3; padding-left: 40px; }

/* image LEFT, text RIGHT */
.timeline-row.image-left .tl-image { order: 1; padding-right: 40px; }
.timeline-row.image-left .tl-dot   { order: 2; }
.timeline-row.image-left .tl-text  { order: 3; padding-left: 40px; text-align: left; }


.tl-dot {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.dot-circle {
    width: 22px;
    height: 22px;
    background: #e3b21e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #f5efe0, 0 0 0 7px #e3b21e;
    flex-shrink: 0;
}

.tl-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(39, 19, 6, 0.15);
    display: block;
    transition: transform 0.4s ease;
}

.tl-image img:hover {
    transform: scale(1.02);
}

.tl-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

footer {
    background-color: #6B7A52;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}


@media (max-width: 860px) {
    .timeline-section { padding: 60px 28px; }
    .timeline::before { left: 16px; }

    .timeline-row,
    .timeline-row.text-left,
    .timeline-row.image-left {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 44px;
    }

    .tl-text,
    .tl-image { width: 100%; padding: 0 !important; text-align: left !important; }

    .tl-dot { width: auto; position: absolute; left: 5px; top: 0; }

    .timeline-row.text-left .tl-text  { order: 2; margin-top: 20px; }
    .timeline-row.text-left .tl-dot   { order: 1; }
    .timeline-row.text-left .tl-image { order: 3; margin-top: 16px; }

    .timeline-row.image-left .tl-image { order: 3; margin-top: 16px; }
    .timeline-row.image-left .tl-dot   { order: 1; }
    .timeline-row.image-left .tl-text  { order: 2; margin-top: 20px; }

    nav { padding: 0 20px; }
    .nav-links { gap: 18px; margin-right: 0; }
    .hero-text h1 { font-size: 48px; }
}
