/* =========================
   ОБЩИЕ НАСТРОЙКИ
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #fff;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #d4af37;
}

.section-text {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
    color: #aaa;
}


/* =========================
   HEADER
========================= */

header {
    background: #0b0b0b;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    width: 150px;
    max-height: 70px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #ddd;
    transition: 0.3s;
}

nav a:hover {
    color: #d4af37;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.instagram {
    color: #aaa;
    transition: 0.3s;
}

.instagram:hover {
    color: #d4af37;
}

.phones {
    display: flex;
    flex-direction: column;
}

.phones h3 {
    font-size: 14px;
    color: #d4af37;
}

.phone {
    color: #ddd;
    font-size: 14px;
}

.phone:hover {
    color: #d4af37;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    padding: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("hero.jpg") center / cover no-repeat;
}

.overlay {
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero p {
    max-width: 700px;
    font-size: 18px;
    color: #ddd;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: #d4af37;
    color: #111;
    border: 2px solid #d4af37;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: transparent;
    color: #d4af37;
}

.btn-outline {
    background: transparent;
    color: #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: #111;
}


/* =========================
   УСЛУГИ
========================= */

.services {
    background: #151515;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #292929;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.service-card h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.service-card p {
    color: #aaa;
}


/* =========================
   ПРЕИМУЩЕСТВА
========================= */

.advantages {
    background: #101010;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.advantage {
    text-align: center;
    padding: 30px;
    background: #1a1a1a;
    border-radius: 10px;
}

.advantage span {
    display: block;
    color: #d4af37;
    font-size: 45px;
    font-weight: bold;
}

.advantage h3 {
    color: #ddd;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 30px;
}

.item {
    color: #ccc;
}


/* =========================
   КАТАЛОГ
========================= */

.catalog {
    background: #151515;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.catalog-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s ease;

    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.catalog-card img {
    width: 100%;
    height: 300px;

    object-fit: contain;

    padding: 10px;

    background: #111;
}


/* =========================
   НАШИ РАБОТЫ
========================= */

.works {
    background: #101010;
}

.works-slider {
    width: 100%;
    max-width: 900px;
    height: 550px;

    margin: 0 auto;

    position: relative;
    overflow: hidden;

    border-radius: 12px;
    background: #1a1a1a;
    border: 1px solid #222;
}

.works-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.work-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    padding: 10px;

    opacity: 0;

    transition: opacity 1.2s ease-in-out;
}

.work-slide.active {
    opacity: 1;
}

.slider-btn {
    display: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;

    border: none;
    border-radius: 50%;

    background: #555;
    cursor: pointer;

    transition: 0.3s;
}

.slider-dot.active {
    background: #d4af37;
    transform: scale(1.4);
}


/* =========================
   О КОМПАНИИ
========================= */

.about {
    background: #151515;
}

.about p {
    max-width: 850px;
    margin: 0 auto 20px;
    color: #ccc;
    text-align: center;
}

.about strong {
    color: #d4af37;
}


/* =========================
   ФОРМА ЗАЯВКИ
========================= */

.request {
    background: #101010;
}

#requestForm {
    max-width: 600px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

#requestForm input,
#requestForm textarea {
    width: 100%;

    padding: 15px;

    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;

    color: #fff;
    font-size: 16px;

    outline: none;
}

#requestForm input:focus,
#requestForm textarea:focus {
    border-color: #d4af37;
}

textarea {
    min-height: 120px;
    resize: vertical;
}


/* =========================
   КОНТАКТЫ
========================= */

.contacts {
    background: #101010;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-item {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #222;
}

.contact-item h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

.contact-item a {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
}

.contact-item a:hover {
    color: #d4af37;
}

.contact-item p {
    color: #aaa;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #080808;
    padding: 50px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-logo h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-contact a {
    color: #aaa;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #d4af37;
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;

    border-top: 1px solid #222;

    text-align: center;
    color: #666;
}


/* =========================
   АДАПТИВНОСТЬ
========================= */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-slider {
        height: 500px;
    }

    header .container {
        flex-wrap: wrap;
        padding: 15px 0;
    }
}


@media (max-width: 768px) {

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 30px;
    }

    header .container {
        justify-content: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 550px;
    }

    .overlay {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .catalog-card {
        min-height: 250px;
    }

    .catalog-card img {
        height: 250px;
    }

    .works-slider {
        height: 400px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }
}


@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card img {
        height: 300px;
    }

    .works-slider {
        height: 350px;
    }

    .header-right {
        flex-direction: column;
    }
}
