@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: Montserrat, sans-serif;
    padding: 0;
    box-sizing: border-box;
    margin: 0;

}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

p {
    color: black;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: 0.35s ease;
    z-index: 9999;
}

.navbar.scrolled {
    padding: 10px 40px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(18px);
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

.navbar .logo img,
.logo-text {
    width: 50px;
    color: rgba(255, 102, 0, 255);
    text-decoration: none;
}



.about-section {
    padding: 120px 0;
    background-color: #1f1f1f;
}

.about-section .section-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}


.about-section .about-image-wrapper .about-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
}

.about-section .section-details {
    max-width: 600px;
    color: white;
    text-align: left;
}


.about-section .section-details .section-title {
    padding: 0;
    color: white;
    text-align: left;
}


.about-section .section-details .text {
    line-height: 30px;
    margin: 30px 0;
    font-size: 20px;
    color: white;
    text-align: left;
}

.about-section .social-links {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.about-section .social-links .social-link {
    color: rgba(255, 102, 0, 255);
    font-size: 30px;
    transition: 0.2s ease;
}

.about-section .social-links .social-link:hover {
    color: black;
}



.footer-section {
    background: #0f0f0f;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.separator {
    color: white;
    margin: 0 5px;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: white;
}

.footer-section .social-links {
    display: flex;
    gap: 25px;
    padding-left: 205px;

}

.footer-section .social-links .social-link {
    font-size: 20px;
    transition: 0.2s ease;
}

.footer-section .policy-text .policy-link {
    transition: 0.2s ease;
}

.footer-section .social-links .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: rgba(255, 102, 0, 255);
}

footer {
    position: relative;
    width: 100%;
    margin-top: auto;
    border-top: 3px solid rgba(255, 102, 0, 255);
}

@media screen and (max-width: 940px) {

    .footer-section {
        flex-direction: column;
        gap: 20px;
    }

    .about-section .section-content {
        flex-direction: column;
        text-align: center;
    }

    .about-section .section-details {
        max-width: 90%;
        text-align: center;
    }

    .about-section .social-links {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .gallery {
        margin-left: 0;
        transition: margin-left 0.3s ease, filter 0.3s ease;
    }

    body.show-mobile-menu .gallery {
        margin-left: 300px;
        filter: blur(5px);
    }

    body.show-mobile-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: none;
    }
}


.usluga {
    background: linear-gradient(145deg, #151515, #1f1f1f);
    border-radius: 14px;
    padding: 28px;
    margin: 20px auto;
    max-width: 950px;

    border-bottom: 2px solid #ff6600;

    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.35);
    transition: transform .28s ease, box-shadow .28s ease;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usluga:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.55);
}



.titleuslugi {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.description-uslugi {
    color: #dddddd;
    font-size: 16px;
    line-height: 1.7;
}



@media(max-width: 1024px) {
    .usluga {
        max-width: 90%;
    }
}

@media(max-width: 768px) {
    .titleuslugi {
        font-size: 20px;
    }

    .description-uslugi {
        font-size: 14px;
    }
}

@media(max-width: 480px) {
    .usluga {
        padding: 18px;
        border-radius: 12px;
    }

    .titleuslugi {
        font-size: 18px;
    }

    .description-uslugi {
        font-size: 13px;
    }
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
    transition: margin-left 0.3s ease;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
}

#expandedImg {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }
}


.contact-section {
    padding: 60px 0;
    background-color: #1f1f1f;
}

.contact-section,
.section-content,
.section-title,
h2 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.contact-info-container {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    background-color: #121212;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: white;
}

.info-item,
p {
    color: lightgray;
}

