/* General Body & Typography */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Default overall background */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
}

ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1em;
}

ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.5em;
}

ul li::before {
    content: "•"; /* Bullet point */
    color: #007bff; /* Color of the bullet */
    position: absolute;
    left: 0;
}

/* Container for Centering Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: #f0f4f8;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1em;
    color: #555;
}


/* --- Header Section --- */
.main-header {
    background-color: #007bff; /* Primary brand blue */
    color: white;
    padding: 15px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-link {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}

.header-logo {
    max-width: 150px; /* Adjust as needed */
    height: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 10px;
}

.main-nav ul li {
    padding: 0 15px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #ffd700; /* Gold for hover/active */
}


/* --- Buttons (CTAs) --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #28a745; /* Green */
    color: white;
    border-color: #28a745;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #218838;
}

.btn-secondary {
    background-color: transparent;
    color: #007bff; /* Blue text */
    border-color: #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: white;
}

/* --- Hero Section - Lessons Page --- */
.hero-features {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/164821/pexels-photo-164821.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940'); /* Music Hero Image */
    background-size: cover;
    background-position: center bottom;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-features h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
}

.hero-features p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

/* --- Features Grid Section --- */
.features-grid h2 {
    color: #0056b3;
    text-align: center;
    margin-bottom: 10px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    margin-bottom: 20px;
    max-width: 60px;
}

.feature-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

/* --- Feature Blocks (Image & Text) --- */
.feature-block {
    text-align: left;
}

.feature-block h2 {
    color: #0056b3;
    margin-bottom: 20px;
}
.feature-block p {
    color: #555;
    font-size: 1.1em;
}

.feature-block ul {
    margin-top: 20px;
    margin-bottom: 30px;
}

.feature-block ul li {
    font-size: 1em;
    color: #444;
}

/* Layout for Image Left / Text Right */
.content-left-image-right-text {
    display: flex;
    flex-direction: column; /* Stack on small screens */
    align-items: center;
    gap: 50px;
}

.content-left-image-right-text .image-wrapper,
.content-left-image-right-text .text-wrapper {
    flex: 1;
    max-width: 100%; /* Default to full width */
}

@media (min-width: 768px) {
    .content-left-image-right-text {
        flex-direction: row; /* Side-by-side on larger screens */
    }
    .content-left-image-right-text .image-wrapper {
        min-width: 40%;
    }
    .content-left-image-right-text .text-wrapper {
        min-width: 50%;
    }
}


/* Layout for Text Left / Image Right (reverses order for larger screens) */
.content-left-text-right-image {
    display: flex;
    flex-direction: column; /* Stack on small screens */
    align-items: center;
    gap: 50px;
}
.content-left-text-right-image .image-wrapper,
.content-left-text-right-image .text-wrapper {
    flex: 1;
    max-width: 100%;
}

@media (min-width: 768px) {
    .content-left-text-right-image {
        flex-direction: row-reverse; /* Reverses order for image on right */
    }
    .content-left-text-right-image .image-wrapper {
        min-width: 40%;
    }
    .content-left-text-right-image .text-wrapper {
        min-width: 50%;
    }
}
.feature-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* --- Call to Action Section --- */
.cta-section {
    background-color: #007bff; /* Primary blue */
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Footer Section --- */
.main-footer {
    background-color: #343a40; /* Darker footer */
    color: #bbb;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* --- Responsive Adjustments for Header/Nav --- */
@media (min-width: 768px) {
    .main-header {
        flex-direction: row; /* Logo and nav side-by-side */
        justify-content: space-between;
        padding: 15px 30px;
    }
    .main-nav {
        margin-top: 0;
    }
    .logo-link {
        margin-bottom: 0; /* Remove bottom margin when side-by-side */
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2em; }
    .hero-features h1 { font-size: 2.5em; }
    .hero-features p { font-size: 1em; }
    .features-grid .feature-card {
        padding: 20px;
    }
    .section-padding {
        padding: 60px 0;
    }
}
