/*   **********    SETUP OF DOCUMENT     **********     */

html {
    font-size: 16px;
    background-color: black;
}

body {
    
    overflow: hidden;

}

/*   **********    MAIN & SECTION ELEMENTS     **********     */
main {
    position: relative;
    width: 42.0rem;
    height: 37.5rem;
    overflow: hidden;
    background-color: #fafafa;
}

section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

/*   **********    SCREEN 1 ELEMENTS     **********     */
#screen1 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-image {
    position: absolute;
    /* keeps it slightly above the bottom */
    left: 10%;
    transform: translateX(-50%);
    width: 600px;
    /* keeps aspect ratio */
    /* increased from 500px to 700px */
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(253, 253, 253, 0.5));
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ensures the image covers the container */
    z-index: 0;
}

.screen-text {
    position: absolute;
    top: 20%;
    right: 10%;
    /* keeps the text 10% away from the right edge */
    width: auto;
    /* shrink to fit the text */
    text-align: right;
    /* align text to the right */
    color: #105b3d;
    z-index: 2;
    font-family: 'Oswald', sans-serif;
}

.screen-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin: 0;
}

.screen-text p {
    font-size: 2rem;
    line-height: 1;
    margin: 0px;
    color: #FFFFFF;
    background-color: #D58F29;
    padding: 1.3rem;
    margin-left: 11rem;

}

.logo {
    position: absolute;
    top: -0.3125rem;
    right: 1.25rem;
    width: 7.5rem;
    /* adjust size */
    height: auto;
    z-index: 10;
}

/*   **********    SCREEN 2 ELEMENTS     **********     */

/* ================= SCREEN 2 ================= */

#screen2 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: none;
    /* initially hidden, shown via GSAP */
}

/* Background Image */
#screen2 .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#screen2 .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Red overlay (if decorative) */
#screen2 .red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

/* Text Overlay */
#screen2 .screen-text {
    position: absolute;
    top: 20%;
    right: 30%;
    /* adjust horizontal position */
    text-align: left;
    color: #105b3d;
    z-index: 2;
    font-family: 'Oswald';
    font-size: 4.5rem;
}

#screen2 .screen-text h1 {
    font-size: 5rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #105b3d;
    /* white text for visibility */
}

#screen2 .screen-text p {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0;
    color: #FFFFFF;
    padding: .7rem;
}

/* Icon Image */
.icon {
    position: absolute;
    top: 7.5rem;
    /* adjusted */
    left: 31.25rem;
    /* adjusted */
    width: 6.25rem;
    /* adjusted */
}


/* ================= SCREEN 3 ================= */

#screen3 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: none;
    /* will be displayed via GSAP */
    overflow: hidden;
    background-color: #105b3d;
    /* dark green background for contrast */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Tutor image styling */
#screen3 .tutor {
    position: absolute;
    bottom: 20%;
    /* keep slightly above bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 25rem;
    /* adjust as needed */
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    /* subtle shadow */
}

/* Text container */
#screen3 .screen3-text {
    position: absolute;
    top: 5%;
    /* adjust vertical position */
    width: 80%;
    /* limit text width */
    text-align: center;
    color: #ffffff;
    /* white text */
    z-index: 3;
    font-family: 'Oswald', sans-serif;
   
}

/* H1 Heading */
#screen3 .screen3-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #ffffff;
    text-transform: uppercase;
   
}
#screen3 .screen3-text p{
    background-color: #D58F29;
    display: inline-block;
    padding: 0.5rem 1rem;
}
/* Optional: Add glow effect on hover or via GSAP */
#screen3 .screen3-text h1.glow {
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

/* ================= SCREEN 4 - CTA ================= */

#screen4 {
    position: relative;
    width: 100%;
    display: none;
    /* will show via GSAP */
    overflow: hidden;
   background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Background container (optional animation) */
#screen4 .background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

/* CTA text container */
#screen4 .cta-container {
    position: relative;
    z-index: 2;
    text-align: center;

    font-family: 'Oswald', sans-serif;
    max-width: 80%;
}

/* H1 Heading */
#screen4 .cta-container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #105b3d;
}

/* Paragraph text */
#screen4 .cta-container p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #d58f29;
    /* golden accent */

}

/* CTA Button */

#screen4 .cta-button {
    
    letter-spacing: 1px;

    border: none;
    /* removes border */
    outline: none;
    /* removes blue outline */
    box-shadow: none;
    color: #d58f29;
}

#screen4 .cta-logo {
    position: absolute;
    top: -12rem;
    right: -2rem;
    width: 7rem;
    z-index: 5;
}