body {
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

header, section, footer {
    width: 100%;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

#hero {
    max-width: none;
    padding: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#hero .hero-content {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 8px;
}

#hero h1 {
    color: white;
    font-size: 64px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero .author {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

#hero .image-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

#hero .caption, .scrolly-container .caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0;
    font-size: 12px;
    z-index: 3;
    font-family: "Roboto", sans-serif;
}

.scrolly-container .caption {
    pointer-events: none; /* Ensure caption doesn't interfere with scroll */
}

/* Scrollytelling Styles */
.scrolly-container {
    position: relative;
    width: 100%;
    height: 300vh; /* Reduced height to feel more natural */
}

.sticky-bg-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.scrolly-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transition: opacity 0.5s ease;
}

.scrolly-steps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.scrolly-step {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    padding: 0 10%;
    transition: opacity 0.5s ease;
}

.scrolly-step h2 {
    color: white !important;
    font-size: 64px;
    border-bottom: none;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.scrolly-step blockquote {
    color: white !important;
    border-left: 5px solid #0868ac;
    font-size: 32px;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 50px;
    border-radius: 8px;
    font-style: italic;
}

.content-section {
    background: #ffffff;
    position: relative;
    z-index: 3;
    padding: 80px 20px;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.1);
}

img {
    display: block;
    width: 100%;
    height: auto;
    padding: 15px 0px;
}

p {
    font-size: 20px;
    line-height: 1.6;
    font-family: "Google Sans Text", sans-serif;
}

h1, h2, h3 {
    font-family: "Roboto", sans-serif;
    color: #111;
}

h1 {
    font-size: 36px;
    margin-bottom: 5px;
}

h2 {
    font-size: 28px;
    margin-top: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#divider {
    height: 3px;
    background-color: #0868ac;
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
}

.chart-container {
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Roboto", sans-serif;
}

.chart-container img {
    width: 100%;
    height: auto;
}

blockquote {
    font-family: "Crimson Text", serif;
    font-style: italic;
    font-size: 24px;
    border-left: 5px solid #0868ac;
    padding-left: 20px;
    margin: 30px 0;
    color: #555;
}

.caption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: -10px;
    font-family: "Roboto", sans-serif;
}

footer {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-top: 60px;
}

ul {
    font-family: "Crimson Text", serif;
    font-size: 18px;
    line-height: 1.6;
}

li {
    margin-bottom: 10px;
}
