@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

/* Podstawowe resetowanie stylów */
body {
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: 1.6;
    color: #333;
    background-color: var(--neutralne-tlo);
    padding-top: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Nowy pasek odstępu na górze strony */
.spacing-bar {
    width: 100%;
    height: 30px; /* Wysokość paska, możesz dostosować */
    background-color: var(--tlo-sekcji-podrzędnych); /* Kolor tła, możesz dostosować */
}

/* Kolory */
:root {
    /* --szmaragdowa-zielen: #27AE60; */
    --szmaragdowa-zielen: #0b8684;
    --szmaragdowa-zielen-2: #075554;
    --ciemna-zielen: #229954;
    --bialy: #FFFFFF;
    --szary-tekst: #555;
    --czarny-tekst: #333;
    --jasny-szary: #eee;
    --ania-green: #e5f0e4;

    /* ZMIENNE DLA TŁA */
    --neutralne-tlo: #FBF9F6;
    --tlo-sekcji-podrzędnych: #FCFBF9;
}

/* Układ globalny */
main {
    max-width: 60vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* Usunięto margines od góry dla main, ponieważ odstęp tworzy teraz .top-spacing-bar */
main {
    margin-top: 0;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--szmaragdowa-zielen);
    margin: 30px auto;
    max-width: 100%;
}

/* Nagłówki */
h1, h2, h3, h4 {
    font-weight: bold;
    color: var(--czarny-tekst);
    margin-bottom: 15px;
    text-align: left;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--szmaragdowa-zielen);
}

h2 {
    font-size: 1.8em;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 {
    font-size: 2em;
    /* color: var(--szary-tekst); */
    color: var(--szmaragdowa-zielen);
}

h4 {
    font-size: 1em;
    margin-top: 5px;
    margin-bottom: 0;
    color: var(--czarny-tekst);
}

p {
    margin-bottom: 1em;
    font-size: 1.1rem;
    color: var(--szary-tekst);
}

a {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    color: var(--szary-tekst);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.ania-pic {
    display: flex;
    justify-content: center;
    width: 100%;
}

.ania-pic img {
    width: 70%;
    padding-top: 50px;
    padding-bottom: 20px;
}

a:hover {
    /* color: var(--ciemna-zielen); */
    color: var(--szmaragdowa-zielen);
    border-bottom: 1px solid var(--ciemna-zielen);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--szmaragdowa-zielen);
    outline-offset: 2px;
    border-radius: 3px;
}

a:active {
    color: var(--ciemna-zielen);
    transform: translateY(1px);
}

b, strong {
    font-weight: 800;
}

/* Ukrycie wizualne nagłówków dla dostępności */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.section-divider {
    /* Solid border */

    border-top: 1.5px solid #bbb;
    border-color: var(--szmaragdowa-zielen);
    margin-top: 65px;
}

  .section-divider-bottom{
    border-top: 1.5px solid #bbb;
    border-color: var(--szmaragdowa-zielen);
    margin-top: 65px;
}

/* Sekcja hero (nagłówkowa) */
.hero-section {
    background-color: var(--tlo-sekcji-podrzędnych);
    color: var(--czarny-tekst);
    padding: 0;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Kontener na obraz hero */
.hero-image-placeholder {
    width: 100%;
    height: 600px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

/* NOWE CLASSY I STYLE I WSZYSTKO NOWE */

.helloo-section {
    background-image: url('images/weterynarz-gabinet-background.png');
    background-color: var(--szmaragdowa-zielen);
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: left;
}

.helloo-section .text-overlay {
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: left;
    justify-content: center;
    max-width: 35%;
    padding-left: 2%;
    padding-right: 2%;
    margin-left: 20%;

}

.helloo-text {
    margin-top: 6px;
    color: var(--ania-green);
}

.helloo-text h1 {
    margin-top: 0;
    padding-top: 0;
    color: var(--ania-green);
}

.text-overlay h1 {
    font-size: 3em;
    color: var(--ania-green);
}

.hello-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gekon-section {
    display: flex;
    flex-direction: row;
    text-align: justify;
    margin-top: 45px;
}

.gekon-column {
    padding-right: 3%;
}

.gekon-column ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    margin-left: 0;
    text-align: left;
}

.gekon-column li {
    list-style-type: none;
}

.padding-li {
    padding-bottom: 10px;    
}

.where-section {
    display: flex;
    justify-content: center;
}

.mruczek-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 40%;
    max-height: 40%;
}

.mruczek-column {
    display: flex;
    flex-direction: column;
    text-align: justify;
    max-width: 100%;
    max-height: 100%;
}

.mruczek-personel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 60px;
}

