@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat;
}
.header {
    padding: 20px 0;
    background: rgba(190, 4, 4, 0.879);
    color: white;
}
.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
}
.nav {
    display: flex;
    gap: 20px;
}
.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}
.nav a:hover {
    text-decoration: underline;
}
.butn {
    padding: 10px 20px;
    background: #3d6bf5d6;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.butn:hover {
    background: #e6b800;
}
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}

.main__content {
    display: flex;
    align-items: center;
    padding: 50px;
    gap: 130px;
}
.text-content {
    max-width: 50%;
}
.title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}
.title span {
    color: rgba(190, 4, 4, 0.879);
}
.subtitle {
    font-size: 20px;
    margin: 20px 0;
    color: #555;
}
.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}
.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
}
.benefit img {
    width: 40px;
    height: 40px;
}
.button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #0094ff, #0078e7);
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    margin-top: 20px;
}
.button:hover {
    background: linear-gradient(180deg, #0078e7, #005bb5);
}
.image-content img {
    width: 500px;
}
@media (max-width: 768px) {
    .text-content {
        max-width: 100%;
    }
    .benefits {
        grid-template-columns: 1fr;
    }
}

.services__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 50px 0;
}
.service {
    background: linear-gradient(90deg, rgba(0,0,0,0.8492647058823529) 0%, rgba(0,0,0,0.5775560224089635) 0%), url('../img/mario-bg.jpg') no-repeat center center;
    background-size: cover;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 12px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    font-weight: 600;
    font-family: 'Press Start 2P', cursive;
}

.service:hover {
    transform: translateY(-10px);
}

.price {
    padding: 50px 0;
}
table {
    width: 90%;
    border-collapse: collapse;
    margin: 0 auto;
    margin-top: 50px;
}
th, td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background: rgba(190, 4, 4, 0.879);
    color: white;
}
tr:nth-child(even) {
    background: #f9f9f9;
}

.price-btn {
    text-align: center;
}

.service-call {
    background-color: #ebebeb;
}

.service-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    margin: 50px auto;
}

.text-section {
    max-width: 50%;
}

.text-section h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.text-section p {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

.image-section img {
    width: 200px;
}

.button-section {
    display: flex;
    align-items: center;
}

.call-button {
    background-color: #00aaff;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.call-button:hover {
    background-color: #0088cc;
}

h2 {
    text-align: center;
    font-family: 'Press Start 2P';
}

.service-call h2 {
    font-family: Montserrat;
}

.advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #005bb5, #003f7f);
    color: white;
    text-align: center;
}

.advantages h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.advantages__content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.advantages__card {
    max-width: 360px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.advantages__card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
}

.advantages__item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.advantages__card:hover .advantages__item img {
    transform: rotate(10deg) scale(1.1);
}

.advantages__item h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffdf00;
}

.advantages__item p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.plumbers {
    text-align: center;
    padding: 50px 0;
}

.plumber-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.plumber-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.plumber-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.plumber-card p {
    margin: 5px 0;
    font-size: 14px;
}

.stars {
    font-size: 16px;
    color: gold;
}

.swiper-wrapper {
    margin-bottom: 50px;
}

.about {
    padding: 50px 0;
}

.about h2 {
    margin-bottom: 30px;
}

.about p, li, a {
    font-size: 18px;
}

.reviews {
    background: #f3f3f3;
    padding: 50px 20px;
    text-align: center;
}   

.reviews-title {
    font-size: 36px;
    color: #d52a1f;
    font-family: 'Press Start 2P', cursive;
    margin-bottom: 30px;
}

.swiper {
    width: 80%;
    margin: auto;
}

.swiper-slide {
    display: flex !important;
    justify-content: space-between;
    gap: 20px;
}

.review {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 48%;
    text-align: left;
    font-size: 16px;
}

.review-author {
    font-weight: bold;
    color: #d52a1f;
    font-size: 14px;
}

.review-text {
    font-style: italic;
    margin: 10px 0;
}

.stars {
    font-size: 20px;
    color: #ffcc00;
}

.swiper-button-prev,
.swiper-button-next {
    color: #d52a1f;
    font-size: 24px;
}

.reviews h2 {
    margin-bottom: 50px;
}

.contacts {
    background: linear-gradient(135deg, #f8f8f8, #e9e9e9);
    padding: 80px 20px;
    text-align: center;
}

.contacts-title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.contacts-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ff5733;
    margin: 10px auto 0;
    border-radius: 2px;
}

.contacts-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.contacts-info {
    width: 45%;
    text-align: left;
    font-size: 18px;
    color: #444;
}

.contacts-info p {
    margin: 15px 0;
    font-size: 17px;
    line-height: 1.6;
    transition: 0.3s ease-in-out;
}

.contacts-info p:hover {
    color: #ff5733;
    transform: scale(1.02);
}

.contacts-info a {
    color: #ff5733;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.contacts-info a:hover {
    text-decoration: underline;
    color: #ff914d;
}

.socials {
    margin: 25px 0;
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 42px;
    transition: transform 0.3s, filter 0.3s;
}

.social-link img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 0px 10px rgba(255, 87, 51, 0.6));
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff5733, #ff914d);
    color: white !important;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(255, 87, 51, 0.4);
}

.contact-btn:hover {
    background: linear-gradient(90deg, #ff914d, #ff5733);
    box-shadow: 0px 8px 25px rgba(255, 87, 51, 0.5);
    transform: translateY(-2px);
}

.contacts-map {
    width: 45%;
    position: relative;
}

.contacts-map iframe {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    border: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.contacts-map iframe:hover {
    transform: scale(1.02);
}

.footer {
    background: #d52a1f;
    color: white;
    padding: 50px 20px;
    font-size: 16px;
    text-align: center;
    font-family: 'Press Start 2P', cursive; /* 8-bit стиль Mario */
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
}

.footer .container {
    max-width: 1200px;
    margin: auto;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 3px solid yellow;
}

.footer-logo img {
    max-width: 150px;
    transition: transform 0.3s ease-in-out;
}

.footer-logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
}

.footer-menu a::before {
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: yellow;
    transform: scale(1.1);
}

.footer-menu a:hover::before {
    opacity: 1;
    left: -25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials .social-link img {
    width: 40px;
    transition: transform 0.3s, filter 0.3s;
}

.footer-socials .social-link img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 0px 10px yellow);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
    font-family: Arial, sans-serif;
}

.footer-bottom a {
    color: yellow;
    text-decoration: underline;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: white;
    text-shadow: 0px 0px 5px yellow;
}

.dekstop {
    display: block !important;
}

.mobile {
    display: none !important;
}

@media (min-width: 300px) and (max-width: 720px) {

    .dekstop {
        display: none !important;
    }
    
    .mobile {
        display: block !important;
    }

    .header nav, .butn {
        display: none;
    }

    h1 {
        text-align: center;
    }

    .subtitle {
        text-align: center;
    }

    .image-content img {
        width: 300px;
        text-align: center;
    }

    .service-block {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .service-call {
        padding-top: 10px;
    }

    table {
        width: 100%;
    }

    .advantages h2 {
        font-size: 23px;
    }

    .about p, li, a {
        font-size: 17px;
    }

    .review {
        width: 100%;
    }

    .swiper-wrapper {
        margin-bottom: 0px;
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        color: #d52a1f;
        z-index: 999;
        font-size: 28px !important;
    }

    .swiper-button-next:after {
        margin-left: 30px;
    }

    .swiper-button-prev:after {
        margin-right: 30px;
    }

    .contacts-info, .contacts-map {
        width: 100%;
    }

    .footer-menu {
        flex-direction: column;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}