/* General Styles */
body {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2em 0;
    text-align: center;
    border-bottom: 5px solid #e74c3c;
}

header h1 {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 2.8em;
    font-weight: 300;
}

main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

section {
    padding: 2.5em 1.5em;
    margin-bottom: 2em;
    border-bottom: 1px solid #eee;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-family: 'Helvetica Neue', sans-serif;
    color: #e74c3c;
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 0.8em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3em;
}

section h3 {
    font-family: 'Helvetica Neue', sans-serif;
    color: #3498db;
    font-size: 1.8em;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

p {
    margin-bottom: 1.2em;
    text-align: justify;
}

strong {
    color: #2c3e50;
}

/* Image Block Styles */
.image-block {
    padding: 0; /* Remove padding for full-width effect if desired */
    margin-bottom: 2em;
    position: relative;
    text-align: center; /* Center image if not full width */
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.image-block .image-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(44, 62, 80, 0.8);
    color: #ecf0f1;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Helvetica Neue', sans-serif;
}

.image-block .image-text h2, .image-block .image-text h3 {
    margin: 0;
    font-size: 1.8em;
    color: #fff; /* Ensure text is white */
    border-bottom: none;
}

#gallery-tease img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 1em auto; /* Center the image */
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Timeline Styles */
#timeline ul {
    list-style-type: none;
    padding-left: 0;
    position: relative;
}

#timeline ul::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #3498db;
    border-radius: 2px;
}

#timeline li {
    margin-bottom: 1.5em;
    padding-left: 30px;
    position: relative;
}

#timeline li::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 5px;
    height: 20px;
    width: 20px;
    background-color: #e74c3c;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#timeline li strong {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.3em;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2em 0;
    background-color: #34495e;
    color: #bdc3c7;
    font-size: 0.9em;
    margin-top: 2em;
}

footer p {
    margin: 0.5em 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }

    section h2 {
        font-size: 1.8em;
    }

    section h3 {
        font-size: 1.5em;
    }

    .image-block .image-text h2, .image-block .image-text h3 {
        font-size: 1.4em;
    }

    #gallery-tease img {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    section h2 {
        font-size: 1.5em;
    }

    section h3 {
        font-size: 1.3em;
    }

    .image-block .image-text {
        padding: 8px 15px;
    }

    .image-block .image-text h2, .image-block .image-text h3 {
        font-size: 1.2em;
    }

    #timeline ul::before {
        left: 5px;
    }

    #timeline li {
        padding-left: 25px;
    }

    #timeline li::before {
        height: 15px;
        width: 15px;
        left: -2px;
    }
}

