/* General Styles */
body {
    margin: 0;
    font-family: 'Fira Sans', sans-serif;
    color: #303030; /* Dark text for content sections */
    background-color: #ffffff; /* White background for content sections */
}

a {
    text-decoration: none;
    color: #53745f; /* Green color for links */
}

ul {
    list-style: none;
    padding: 0;
}

/* Container */
.container {
    width: 90%;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: rgba(83, 116, 95, 0.9); /* Green tint with transparency */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    color: #ffffff; /* White text for logo */
}

nav {
    float: right;
}

nav ul {
    display: flex;
    margin: 0;
    padding-bottom: 9px;
    padding-top: 9px;
}

nav li {
    margin-left: 20px;
}

nav a {
    font-weight: 500;
    color: #ffffff; /* White text for nav links */
    padding: 10px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #808080; /* Grey background on hover */
    color: #ffffff;
    border-radius: 5px;
}

/* Hero Section Styles */
.hero {
    height: 100vh;
    background-image: url('america.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 70px; /* Offset for fixed header */
}

/* Remove the overlay to eliminate the green tint */
.hero .overlay {
    display: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff; /* White text over image */
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Text shadow for readability */
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.explore-button {
    background-color: #53745f; /* Green background */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.explore-button:hover {
    background-color: #143d17; /* Darker green on hover */
}

/* Welcome Section Styles */
.welcome-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.welcome-section h2 {
    font-size: 36px;
    color: #53745f;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #303030;
    margin-bottom: 20px;
}

/* Instructors Section */
.instructors {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.instructor {
    width: 48%;
    margin-bottom: 20px;
}

.instructor img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.instructor h3 {
    font-size: 24px;
    color: #53745f;
    margin-top: 15px;
}

.instructor p {
    font-size: 16px;
    color: #303030;
}

/* Classes Offered Styles */
.classes ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 40px;
    list-style: none;
    padding: 0;
}

.classes li {
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.classes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #53745f;
    font-size: 24px;
}

/* Pricing Section Styles */
.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.price-card {
    background-color: #f9f9f9;
    width: 48%;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
}

.price-card h3 {
    font-size: 24px;
    color: #53745f;
    margin-bottom: 10px;
}

.price-card p {
    font-size: 18px;
    color: #303030;
    margin-bottom: 10px;
}

.price-card span {
    font-size: 14px;
    color: #777;
}

/* Call to Action Styles */
.cta {
    text-align: center;
    margin: 40px 0;
}

.cta-button {
    background-color: #53745f;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #143d17;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .instructors {
        flex-direction: column;
    }

    .instructor {
        width: 100%;
    }

    .pricing {
        flex-direction: column;
    }

    .price-card {
        width: 100%;
    }

    .classes ul {
        columns: 1;
    }
}

/* Footer Styles */
footer {
    background-color: #53745f; /* Green background */
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: rgba(24, 88, 30, 0.9);
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        display: none;
    }

    nav ul.active {
        display: block;
    }

    nav li {
        margin: 15px 0;
        text-align: right;
        margin-right: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff; /* White bars */
    margin: 5px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* Center the iframe */
.iframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* Responsive iframe */
.iframe-container iframe {
    max-width: 100%;
    border: none;
}

/* Schedule Section Styles */
.schedule-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.schedule-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #53745f;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.schedule-table th {
    background-color: #53745f;
    color: #ffffff;
}

.schedule-table td {
    background-color: #f9f9f9;
    color: #303030;
}

.schedule-table tr:nth-child(even) td {
    background-color: #f1f1f1;
}

.schedule-table td[colspan] {
    background-color: #e0e0e0; /* Light grey background */
    color: #000000; /* Black text */
    font-weight: bold;
    text-align: center;
}

.schedule-table .private-lessons td {
    background-color: #e0e0e0;
    color: #000000;
    font-weight: bold;
    text-align: center;
}

/* Hover Effect on Table Rows */
.schedule-table tbody tr:hover td {
    background-color: #e8f5e9; /* Light green background on hover */
}

.schedule-table td {
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

/* Responsive Table */
@media screen and (max-width: 768px) {
    .schedule-table {
        border: 0;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tr {
        display: block;
        margin-bottom: 20px;
    }

    .schedule-table td {
        display: block;
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    .schedule-table td::before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #53745f;
    }

    /* Define labels for each cell */
    .schedule-table td:nth-of-type(1)::before {
        content: "Time";
    }

    .schedule-table td:nth-of-type(2)::before {
        content: "Monday";
    }

    .schedule-table td:nth-of-type(3)::before {
        content: "Tuesday";
    }

    .schedule-table td:nth-of-type(4)::before {
        content: "Wednesday";
    }

    .schedule-table td:nth-of-type(5)::before {
        content: "Thursday";
    }

    .schedule-table td:nth-of-type(6)::before {
        content: "Friday";
    }

    .schedule-table td:nth-of-type(7)::before {
        content: "Saturday";
    }

    .schedule-table td:nth-of-type(8)::before {
        content: "Sunday";
    }

    /* Adjustments for colspan cells */
    .schedule-table td[colspan] {
        padding-left: 10px;
    }

    .schedule-table td[colspan]::before {
        display: none;
    }

    .schedule-table .private-lessons td {
        text-align: left;
    }

    /* Hover effect on mobile */
    .schedule-table tbody tr:hover td {
        background-color: #e8f5e9;
    }
}
