@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');

/* --- Základní reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500; /* Medium */
    color: #333;
    line-height: 1.6;
}

/* --- Navigace --- */
nav {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: sticky; /* Toto drží navigaci nahoře */
    top: 0;
    z-index: 1000; /* Zajišťuje, že navigace bude vždy nad ostatním obsahem */
}

nav .logo {
    font-size: 1.2rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Hero Sekce (Index) --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('foto (25) 1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-text h1 {
    font-size: 72px; 
    font-family: 'cursive', serif; 
    font-style: italic;
}

/* --- Hero Sekce (Speciálně pro Book a Trial Lesson) --- */
.trial-hero {
    height: 100vh;
    /* Žádná fotka, jen černé pozadí */
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.trial-hero h1 {
    font-size: 72px; 
    font-family: 'cursive', serif; 
    font-style: italic;
}

/* --- Úvodní sekce (HOME - 1. sekce) --- */
.intro-section {
    display: flex;
    align-items: center; 
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 60px;
}

.intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000; 
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.intro-logo {
    flex: 1;
    min-height: 0;
}

.intro-logo img {
    width: 100%;
    height: auto; 
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* --- Sekce Why Choose Me (HOME - 2. sekce) --- */
.why-me-section {
    background-color: #f4d0a4;
}

.why-me-content {
    display: flex;
    align-items: stretch; 
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 60px;
}

.why-me-image {
    flex: 0.8; 
    min-height: 0;
}

.why-me-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.why-me-text {
    flex: 1.2; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000000; 
}

.why-me-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000000; 
}

.why-me-text ul {
    list-style-type: none;
}

.why-me-text li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- Sekce Find out more --- */
.find-out-more {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff;
}

.section-title {
    font-size: 3.5rem;
    font-family: 'cursive', serif;
    margin-bottom: 50px;
    color: #000000;
    font-style: italic;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 12px 12px 0 0;
}

/* --- Tlačítka (Společná čistá úprava bez glow) --- */
.btn-outline, .btn-solid, .btn-outline-white {
    display: inline-block;
    text-align: center;
    border-radius: 0;
    text-transform: uppercase;
    font-family: serif;
    letter-spacing: 1.5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline {
    margin: 0 20px 25px 20px;
    padding: 12px 20px;
    border: 2px solid #000000;
    color: #000000;
}

.btn-outline:hover {
    background-color: #000000;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-solid {
    background-color: #e8b87d;
    color: #000;
    border: 2px solid #e8b87d;
    padding: 15px 40px;
    font-size: 0.95rem;
}

.btn-solid:hover {
    background-color: #d6a469;
    border-color: #d6a469;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 6px 15px rgba(255,255,255,0.3);
}

/* --- CTA a Footer --- */
.cta-footer-section {
    background-color: #000000;
    color: white;
    padding: 80px 20px 30px 20px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

footer p {
    font-size: 0.8rem;
    color: #888;
    margin: 5px 0;
}

/* =========================================
   STRÁNKA: ABOUT ME
   ========================================= */

.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('foto (27).webp');
    background-size: cover;
    background-position: center;
}

.about-hero h1 {
    font-size: 72px; 
    font-family: 'cursive', serif;
    font-style: italic;
    color: white;
}

.about-row {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 60px;
}

.about-image, .about-text {
    flex: 1;
}

.about-image {
    min-height: 0;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.about-text strong {
    font-weight: 600;
    color: #000;
}

.about-divider {
    border: none;
    border-top: 1px solid #ddd;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================
   STRÁNKA: LESSONS & PRICING
   ========================================= */

.lessons-hero {
    height: 60vh;
    background: url('foto (10).webp') center/cover no-repeat;
}

.lessons-banner {
    background-color: #f4d0a4;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.banner-content {
    max-width: 900px;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.2rem;
    font-family: serif;
    margin-bottom: 30px;
    color: #000000;
}

.banner-content ul {
    text-align: left;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.8;
}

.banner-content li {
    margin-bottom: 10px;
}

.lesson-row {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 60px;
}

.lesson-image, .lesson-text {
    flex: 1;
}

.lesson-image {
    min-height: 0;
}

.lesson-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.lesson-text h3 {
    font-size: 2rem;
    font-family: serif;
    margin-bottom: 20px;
    color: #000000;
}

.lesson-text h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.lesson-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.lesson-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.lesson-text li {
    margin-bottom: 8px;
}

.info-grid-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    border-top: 1px solid #eaeaea;
}

.grid-title {
    text-align: center;
    font-size: 2.8rem;
    font-family: serif;
    margin-bottom: 60px;
    color: #000000;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-item {
    background: transparent;
    padding: 20px;
}

.grid-item h4 {
    font-size: 1.2rem;
    font-family: sans-serif;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-item p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.grid-item ul {
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.grid-item li {
    margin-bottom: 8px;
}

/* =========================================
   STRÁNKA: TESTIMONIALS
   ========================================= */

.testimonial-header {
    background-color: #000000;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.testimonial-header h1 {
    font-size: 72px; 
    font-family: 'cursive', serif;
    font-style: italic;
    font-weight: normal;
}

.testimonial-section {
    padding: 60px 20px;
}

.testimonial-section.bg-light {
    background-color: #ffffff;
    color: #333;
}

.testimonial-section.bg-dark {
    background-color: #000000;
    color: #ffffff;
}

.testimonial-content {
    display: flex;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}

.test-img, .test-text {
    flex: 1;
}

.test-img {
    min-height: 0;
}

.test-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.test-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.test-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.test-text p.author {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0;
}

/* =========================================
   STRÁNKA: BOOK A TRIAL LESSON & CONTACT
   ========================================= */

.trial-info-section {
    padding: 80px 20px;
}

.trial-info-content {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.trial-img, .trial-text {
    flex: 1;
}

.trial-img {
    min-height: 0;
}

.trial-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.trial-text h2 {
    font-size: 1.8rem;
    font-family: serif;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #000000;
}

.trial-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.booking-form-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    scroll-margin-top: 120px;
}

.booking-form-section h2 {
    font-size: 3.2rem;
    font-family: serif;
    margin-bottom: 50px;
    color: #ffffff;
}

.contact-page-spacing {
    min-height: calc(100vh - 80px);
    padding-top: 100px;
}

.contact-page-spacing h2 {
    line-height: 1.6;
    margin-bottom: 50px;
}

/* --- ČISTÉ STYLY FORMSPREE FORMULÁŘE --- */
.piano-form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    color: #ffffff;
}

.piano-form-label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 15px;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
}

.piano-input, .piano-select {
    width: 100%;
    border: 2px solid #555;
    background-color: #ffffff;
    color: #000000;
    padding: 15px;
    margin-bottom: 15px;
    font-family: sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.piano-input:focus, .piano-select:focus {
    outline: none;
    border-color: #e8b87d;
}

.piano-textarea {
    height: 120px;
    resize: vertical;
}

.piano-submit-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px;
    margin-top: 10px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.piano-submit-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.piano-submit-btn.sent {
    color: #e8b87d;
    border-color: #e8b87d;
    background-color: transparent;
    cursor: default;
}

/* =========================================
   RESPONZIVITA (MOBILY A TABLETY)
   Tento blok se aktivuje jen na úzkých obrazovkách
   ========================================= */
@media (max-width: 900px) {

    /* --- 1. Navigace --- */
    nav {
        flex-direction: column; /* Odkazy se naskládají pod logo */
        height: auto !important; /* Dovolí liště se natáhnout podle počtu odkazů */
        padding: 15px 10px !important;
    }

    nav ul {
        flex-wrap: wrap; /* Zalomí odkazy na další řádky, aby nelezly ven */
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
        margin-right: 0 !important;
    }

    nav a {
        font-size: 0.95rem; /* Zmenšení písma v menu pro více místa */
    }

    .nav-cta-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }

    /* --- 2. Sloupcové uspořádání (Všechny sekce, co byly vedle sebe) --- */
    .intro-section, 
    .why-me-content, 
    .cards-container, 
    .about-top, 
    .about-row, 
    .lesson-row, 
    .testimonial-content, 
    .trial-info-content {
        flex-direction: column !important; /* Důležité: Naskládá to pod sebe */
        gap: 30px !important;
    }

    /* --- 3. Fotky na mobilu (aby nebyly obří) --- */
    .intro-logo img, 
    .why-me-image img, 
    .lesson-image img, 
    .test-img img, 
    .trial-img img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important; /* Fixní limit, aby fotka na mobilu nezabrala celý displej */
    }

    /* --- 4. Zmenšení obřích nadpisů --- */
    .hero-text h1, 
    .trial-hero h1, 
    .about-hero h1, 
    .testimonial-header h1 {
        font-size: 3rem !important; /* 72px je na mobil moc, zmenšujeme */
        text-align: center;
        line-height: 1.2;
    }

    .section-title, 
    .booking-form-section h2, 
    .grid-title {
        font-size: 2.2rem !important;
        text-align: center;
    }

    /* --- 5. Tlačítka pod sebou --- */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-outline, .btn-solid, .btn-outline-white {
        width: 90%; /* Tlačítka se roztáhnou, aby se do nich dalo dobře trefit prstem */
        margin: 0 auto;
    }

    /* --- 6. Menší mezery na mobilu --- */
    .intro-section, 
    .why-me-content, 
    .find-out-more, 
    .cta-footer-section, 
    .about-row, 
    .lessons-banner, 
    .lesson-row, 
    .info-grid-section, 
    .testimonial-section, 
    .trial-info-section, 
    .booking-form-section {
        padding: 40px 20px !important; /* Osekáme obří paddingy (80px), na mobilu je to zbytečné posouvání */
    }

    /* --- 7. Grid v lessons --- */
    .info-grid {
        grid-template-columns: 1fr; /* Ze tří sloupců se stane jeden */
    }
}