.info-item i {
    color: rgba(255, 102, 0, 1);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.info-item a {
    color: rgba(255, 102, 0, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #ff7b2a;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #121212;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    color: #e6e6e6;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    background-color: #0d0d0d;
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 102, 0, 1);
    outline: none;
}

.submit-button {
    padding: 12px 20px;
    background-color: rgba(255, 102, 0, 1);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #ff7b2a;
}

@media (max-width: 768px) {

    .contact-info-container,
    .contact-form-container {
        padding: 15px;
    }

    .info-item {
        font-size: 14px;
    }

    .info-item i {
        font-size: 16px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    .submit-button {
        font-size: 14px;
        padding: 10px 15px;
    }
}



.slider-section {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slides {
    display: flex;
    width: 500%;
}

.slide {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slider-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(255, 102, 0, 255);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: #e65c00;
}


.services-intro-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.services-intro-section .section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-intro-section .text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.read-more-button {
    padding: 10px 20px;
    background-color: rgba(255, 102, 0, 255);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.read-more-button:hover {
    background-color: #e65c00;
}


.contact-cta-section {
    background-color: #0f0f0f;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-cta-section .section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-cta-section .text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: gray;
}

.cta-button {
    padding: 10px 20px;
    background-color: rgba(255, 102, 0, 255);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e65c00;
}

.mainlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    animation: fadeIn 2s ease-in-out;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.logoindex {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    border-radius: 550px;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.certificates-section {
    padding: 60px 20px;
    background-color: #0f0f0f;
    text-align: center;
}

.certificates-section .section-title {
    font-size: 32px;
    margin-bottom: 35px;
    color: #e65c00;
    font-weight: 700;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #1a1a1a;
    cursor: pointer;
}

.certificate-item:hover {
    transform: translateY(-6px);
    border-color: #e65c00;
    box-shadow: 0 0 12px rgba(230, 92, 0, 0.3);
}

.certificate-image {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 8px;
}

.cert-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.cert-modal img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cert-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.cert-close:hover {
    color: #e65c00;
}


@media(max-width: 900px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

.navbar .nav-menu .login-icon {
    margin-left: auto;

}

.navbar .nav-menu .login-icon .nav-link2 {
    display: flex;
    align-items: center;
    gap: 8px;

    color: rgba(255, 102, 0, 255);

    font-size: 16px;

    transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar .nav-menu .login-icon .nav-link2:hover {
    color: black;
    background-color: rgba(255, 102, 0, 255);
    border-radius: 15px;

}


.login-icon {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
}

.dropdown-menu p {
    margin: 0 0 10px 0;
    padding: 5px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.dropdown-link {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.dropdown-link:hover {
    background-color: #f1f1f1;
}

.login-icon:hover .dropdown-menu {
    display: block;
}

.nav-link2 {
    cursor: pointer;
}


@media screen and (max-width: 900px) {
    body.show-mobile-menu {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}



.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #0f0f0f;
    background-image: url("images/HYDRO-MIN_logo_kolor_PNG.png");
    background-repeat: no-repeat;
    background-position: right 60px center;
    background-size: 58%;
    display: flex;
    align-items: center;
    padding-left: 70px;
    box-sizing: border-box;
    overflow: hidden;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 580px;
    animation: slideFade 1.8s ease forwards;
    opacity: 0;
    transform: translateX(-40px);
}

.hero-content h1 {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.hero-content p {
    font-size: 20px;
    margin: 20px 0 40px;
    color: #f0f0f0;
}


.hero-btn {
    background: #e65c00;
    padding: 15px 32px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}


@keyframes slideFade {
    0% {
        opacity: 0;
        transform: translateX(-60px);

    }

    100% {
        opacity: 1;
        transform: translateX(0);

    }
}


@media(max-width: 900px) {

    .hero {
        height: 700px;
        min-height: 400px;
        padding: 60px 22px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        background-size: 150%;
        background-position: center;
    }

    .hero-overlay {
        filter: blur(2px);
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto 40px;
        transform: none;
        opacity: 0;
        animation: slideFade 1.4s ease forwards;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 17px;
        margin: 18px 0 28px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 13px 26px;
    }
}

@keyframes slideFadeMobile {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.uslugi-section {
    background: #0f0f0f;
    padding: 60px 40px;
    color: white;
}

.uslugi-section h2 {
    color: #e65c00;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

.uslugi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.usluga-box {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.usluga-box:hover {
    transform: translateY(-6px);
    border-color: #e65c00;
}

.usluga-box i {
    font-size: 38px;
    color: #e65c00;
    margin-bottom: 15px;
}

.usluga-box h3 {
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 700;
}

.usluga-box p {
    font-size: 14px;
    color: #cccccc;
}

@media(max-width: 900px) {
    .uslugi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .uslugi-grid {
        grid-template-columns: 1fr;
    }
}


.hide-navbar .navbar {
    opacity: 0;
    pointer-events: none;
}

.contact-panel {
    background: #1a1a1a;
    padding: 100px 20px;
    color: white;
}

.contact-panel-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-left {
    text-align: center;
    color: white;
}

.phone-number {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
    color: white;
}

.contact-btn {
    display: inline-block;
    background: #e65c00;
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #ff771c;
}

.contact-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 35px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contact-feature i {
    color: #e65c00;
    font-size: 20px;
}



@media(max-width: 900px) {
    .contact-panel-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-left {
        text-align: center;
    }

    .contact-right {
        grid-template-columns: 1fr;
    }

    .phone-number {
        font-size: 32px;
    }
}