* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    background: #21282e;
    line-height: 1.6;
}

.top__bar {
    background: #f4f4f4;
    padding: 10px;
    text-align: right;
    font-size: 14px;
}

.top__bar span {
    margin-left: 20px;
}

.conatainer {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    font-size: 24px;
    display: flex;
    font-weight: bold;
    flex-direction: column;
    align-items: center;
}

.logo img {
    width: auto;
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #f8f6f6;
    text-transform: uppercase;
    font-size: 20px;
}

.btn-quote {
    background: #ff0000;
    color: #fff;
    display: block;
    width: fit-content;
    font-weight: 700;
    cursor: pointer;
    text-wrap-mode: nowrap;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 0px;
}

.btn-quote:hover {
    background: #000000;
    color: #ff0000;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
}

.hero {
    position: relative;
    height: 650px;
    padding-top: 163px;
    display: flex;
    background-position: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero__content {
    max-width: 700px;
}

.hero__content h1 {
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 99;
}

.ceramic-info {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.ceramic-info .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ceramic-info h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.ceramic-info ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 20px 0;
}

.ceramic-info p,
.ceramic-info ul li {
    margin: 10px 0;
    color: #fff;
    text-align: start;
    font-size: 20px;
}

.services {
    padding: 50px 20px;
    background: #21282e;
    color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.services h3 {
    font-size: 20px;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service__item {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 5px;
}

.service__item img {
    width: 100%;
    height: auto;
}

.service__item h4 {
    font-size: 20px;
    margin: 10px 0;
    z-index: 1;
    color: #fff;
    font-size: 28px;
    position: relative;
}

.service__item p {
    z-index: 1;
    color: #fff;
    font-size: 24px;
    position: relative;
}

.service__item .btn-quote {
    color: #fff;
    margin-top: 20px;
    position: relative;
}

.testimonials {
    padding: 70px 20px;
    text-align: center;

}

.testimonials h2 {
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.testimonial__slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial__item {
    display: none;
}

.testimonial__item p {
    font-style: italic;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.testimonial__item span {
    display: block;
    color: #dfdbdb;
    font-size: 16px;
    margin-bottom: 10px;
}

.stars {
    color: #ff0;
}

footer {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer__left ul {
    list-style: none;
    margin-top: 20px;
}

.footer__left ul li {
    margin: 10px 0;
}

.footer__right a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: #fff;
        flex-direction: column;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

   

    
}

.container {
    max-width: 1250px;
    padding: 0 15px;
    margin: 0 auto;
}

.top__bar span,
.top__bar a {
    color: #333333;
    font-size: 16px;
}

.top__bar .container {
    display: flex;
    gap: 10px;
}

.header__wrap {
    background: #000;
    padding: 10px 0;
}

.header__wrap .container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.header__wrap span {
    color: #f4f4f4;
}

.ceramic-info__items {
    display: flex;
    padding: 90px 0;
    justify-content: center;
    gap: 60px;
}

.ceramic-info__item {
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.ceramic-info__item img {
    width: 190px;
    min-width: 190px;
    height: 190px;
    border-radius: 100%;
    border: 8px solid #e01818;
}

.ceramic-info__item p {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

.line {
    position: relative;
    width: 150px;
    margin: 30px auto 50px;

    border-top-color: #ff0000;
    border-top-style: dashed;
    border-top-width: 4px;


}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 колонки */
    grid-gap: 30px;
}

.service__item {
    position: relative;
    padding: 50px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.service__item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-3 {
    grid-column: 1 / 3;
    /* займати обидві колонки */
}
.service__item .overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service__item .overlay-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Дополнительное затемнение, если нужно */
}

.service__item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Тёмный полупрозрачный фон */
    z-index: 1;
    pointer-events: none; /* ВАЖНО! Делает оверлей "прозрачным" для кликов */
    
}

/* Специально для кнопки: делаем её яркой */
.overlay-container .btn-quote {
    background-color: #ff4444;
    color: #fff;
    font-weight: bold;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 6px;
    align-self: flex-start;
    z-index: 3;
    position: relative;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    transition: background-color 0.3s ease;
}

.overlay-container .btn-quote:hover {
    background-color: #e63b3b;
}

/* Адаптив */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* одна колонка */
    }

    .item-3 {
        grid-column: auto;
    }
}

.services h2 {
    font-size: 34px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonial-slider {
    padding: 40px 0;
}

.testimonial-item {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-item .stars {
    margin-top: 10px;
    color: #ffcc00;
}

footer {
    background: #1a1a1a;
    color: #fff;
    padding: 70px 20px 20px;
    text-align: center;
}

footer h4 {
    color: #e01818;
    font-size: 24px;
    font-weight: 700;
}

footer li a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
}

footer li {
    text-align: start;
}

.copy .container {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.copy a {
    margin-right: 10px;
    color: #c4c0c0;
}

.quote__index {
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
}

.quote__index .container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.quote__index h3 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.ceramic-info__wrap {
    display: flex;
    gap: 50px;
    margin: 40px 0;
    width: 100%;
}

.ceramic-info__wrap-item {
    flex: 1;
}

.ceramic-info__wrap-item img {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about .container {
    padding: 50px 15px;
}

.about h2 {
    color: #fff;
    font-size: 34px;
    text-align: center;
    font-weight: 900;
}

.about h3 {
    text-align: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.about p {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.about-text {
    padding: 50px 0;
    background-color: #fff;
}

.about-text h2 {
    font-size: 34px;
    font-weight: 900;
    color: #000;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #E02B20;
}

.about-text p {
    text-align: start;
    color: #6666;
    margin-bottom: 10px;
    font-size: 20px;
}

.about-text__wrapper {
    padding: 40px;
    display: flex;
    gap: 50px;
    border-color: #ff0000;
    border-right-width: 8px;
    border-bottom-width: 8px;
    box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
}

.about-text__wrap {
    flex: 1;
}

.about-text__wrap img {
    width: 100%;
}

.about-text__wrap .btn-quote {
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.about__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;

    max-width: 1600px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.about__gallery a img {
    width: 100%;
    height: 400px;
    border-radius: 0px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about__gallery a:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .about__gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about__gallery {
        grid-template-columns: 1fr;
    }
}

.contact {
    padding: 70px 0;
    background-color: #fff;

}

.contact__wrap {
    border-radius: 15px;
    padding: 40px;
    position: relative;

}

.contact__wrap::before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    z-index: 0;
    top: 0;
    background-color: #1c0705c4;
    bottom: 0;
}

.contact__wrap {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-direction: column;
    gap: 20px;
    align-items: start;
}

.contact__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.social {
    display: flex;
    gap: 20px;
}

.social a i {
    color: #fff;
    position: relative;
    font-size: 24px;
}

.contact__content a {
    font-size: 20px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: #fff;
}

.contact__content span,
.contact p {
    font-size: 20px;
    position: relative;
    color: #fff;
}

.contact h2 {
    color: #fff;
    font-size: 32px;
    position: relative;
}

.quote__form {
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}

.quote__form h3 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.quote__form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.quote__form input,
.quote__form select,
.quote__form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.quote__form button {
    outline: none;
    border: 0;
    cursor: pointer;
}

.contact__quote h2,
.contact__quote p {
    color: #1a1a1a;
}

.service__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 40px;
    background-color: #fff;
    padding: 150x;
    border-bottom: 10px solid #fc0202;
}

.check__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check__list li {
    position: relative;
    padding-left: 30px;
    text-align: start;
    color: #1a1a1a;
    margin-left: 10px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
}

.check__list li::before {
    content: "✔";
    position: absolute;
    left: -10px;
    top: 0;
    border: 2px solid #eb0000;
    /* background: #cc0000; */
    color: #eb0000;
    line-height: 10px;
    font-size: 35px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    font-weight: bold;
}

.service-item__item {
    padding: 15px;
    flex: 1;
}

.service-item__item h3 {
    color: #333333;
    font-size: 28px;
    text-align: start;
    font-weight: 900;
    margin-bottom: 30px;
}

.service-item__item span {
    margin-bottom: 10px;
    font-size: 18px;
    display: block;
    color: #6666;
    text-align: start;
}

span.price {
    margin-bottom: 20px;
    font-weight: 700;
    color: #E02B20;
    font-size: 22px;
}

.service-item__item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.service-item__item p {
    text-align: start;
    font-size: 20px;
    color: #333333;
}

.terms {
    padding: 250px 0;
}

.terms ul {
    margin: 0;
    list-style: circle;
    padding-left: 20px;
}

.terms .ceramic-info__wrap {
    display: flex;
    gap: 50px;
    margin: 0px 0;
    width: 100%;
}

.terms h3 {
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        height: 100vh ;
    }
    .hero .btn-quote{
        margin: 0 auto;
    }
    .ceramic-info__items {
        display: flex
    ;
        padding: 90px 0;
        justify-content: center;
        gap: 60px;
        flex-direction: column;
    }
    .top__bar .container {
        display: flex
    ;
        gap: 10px;
        flex-wrap: wrap;
    }
    .burger span {
        width: 30px;
        height: 5px;
        background: #ffffff;
        margin: 2px 0;
    }
    .nav-links {
       
        width: 100%;
        position: absolute;
        top: 200px;
        padding: 40px 20px;
        left: 0;
        background: #000000;
        flex-direction: column;
        text-align: center;
    }
    .ceramic-info__wrap {
        display: flex
    ;
        gap: 50px;
        margin: 40px 0;
        width: 100%;
        flex-direction: column;
    }
    .quote__index .container {
        display: flex
    ;
        gap: 20px;
        align-items: center;
        flex-direction: column;
    }
    .about-text__wrapper {
        padding: 40px;
        display: flex
    ;
        gap: 50px;
        border-color: #ff0000;
        border-right-width: 8px;
        border-bottom-width: 8px;
        box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
        flex-direction: column;
    }
    .contact__content a {
        font-size: 17px;
        font-weight: 500;
        display: block;
        position: relative;
        text-decoration: none;
        color: #fff;
    }
    .contact__wrap {
        border-radius: 15px;
        padding: 10px;
        position: relative;
    }
    .cook {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #222;
        color: #fff;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 9999;
        font-size: 14px;
        flex-wrap: wrap;
      }
      
      .cook p {
        margin: 0;
      }
      
      .cook a {
        color: #f44336;
        text-decoration: underline;
      }
      
      .cook button {
        background: #f44336;
        color: white;
        border: none;
        padding: 8px 16px;
        cursor: pointer;
        border-radius: 4px;
        margin-left: 15px;
        font-weight: bold;
      }
      
      .cook.hide {
        display: none;
      }
      .hero__content h1 {
        font-size: 40px;
        text-transform: uppercase;
        margin-bottom: 20px;
        line-height: 110%;
    }
}
