/* General Styles */
:root {
    --bg-color: #121212; /* Charcoal Gray */
    --text-color: #E0E0E0;
    --primary-color: #00AEEF; /* Electric Blue */
    --hero-img-opacity: 0.3;
}

[data-theme="light"] {
    --bg-color: #F5F5F5; /* Soft White */
    --text-color: #212121;
    --primary-color: #007ACC; /* Slightly darker Blue for light mode */
    --hero-img-opacity: 0.1;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main#main-content {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

.scroll-section {
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
    box-sizing: border-box;
}

.content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    opacity: 0; /* Initially hidden */
    transform: translateY(20px); /* Initial position for animation */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animate content when section is active */
.scroll-section.active .content {
    opacity: 1;
    transform: translateY(0);
}

h1, h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Theme Toggle Button Styles */
#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background-color 0.3s;
}

#theme-toggle:hover {
    transform: scale(1.05);
}

#theme-toggle:active {
    transform: scale(0.95);
}

/* Hero Section Specifics */
#hero {
    flex-direction: column;
}

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

#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--hero-img-opacity);
}

#hero h1 {
    font-size: 6rem;
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
    h1, h2 {
        font-size: 3rem;
    }
    #hero h1 {
        font-size: 4rem;
    }
    p {
        font-size: 1rem;
    }
}
