/* Martin Music - Elegant Jazz Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background-color: #1b1f2a;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-family: Georgia, serif;
    letter-spacing: 2px;
}

nav {
    background-color: #11141c;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 14px 10px;
    display: block;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: #c8a24d;
    color: #000;
}

/* MAIN CONTENT */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 40px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-family: Georgia, serif;
    margin-bottom: 15px;
    color: #1b1f2a;
}

/* FLEXBOX COLUMNS */
.flex-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.flex-column {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
}

/* IMAGE STYLING */
img {
    max-width: 100%;
    height: auto;
}

.founder-img {
    max-width: 300px;
    border: 5px solid #c8a24d;
    margin-top: 15px;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table, th, td {
    border: 1px solid #ccc;
}

th {
    background-color: #1b1f2a;
    color: #fff;
    padding: 10px;
}

td {
    padding: 10px;
    text-align: center;
}

/* FORM */
form {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #ccc;
}

label {
    display: block;
    margin-top: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

input[type="submit"] {
    background-color: #1b1f2a;
    color: #fff;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background-color: #c8a24d;
    color: #000;
}

/* FOOTER */
footer {
    background-color: #1b1f2a;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
    }

    .flex-row {
        flex-direction: column;
    }
}
/* =========================
   CONTACT PAGE STYLES
   ========================= */
body.contact-page main {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

body.contact-page .tagline {
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
}

body.contact-page form fieldset {
    border: 1px solid #4682B4;
    padding: 20px;
    border-radius: 8px;
    background-color: #fefefe;
}

body.contact-page form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

body.contact-page form input[type="text"],
body.contact-page form input[type="email"],
body.contact-page form input[type="tel"],
body.contact-page form select,
body.contact-page form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

body.contact-page form textarea {
    resize: vertical;
    min-height: 80px;
}

body.contact-page form p {
    margin-top: 15px;
    font-weight: bold;
}

/* Radio buttons inline */
body.contact-page form label.radio {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

/* Submit and Reset buttons */
body.contact-page form input[type="submit"],
body.contact-page form input[type="reset"] {
    width: 48%;
    margin-top: 15px;
    padding: 10px;
    font-weight: bold;
    background-color: #4682B4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

body.contact-page form input[type="submit"]:hover,
body.contact-page form input[type="reset"]:hover {
    background-color: #2f5d87;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    body.contact-page form input[type="submit"],
    body.contact-page form input[type="reset"] {
        width: 100%;
        margin-top: 10px;
    }
}
body.contact-page .contact-instructions {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f4f4f0;
    border-left: 4px solid #4682B4;
}

body.contact-page .contact-instructions p {
    margin: 5px 0;
    font-weight: bold;
    color: #333;
}
/* Enrollment Instructions Section */
body.contact-page .enrollment-instructions {
    background-color: #f4f4f0;      /* light background like contact instructions */
    padding: 20px;                  /* inner spacing */
    border-left: 4px solid #4682B4; /* blue accent border matching your form buttons */
    margin-bottom: 20px;            /* space below the section */
    border-radius: 5px;             /* optional: soft corners */
}

body.contact-page .enrollment-instructions h2 {
    margin-top: 0;                  /* remove extra top margin */
    color: #1b1f2a;                 /* dark heading color to match site theme */
    font-family: Georgia, serif;     /* consistent with other headings */
}

body.contact-page .enrollment-instructions ol {
    margin-left: 20px;              /* indent numbered list */
    margin-top: 10px;
}

body.contact-page .enrollment-instructions p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}
/* =========================
   Contact Page Dropdowns Styling
   ========================= */

/* Apply the same style to all selects in the contact form */
body.contact-page form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    background-color: #ffffff;
}

/* Hover and focus effect for dropdowns */
body.contact-page form select:focus {
    border-color: #4682B4;
    outline: none;
    box-shadow: 0 0 5px rgba(70, 130, 180, 0.5);
}

/* Make sure the new lesson type and instrument selects are responsive like other fields */
@media only screen and (max-width: 768px) {
    body.contact-page form select {
        width: 100%;
    }
}
/* =========================
   Audio & Founder Photo Flex Styling
   ========================= */

.flex-row audio {
    width: 100%;           /* Makes the audio player stretch across the column */
    margin-top: 10px;      /* Space above the player */
}

/* Ensure flex columns stack nicely on smaller screens */
@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;  /* Stack columns vertically */
    }

    .flex-column {
        padding: 15px 0;         /* Add spacing between stacked columns */
    }

    .flex-column audio {
        margin-top: 15px;        /* Extra space for readability */
    }
}

/* Optional: center-align audio column content */
.flex-column h3,
.flex-column p,
.flex-column audio {
    text-align: center;
}
/* =========================
   Flex Layout for Welcome Section
   ========================= */

.flex-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch; /* Makes columns equal height */
}

.flex-column {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* =========================
   Founder Image Styling
   ========================= */

.founder-img {
    width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: cover;
    border: 5px solid #c8a24d;
    display: block;
    margin: 15px auto 0 auto;
}

/* =========================
   Audio Styling
   ========================= */

.flex-column audio {
    width: 100%;
    margin-top: 15px;
}

/* =========================
   Mobile Responsive Layout
   ========================= */

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }

    .flex-column {
        padding: 15px 0;
    }
}