.mruczek-personel {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: left;
    line-height: 0.03px;
}

.mruczek-personel h2 {
    margin: 0;
    margin-top: 10%;
}

.mruczek-personel p {
    font-style: italic;
}

.mruczek-personel-inside {
    display: flex;
    flex-direction: column;
    align-items: left;
}

.social-links {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    font-size: 2em;
}

.contact-section {
    display: flex;
    flex-direction: row;
    margin-top: 0;
}

.contact-column {
    min-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: left;
    margin-top: 0;

}

/* KONIEC - NOWE CLASSY I STYLE I WSZYSTKO NOWE - KONIEC*/


/* Nowy kontener na kolumny */
.content-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.specialist-column,
.contact-location-column {
    flex: 1;
    background-color: var(--tlo-sekcji-podrzędnych);
    padding: 30px;
    border-radius: 0;
    box-shadow: none;

}

.specialist-column {
    border-bottom: none;
}

.contact-location-column {
    order: 2;
}

/* Styl dla sekcji weterynarza */
.specialist-column .member {
    text-align: center;
    padding: 0;
    background-color: transparent;
}

/* Styl dla sekcji kontaktowej i lokalizacji */
.contact-map-info {
    margin-top: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
}

.new-address, .contact-details {
    text-align: center;
    font-style: normal;
    margin-bottom: 40px;
    font-size: 1.15em;
    color: var(--czarny-tekst);

}
.contact-details {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.contact-details li {
    margin-bottom: 8px;
}
.contact-details a {
    color: var(--szmaragdowa-zielen);
    text-decoration: none;
    font-weight: bold;
}
.contact-details a:hover {
    color: var(--ciemna-zielen);
    text-decoration: underline;
}

/* Stopka */
footer {
    text-align: center;
    font-size: 0.9em;
    color: #888;
    padding: 10px;
    border-top: 1px solid var(--jasny-szary);
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

iframe {
    width: 100%;
    height: 350px;
    border: 0;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Responsywność */

@media (max-width: 768px) {

    body {
        padding-top: 0;
        width: 100%;
        overflow-x: hidden;
    }

    main, header {
        padding: 15px;
        max-width: 75%;
    }
    /* Ukrycie paska odstępu na mobilnych, jeśli nie jest potrzebny */
    .top-spacing-bar {
        height: 0;
        display: none;
    }

    main {
        margin-top: 0;
    }

    .section-divider {
        margin-top: 50px;
    }

    .section-divider-bottom{
        margin-top: 60px;
    }

    .helloo-section {
        background-image: url('images/weterynarz-gabinet-background.png');
        background-color: var(--szmaragdowa-zielen-2);
        background-size: cover;
        background-repeat: no-repeat;
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .helloo-section .text-overlay {
        text-align: left;
        max-width: 90%;
        padding-left: 2%;
        padding-right: 2%;
        margin-left: 0;
    }

    .text-overlay h1 {
        padding-left: 10px;
    }

    .hello-text-background {
        padding: 10px;
    }

    /* Zmiana układu na jedną kolumnę */
    .gekon-section {
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
        margin-bottom: 0;
        text-align: left;
    }

    .where-section {
        justify-content: left;
    }

    .mruczek-column {
        gap: 0;
        margin-bottom: 0;
        text-align: left;
    }

    .mruczek-personel-section {
        margin-top: 10px;
        margin-bottom: 4px;
        align-items: left;
        margin-left: 0;
        padding-left: 0;
    }

    .mruczek-personel {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: left;
        line-height: 0.03px;    
    }

    .contact-section {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }


/* KONIEC - NOWE CLASSY I STYLE I WSZYSTKO NOWE - KONIEC */

    .content-columns {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .specialist-column {
        order: 2;
        padding-top: 0;
        padding-bottom: 30px;
        margin-bottom: 0;
        border-bottom: none;
    }

    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    main, header, footer {
        padding: 15px;
    }
    .hero-section {
        padding: 0;
        margin-bottom: 0;
        border-bottom: none;
    }
    .hero-image-placeholder {
        height: 250px;
        margin-bottom: 0;
    }

    .ania-pic img {
        width: 100%;
        padding-top: 40px;
    }

    iframe {
        width: 100%;
        height: 400px;
        border: 0;
        margin-top: 50px;
        margin-bottom: 10px;
    }
}

@media (orientation: landscape) {
    .helloo-section {
        min-height: 100vh;
    }

    .text-overlay {
        width: 60vw;
        min-width: 60vw;
    }

    .helloo-text.hello-text-background {
        min-width: 40wv;
    }
}