/* Global Styles */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5a623;
    --text-color: #333;
    --background-color: #f9f9f9;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Main Content */
main section {
    background: white;
    padding: 60px 40px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

main section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}


/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #0c0505;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
}

/* Sekcja rezerwacji */
.calendar-container {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#contact .cta-button {
    background-color: var(--secondary-color);
    color: white;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 60%;
    font-size: xx-large;
}

#contact .cta-button::hoover {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 60%;

    font-size: xx-large;
    background-color: white;
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 40px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.newsletter-section h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.newsletter-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.newsletter-section ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.newsletter-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.newsletter-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-section .form-group {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.newsletter-section input[type="email"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-section button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-section button:hover {
    background-color: white;
   
}

.newsletter-section .small {
    font-size: 0.8rem;
    margin-top: 20px;
    text-align: center;
}

.contact-post {
    text-decoration: none;
    color: #f5a623;
}

  .post-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .post-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .post-card p {
    color: var(--text-color);
    margin-bottom: 15px;
  }
  
  .read-more {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
  }
  
  .read-more:hover {
    color: var(--primary-color);
  }
  
.more-posts {
    display: flex;
    text-align: center;
    justify-content: center;
}
  
.see-more-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 50%;
  }
  
.see-more-button:hover {
    background-color: var(--primary-color);
    color: white;
  }
  

.post-card a {
    text-decoration: none;
    color: #2c3e50;
}


@media screen and (max-width: 768px) {
    .newsletter-section {
        padding: 40px 20px;
    }
    
    .newsletter-section h2 {
        font-size: 1.8rem;
    }
}



/* Responsive Design */
@media screen and (max-width: 768px) {
    .logo {
        padding-left: 2%;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
    }

    .nav-toggle-label {
        display: block;
    }

    .nav-toggle:checked ~ ul {
        display: flex;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    header {
        padding: 100px 0 50px;
    }

    main section {
        padding: 40px 20px;
    }

    .tutor-image {
        width: 80%;
        height: 80%;
    }
    
    #contact .cta-button {
        width: 90%;
    }
}

/* Responsive design for newsletter */
@media screen and (max-width: 768px) {
    #newsletter-form .form-group {
        flex-direction: column;
    }

    #newsletter-form input[type="email"],
    #newsletter-form button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
}

