/* RESET + BAZA */
html, body {
    margin: 0;
    padding: 0;
    font-family: Verdana, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #006061;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* ZMIENNE */
:root {
    --primary: #bbccd4;
    --secondary: #0a475c;
}

/* MENU */
.menu-container {
    width: 100%;
    background: var(--primary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 9999;
}

#menu-toggle {
    display: none;
}

.burger {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.burger span:not(.burger-text) {
    width: 32px;
    height: 4px;
    background: var(--secondary);
    border-radius: 3px;
    transition: 0.3s;
}

.burger-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary);
}

.menu-container .menu {
    display: flex;
}

.menu-container .menu ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu-container .menu li {
    list-style: none;
    padding: 0 10px;
    border-right: 1px solid var(--secondary);
}

.menu-container .menu li:last-child {
    border-right: none;
}

.menu-container .menu a {
    color: var(--secondary);
    font-size: 21px;
    font-weight: bold;
    font-family: "Times New Roman", Times, serif;
}

/* MENU – MOBILE */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .menu-container .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
        display: block;
    }

    .menu-container .menu ul {
        display: block;
        padding: 15px;
    }

    .menu-container .menu li {
        margin: 12px 0;
        border-right: none;
    }

    #menu-toggle:checked ~ .menu {
        max-height: 500px;
    }

    #menu-toggle:checked + .burger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    #menu-toggle:checked + .burger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .burger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }
}

/* KONTENER TREŚCI */
.content {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
}

/* HERO */
.hero {
    margin-bottom: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.hero-photo {
    width: 260px;
    height: 328px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.call-now {
    font-size: 22px;
    font-weight: 600;
    margin-top: 5px;
}

.call-now a {
    color: red;
    font-weight: 700;
    font-size: 28px;
}

.phone-icon {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    fill: red;
}

#grad1 {
    height: 4px;
    background-image: linear-gradient(red, #fff, #fff, #fff, red, red, red);
    margin: 10px 0;
}

/* FORMULARZ KONTAKTOWY */
#contactform {
    margin-bottom: 30px;
}

#contactform fieldset {
    width: 100%;
}

#contactform fieldset label {
    display: block;
    font-size: 15px;
    color: #46494f;
    margin-bottom: 12px;
}

#contactform input[type="text"],
#contactform input[type="email"],
#contactform input[type="tel"],
#contactform textarea {
    font-family: Roboto, sans-serif;
    color: #acb4bd;
    font-size: 14px;
    border: 1px solid #d8dee5;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 9px 14px;
    width: 460px;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#contactform textarea {
    height: 160px;
    resize: none;
}

#contactform input:hover,
#contactform textarea:hover {
    color: #61656d;
    border-color: #acb4bd;
}

#contactform input:focus,
#contactform textarea:focus {
    color: #61656d;
    border-color: #196abc;
}

.captcha {
    margin-top: 10px;
}

#contactform input[name="contact_check"] {
    width: 50px;
    text-align: center;
}

#contactform input[type="submit"] {
    background: linear-gradient(to bottom, #1969ba 0%, #13508e 100%);
    border: none;
    font-size: 14px;
    font-family: Roboto, sans-serif;
    color: #fff;
    cursor: pointer;
    padding: 9px 14px;
    float: right;
}

#contactform input[type="submit"]:hover {
    background: linear-gradient(to bottom, #1969ba 0%, #053565 100%);
}

#contactform input[type="submit"]:active {
    background: linear-gradient(to bottom, #053565 0%, #1969ba 100%);
}

/* STOPKA */
.footer-legal {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}
/* WYŚRODKOWANIE MENU NA DESKTOPIE */
@media (min-width: 1024px) {
    .menu-container {
        justify-content: center;
    }
}

