/* --- 1. Basic Setup --- */
:root {
    --main-bg-color: #121212; 
    --accent-color: #3498db; /* Blue color for links */
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: var(--main-bg-color);
    overflow-x: hidden;
}

/* --- 2. The Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('photo.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; 
    z-index: 2;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0), var(--main-bg-color));
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.hero h1 { font-size: 4rem; margin-bottom: 1rem; }

/* --- 3. Content Layout --- */
.content-container {
    background-color: var(--main-bg-color);
    padding: 20vh 10rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 100px; /* Space for scrolling between blocks */
}

.text-block {
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

/* --- 4. Alternating Layout --- */
.text-block:nth-child(odd) {
    align-self: flex-start;
    text-align: left;
    border-left: 3px solid #fff;
}

.text-block:nth-child(even) {
    align-self: flex-end;
    text-align: right;
    border-right: 3px solid #fff;
}

/* --- 5. LINK STYLING --- */
.text-block a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.text-block a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.text-block button {
    color: #aaa
}

/* --- 6. Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


/* --- 7. Footer --- */
footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff22;
    border-top: 1px solid #ffffff22;
}

footer a {
    color: #ffffff22;
}

footer a:hover {
    color: #ffffff44;
}


/* --- 8. ANIMATED SCROLL ARROW --- */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.scroll-arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: arrow-bounce 2s infinite;
}

/* Delay the second and third arrows for a "wave" effect */
.scroll-arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes arrow-bounce {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}


/* --- 9. Mobile --- */
@media (max-width: 1000px) {
    .content-container { padding: 20vh 2rem }
    .hero h1 { font-size: 2.5rem; }
    .text-block {
        max-width: 100%;
        align-self: center;
        text-align: left;
        border-left: 3px solid #fff;
        border-right: none;
    }
}
