/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Stylizacja sekcji nagłówka */
header {
    background-color: #084236; /* Główny kolor tła - ciemniejszy zielony */
    padding: 10px 0;
    text-align: center;
}

/* Stylizacja logo */
.logo img {
    width: 150px; /* Możesz dostosować szerokość logo */
    height: auto; /* Wysokość dostosowuje się proporcjonalnie */
    display: inline-block;
}

/* Navigation Menu Styles */
.main-nav {
    background-color: #016849; /* Średni zielony */
    color: whitesmoke; /* Biały */
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    font-family: Verdana;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: whitesmoke; /* Jasny zielony */
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
    font-family: Verdana;
}

.main-nav ul li a:hover {
    color: whitesmoke; /* Neonowy zielony */
    font-family: Verdana;
}

/* Sections Styles */
section {
    padding: 60px 20px;
    height: auto;
}

section h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: whitesmoke; /* Neonowy zielony */
    font-family: Verdana;
}

section p {
    font-size: 1em;
    line-height: 1.6;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

/* Start Section */
#start {
    width: 100%;
    background-color: #052924; /* Bardzo ciemny zielony */
    text-align: center; /* Centruj zawartość w sekcji */
    padding: 50px 0; /* Górne i dolne odstępy */
    font-family: Verdana;
}

.about-image-logo {
    width: 100%;
}

.about-image-logo img {
    width: 100%; /* Ustaw obraz na całą szerokość */
    height: auto; /* Automatyczna wysokość, aby zachować proporcje */
    display: block; /* Usuń domyślne marginesy obrazka */
}

.contact-section {
    background-color: #084236; /* Ciemny zielony */
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: whitesmoke;
    font-family: Verdana;
}

.contact-info {
    display: flex;
    align-items: center;
    color: whitesmoke; /* Jasny zielony */
    font-family: Verdana;
}

.contact-info a {
    font-size: 1.5em;
    margin-right: 15px;
    color: whitesmoke; /* Niebieski */
    font-family: Verdana;
}

.contact-info div {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.contact-info div i {
    margin-right: 5px;
    font-size: 1.5em;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.social-icons a {
    margin-left: 10px;
    color: whitesmoke; /* Jasny zielony */
    font-size: 1.5em;
    transition: color 0.3s;
    font-family: Verdana;
}

.social-icons a:hover {
    color: whitesmoke; /* Neonowy zielony */
    font-family: Verdana;
}

/* Responsywność */
@media (max-width: 768px) {
    .main-nav ul li a {
        color: whitesmoke; /* Jasny zielony */
        text-decoration: none;
        font-size: 1.6em;
        transition: color 0.3s;
        font-family: Verdana;
    }
    .contact-section {
        flex-direction: column;
    }
    
    .contact-info {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .social-icons {
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .main-nav ul li a {
        color: whitesmoke; /* Jasny zielony */
        text-decoration: none;
        font-size: 1em;
        transition: color 0.3s;
        font-family: Verdana;
    }
    .about-image-logo img {
        width: 100%; /* Upewnij się, że obraz będzie responsywny na małych ekranach */
    }
    
    .contact-info div {
        margin-bottom: 15px;
    }
}

/* Styles for the Title in Start Section */
#start .title-container {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #4ADEA5; /* Niebieski - kontrastowy */
    font-family: Verdana;
}

.school-title {
    font-size: 3em; /* Dostosuj wielkość czcionki według potrzeb */
    color: whitesmoke; /* Biały */
    margin: 0; /* Usuń domyślny margines */
    font-weight: bold; /* Dodaj pogrubienie */
    text-transform: uppercase; /* Zmień tekst na wielkie litery */
    letter-spacing: 2px; /* Dodaj odstępy między literami */
    font-family: Verdana;
}

/* Footer Styles */
footer {
    background-color: #016849; /* Tło stopki - średni zielony */
    color: whitesmoke; /* Biały */
    padding: 40px 20px;
    text-align: center;
    font-family: Verdana;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 0 10px;
}

.footer-nav ul li p {
    color: whitesmoke; /* Biały */
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
    font-family: Verdana;
}

.footer-nav ul li a:hover {
    color: whitesmoke; /* Niebieski */
    font-family: Verdana;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-contact a {
    color: whitesmoke; /* Neonowy zielony */
    text-decoration: none;
    transition: color 0.3s;
    font-family: Verdana;
}

.footer-contact a:hover {
    color: whitesmoke; /* Niebieski */
    font-family: Verdana;
}

.footer-copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9em;
    font-family: Verdana;
}

/* Styles for About Section */
#onas {
    padding: 60px 20px;
    background-color: #084236; /* Ciemny zielony - kontrastowy dla tekstu */
    text-align: center;
    font-family: Verdana;
}

#onas h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #084236; /* Ciemny zielony - kontrastowy dla tekstu */
    font-family: Verdana;
}

.about-image {
    flex: 1;
    max-width: 45%;
    margin-right: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text {
    flex: 2;
    text-align: center;
    font-size: 1.2em;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 15px; /* Dodaje odstęp między akapitami */
}

/* Sekcja Kontakt */
#kontakt {
    padding: 60px 20px;
    background-color: #084236; /* Ciemny zielony */
    text-align: center;
    font-family: Verdana;
}

#kontakt h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

#kontakt h3 {
    margin-bottom: 20px; /* Dodaje odstęp między nagłówkami */
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

.contact-item i {
    font-size: 1.5em;
    margin-right: 15px;
    color: whitesmoke; /* Niebieski */
}

.contact-item a {
    color: whitesmoke; /* Niebieski */
    text-decoration: none;
    transition: color 0.3s;
    font-family: Verdana;
}

.contact-item a:hover {
    color: whitesmoke;
    font-family: Verdana;
}

.contact-item span {
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

/* Sekcja Opinie */
#Opinie {
    padding: 60px 20px;
    background-color: #084236; /* Ciemny zielony */
    text-align: center;
    font-family: Verdana;
}

#Opinie h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: whitesmoke; /* Biały */
    font-family: Verdana;
}

.opinions-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.opinions-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: whitesmoke; /* Niebieski */
    text-align: center; /* Wyrównanie nagłówka do środka */
    font-family: Verdana;
}

.opinion {
    background-color: #ffffff; /* Biały */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Verdana;
}

.opinion-text {
    font-size: 1.2em;
    color: #555555; /* Średni szary */
    margin-bottom: 10px;
    line-height: 1.6;
    font-family: Verdana;
}

.opinion-author {
    font-size: 1em;
    font-weight: bold;
    color: black; /* Niebieski */
    text-align: right; /* Wyrównanie autora opinii do prawej */
    font-family: Verdana;
}

/*Korepetytorzy sekcja*/
#Korepetytorzy {
    background-color: #084236; /* Ciemny zielony */
    font-family: Verdana;
}

/* Media Queries for Small Screens */
@media (max-width: 768px) {

    .contact-container {
        align-items: center;
        padding: 0 20px;
    }

    .contact-item {
        margin-bottom: 15px;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .about-text {
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
    }

    .footer-nav ul li {
        margin: 5px 0;
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-info div {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .social-icons {
        margin-top: 20px;
        flex-direction: row;
        justify-content: center;
    }

    .social-icons a {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .opinions-section {
        padding: 0 20px;
    }

    .opinion {
        margin-bottom: 15px;
    }
}
