@charset "UTF-8";
/* CSS Document */
@import url('wght@400;600&display=swap');
@font-face {
    font-family: 'The Seasons';
    src: url('the-seasons.woff2') format('woff2'),
         url('the-seasons.woff2the-seasons.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F2F2EB;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F2F2EB;
    padding: 10px 20px;
}

.logo {
    width: 50px; /* Small logo size */
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.nav-divider {
    border: 1px solid #C7BAA5;
    margin-top: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    background-color: #F2F2EB;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 5em;
    margin-bottom: 20px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
	justify-content: center;
}

.join-btn {
    background-color:#9C897A;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
	justify-content: center;
}

/* Section 1 - About Us */
.about-us {
    display: flex;
    justify-content: space-between;
    background-color: #C7BAA5;
    padding: 20px;
}

.left-column {
    flex: 1;
    padding: 10px;
    color: black;
    text-align: center; /* Center the heading */
}

.left-column p {
    text-align: left; /* Ensure body text is left-aligned */
}

.right-column {
    flex: 1;
    padding: 10px;
}

.right-column img {
    max-width: 100%;
    height: auto;
}


/* Section 2 - Instructors */
.instructors {
    display: grid;
    gap: 20px; /* Space between columns */
    padding: 20px;
    position: relative; /* Allows positioning of the heading */
}

.instructors-heading {
    font-family: 'The Seasons', serif;
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px; /* Space between heading and instructor profiles */
    position: absolute; /* Position the heading at the top */
    top: 0; /* Align with the top of the section */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for exact centering */
}

.instructor-profile {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items in the column */
}

.instructor-profile img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px; /* Space between image and text */
}

.instructor-profile p {
    text-align: left; /* Ensure text is left-aligned */
}

.instructor-btn {
    background-color: #9C897A; /* Updated button color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.instructor-text {
    display: flex;
    align-items: center; /* Align text and image */
}

.instructor-text img {
    margin-right: 20px; /* Space between image and text */
    width: 200px;
    height: 300px;
}



/* Section 3 - Class Schedule */
.class-schedule {
    background-color: #C7BAA5;
    padding: 20px;
    display: flex;
    justify-content: center; /* Center the schedule */
    align-items: center; /* Vertically align the schedule */
    flex-direction: column; /* Stack the elements vertically */
}

table {
    width: auto; /* Adjust table width */
    margin: 0 auto; /* Center the table */
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #C7BAA5;
    color: white;
}


/* Section 4 - Events */
.events {
    display: flex;
    background-color: #F2F2EB;
    padding: 20px;
}

.left-column {
    flex: 1;
    padding: 10px;
}

.right-column {
    flex: 1;
    padding: 10px;
	text-align: left
}

.right-column h2 {
    margin-bottom: 20px;
}

.right-column p {
    margin-bottom: 20px;
}

.right-column .learn-more-btn {
    background-color:#9C897A;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

/* Section 5 - Contact Us */
.contact-us {
    background-color: #C7BAA5;
    padding: 20px;
}

.contact-heading, .contact-subheading {
    text-align: center; /* Center the headings */
}

.contact-info {
    display: flex;
    justify-content: space-between;
}

.contact-left, .contact-right {
    flex: 1;
    padding: 10px;
}

.contact-left img.social-icons {
    width:120px; /* Adjust social icons size */
    height: auto;
}

form {
    display: flex;
    flex-direction: column;
}

form label, form input, form textarea {
    margin-bottom: 10px;
}

form button {
    background-color:#9C897A;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}
/* Headings and Subheadings */
h1, h2, h3 {
    font-family: 'The Seasons', serif;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.instructor-btn, .join-btn, .learn-more-btn {
    background-color: #9C897A; /* Default button color */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
}

.instructor-btn:active, .join-btn:active, .learn-more-btn:active {
    background-color: #8b7466; 
}
/* General Styles for Mobile Devices */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F2F2EB;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    flex-direction: column;
    align-items: flex-start;
}

.nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.logo {
    width: 40px; /* Adjust logo size for mobile */
}

/* Hero Section */
.hero {
    padding: 20px;
}

.hero h1 {
    font-size: 3em;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.join-btn {
    display: block;
    margin: 20px auto;
}

/* Section 1 - About Us */
.about-us {
    flex-direction: column;
    align-items: center;
}

.left-column, .right-column {
    width: 100%;
    padding: 10px;
}

/* Section 2 - Instructors */
.instructors {
    grid-template-columns: 1fr; 
    text-align: center;
}

.instructor-text {
    flex-direction: column;
    text-align: left; 
}

.instructor-text img {
    margin: 0 auto 20px auto; 
    width: 100%;
    height: auto;
}

.instructor-btn {
    margin-top: 10px;
}

/* Section 3 - Class Schedule */
.class-schedule {
    padding: 10px;
}

table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
	align-content: center;
}

th, td {
    padding: 5px;
}

/* Section 4 - Events */
.events {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.left-column, .right-column {
    width: 100%;
    padding: 10px;
}

.right-column .learn-more-btn {
    margin-top: 10px;
}

/* Section 5 - Contact Us */
.contact-info {
    flex-direction: column;
}

.contact-left, .contact-right {
    width: 100%;
    padding: 10px;
}

.contact-left img {
    width: 60px; 
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: center;
    }

    .nav-links {
        flex-direction: row;
        gap: 20px;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 4em;
    }

    .about-us {
        flex-direction: row;
        justify-content: space-between;
    }

    .instructors {
        grid-template-columns: 1fr 1fr; 
    }

    .events {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .contact-info {
        flex-direction: row;
    }
}

@media only screen and (max-width: 768px) {
    .nav-links {
        margin-left: auto; 
    }

    .nav-links {
        display: flex;
        gap: 10px;
    }

    .nav-links li {
        display: block; 
    }

    .nav-links a {
        text-decoration: none;
        color: black;
        font-weight: bold;
    }
}


