
body {
    margin: 0;
    font-family: "Georgia", serif;
    color: #222;
    background: #fafafa;
}

/* Navbar */
.navbar {
    background: white;
    border-bottom: 1px solid #e3e3e3;
    text-align: center;
    padding: 10px 0;
}
.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.navbar li {
    display: inline-block;
    margin: 0 15px;
}
.navbar a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
}
.navbar a.active,
.navbar a:hover {
    color: #8b0000;
}
#logo {
	width: 100px;
	float: left;
}

/* Old Hero section */
/*.hero {
    position: relative;
    height: 60vh;
    background: url('hero-piano.jpg') center/cover no-repeat;
}
.overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    inset: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    top: 40%;
    transform: translateY(-50%);
    color: white;
}
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #8b0000;
    color: white;
    text-decoration: none;
    margin-top: 15px;
}*/
.hero {
    position: relative;
    height: 50vh;
/*    background: url('ressources/img_cours.png') center/cover no-repeat;*/
    background-image: url("ressources/img_cours.png");
    background-color: #cccccc
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 80%;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 12px;
}

/* Sections accueil */
.intro {
    text-align: center;
    padding: 50px 20px;
}
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 20px;
}
.feature {
    width: 250px;
    text-align: center;
}

/* Biographie */
.page-header {
/*    background: #eee;*/
    background-image: url("ressources/img_cours.png");

	    padding: 40px 0;
    text-align: center;
}
.bio {
    display: flex;
    gap: 40px;
    padding: 50px;
    max-width: 900px;
    margin: auto;
}
.portrait {
    width: 35%;
    border-radius: 8px;
}
.bio-text {
    width: 90%;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    background: #f1f1f1;
}

/* Cours de piano */
.course-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    line-height: 1.6;
}

.course-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.course-list li {
    margin-bottom: 8px;
    font-size: 18px;
}

/* Table des tarifs */
.pricing-table {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-collapse: collapse;
}
.pricing-table th,
.pricing-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
    background: #fff;
}
.note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Témoignages */
.testimonials {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}
.testimonial {
    background: #ffffff;
    border-left: 4px solid #8b0000;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.quote {
    font-style: italic;
    margin: 0 0 10px;
}
.author {
    text-align: right;
    font-weight: bold;
    color: #444;
}

/* Contact page */
.contact-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info,
.contact-form {
    flex: 1 1 400px;
}

.contact-info p {
    line-height: 1.6;
}

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

.contact-form label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
}

.contact-form button {
    margin-top: 20px;
    padding: 12px;
    background: #8b0000;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #a40000;
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------------- */

/* ======= TABLETTES (≤ 900px) ======= */
@media (max-width: 900px) {

    /* Réduction de la taille du hero */
    .hero {
        height: 45vh;
    }
    .hero-content h1 {
        font-size: 36px;
    }

    /* Biographie */
    .bio {
        flex-direction: column;
        text-align: center;
    }
    .portrait {
        width: 60%;
        margin: auto;
    }
    .bio-text {
        width: 100%;
    }

    /* Témoignages / cours */
    .testimonials,
    .course-section {
        padding: 20px;
    }

    /* Contact */
    .contact-section {
        flex-direction: column;
        gap: 30px;
    }
}


/* ======= SMARTPHONES (≤ 600px) ======= */
@media (max-width: 600px) {

    /* Navigation */
    .navbar ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .navbar li {
        display: block;
        margin: 0;
    }
    .navbar a {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        height: 40vh;
        background-position: center;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }

    /* Sections accueil */
    .features {
        flex-direction: column;
        gap: 20px;
    }
    .feature {
        width: 100%;
    }

    /* Titres pages */
    .page-header h1 {
        font-size: 28px;
    }

    /* Biographie */
    .portrait {
        width: 80%;
    }

    /* Table des tarifs */
    .pricing-table th,
    .pricing-table td {
        font-size: 14px;
        padding: 10px;
    }

    /* Témoignages */
    .testimonial {
        padding: 15px;
    }
    .quote {
        font-size: 16px;
    }

    /* Contact formulaire */
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }
    .contact-form button {
        font-size: 16px;
    }

    /* Footer */
    footer {
        padding: 15px 0;
        font-size: 14px;
    }
}


/*	CONTAINER	*/
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* ======= PETITS SMARTPHONES (≤ 400px) ======= */
@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
    }

    .navbar a {
        font-size: 16px;
    }

    .portrait {
        width: 95%;
    }
}

