/* ------- HEADER -------- */
.header {
    min-height: 50vh;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
    background-image: linear-gradient(rgba(4, 9, 30, 0.3), rgba(4, 9, 30, 0.3)), url(../Pictures/MaxGolfCourse.jpg);
    background-size: cover;
    background-position: center;
}

.text-box {
    color: #FAF3E0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 20px;
    color: #FAF3E0;
}

/* ------- ABOUT SECTION -------- */
.aboutSection {
    background: #FAF3E0;
    padding: 60px 15px;
    text-align: center;
}

.about-quote {
    font-size: 24px;
    font-style: italic;
    color: #5C4B51;
    margin-bottom: 30px;
}

.aboutInfo {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.aboutPic-wrapper {
    flex: 1;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.aboutPic {
    width: 100%;
    height: 550px;
    display: block;
    border-radius: 10px;
}

.about-text-container {
    flex: 2;
    text-align: left;
}

.about-text-container h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #5C4B51;
}

.about-text {
    font-size: 20px;
    line-height: 1.6;
    color: #5C4B51;
}

/* ------- INSTRUCTOR SECTION -------- */
.instructorSection {
    /* background: linear-gradient(to bottom, #FAF3E0, #3f522b54); */
    padding: 80px 15px;
    text-align: center;
}

.instructorSection h1 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #5C4B51;
}

.instructor-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 90%;
    margin: auto;
}

.instructor-img {
    flex: 1;
    max-width: 400px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;

}

.instructor-img img {
    object-fit: cover;
    /* Ensures the image covers the entire area */
    /* while maintaining its aspect ratio */
    /* Make into circle */
    width: 100%;
    height: 100%;
    display: block;
    /* border-radius: 10px; */
}

.instructor-bio {
    flex: 2;
    text-align: left;
}

.instructor-bio h2 {
    font-size: 36px;
    margin-bottom: 10px;
    /* color: #3f522b; */
}

.instructor-bio h4 {
    font-size: 20px;
    color: #5C4B51;
    margin-bottom: 15px;
}
.instructor-header {
    font-size: 24px;
    font-style: italic;
    color: #5C4B51;
    margin-bottom: 30px;
}
.instructor-text {
    margin: 40px auto;
    font-size: 20px;
    line-height: 1.6;
    color: #5C4B51;
}
/* .instructor-bio p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
} */

.instructor-quote {
    font-size: 22px;
    font-style: italic;
    color: #5C4B51;
    border-left: 4px solid #5C4B51;
    padding-left: 15px;
    margin-top: 20px;
}

@media(max-width: 700px){
    .text-box {
        width: 90%;
    }

    .text-box h1 {
        font-size: 36px;
    }

    .text-box p {
        font-size: 20px;
        margin-top: 0;
    }

    /* About Section */
    .aboutSection {
        padding: 30px;
    }

    .aboutInfo {
        width: 80%;
        flex-direction: column;
    }

    .aboutPic-wrapper{
        border-radius: 50%;
    }

    .aboutPic {
        height: 250px;
        border-radius: 50%;
    }


   /* Mobile Friendly Instructor Section */
   .instructor-profile {
       flex-direction: column-reverse;
       width: 80%;
   }

   .instructor-img {
       max-width: 300px;
       border-radius: 50%;
       height: 150px;
   }

}