html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;

    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;

    background: linear-gradient(to bottom, #0d0d0d, #161616);

    color: #f5f5f5;

    overflow-x: hidden;
}

main {
    flex: 1;
}

/* ОБЩИЕ КАРТИНКИ */

img {
    max-width: 100%;
    display: block;
}

/* HEADER */

header {
    background: rgba(15,15,15,0.92);

    backdrop-filter: blur(10px);

    color: white;

    padding: 18px 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* LOGO */

.logo {
    position: absolute;
    left: 25px;
}

.logo img {
    width: 60px;
    height: auto;

    border-radius: 12px;

    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* NAVIGATION */

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #e5e5e5;

    text-decoration: none;

    font-size: 17px;
    font-weight: 500;

    position: relative;

    transition: 0.3s;
}

nav a:hover {
    color: #f0c330;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #f0c330;

    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* LANGUAGE SWITCH */

.lang-switch {
    position: absolute;

    right: 30px;

    display: flex;
    gap: 10px;

    background: rgba(255,255,255,0.05);

    padding: 8px 12px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.08);
}

.lang-switch img {
    width: 32px;
    height: 22px;

    object-fit: cover;

    border-radius: 4px;

    transition: 0.3s;

    cursor: pointer;

    border: 2px solid transparent;
}

.lang-switch img:hover {
    transform: scale(1.08);

    border-color: #f0c330;
}

/* SECTIONS */

section {
    padding: 60px 8%;
    text-align: center;
}

/* TITLES */

h1, h2, h3 {
    color: white;
}

/* BUTTONS */

button,
.service-btn,
#submit-btn {
    background: #f0c330;

    color: #111;

    border: none;

    border-radius: 12px;

    padding: 12px 24px;

    font-weight: bold;
    font-size: 15px;

    cursor: pointer;

    transition: 0.3s ease;

    box-shadow: 0 6px 18px rgba(240,195,48,0.25);
}

button:hover,
.service-btn:hover,
#submit-btn:hover {
    transform: translateY(-3px);

    background: #ffd95a;

    box-shadow: 0 10px 25px rgba(240,195,48,0.35);
}


/* SLIDER */

.slider {
    position: relative;

    width: 700px;
    height: 350px;

    margin: 40px auto;

    overflow: hidden;

    border-radius: 20px;
}

.slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1s ease;
}

.slide:first-child {
    opacity: 1;
}

/* INFO CARDS */

.cards {
    display: flex;

    justify-content: center;
    gap: 25px;

    flex-wrap: wrap;

    margin-top: 50px;
}

.card {
    background: rgba(255,255,255,0.05);

    width: 240px;

    padding: 25px;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.35);

    transition: 0.3s ease;

    border: 1px solid rgba(255,255,255,0.06);
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    margin-bottom: 12px;

    color: #f0c330;
}

/* SERVICE CARDS */

.service-cards {
    display: flex;

    justify-content: center;
    gap: 30px;

    flex-wrap: wrap;

    margin-top: 50px;
}

.service-card {
    position: relative;

    width: 260px;
    height: 330px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.4);

    transition: 0.4s ease;

    border: 1px solid rgba(255,255,255,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.08);
}

/* OVERLAY */

.overlay,
.project-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to top,
            rgba(0,0,0,0.88),
            rgba(0,0,0,0.2)
    );

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 20px;
}

.overlay h3,
.project-overlay h3 {
    color: white;

    font-size: 24px;

    margin-bottom: 10px;
}

.overlay p {
    color: #ddd;

    margin-bottom: 15px;
}

/* REQUEST FORM */

.request-section {
    padding: 70px 10%;
}

.request-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    flex-wrap: wrap;
}

.request-left,
.request-right {
    flex: 1;

    min-width: 300px;
}

.request-left h2 {
    font-size: 48px;

    margin-bottom: 10px;
}

.request-subtitle {
    color: #bdbdbd;

    margin-bottom: 30px;

    font-size: 18px;
}

#request-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

#request-form input,
    /* SELECT */

#request-form select {
    appearance: none;

    background: rgba(255,255,255,0.05);

    color: white;

    border: 1px solid rgba(240,195,48,0.4);

    border-radius: 14px;

    padding: 14px 18px;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s ease;

    outline: none;
}

/* hover */

#request-form select:hover {
    border-color: #f0c330;
}

/* focus */

#request-form select:focus {
    border-color: #ffd95a;

    box-shadow: 0 0 12px rgba(240,195,48,0.35);
}

/* OPTIONS */

#request-form option {
    background: #1b1b1b;

    color: white;

    padding: 12px;
}
#request-form input::placeholder {
    color: #aaa;
}

.request-right img {
    width: 100%;
    max-width: 380px;

    height: auto;

    margin: auto;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* PROJECTS */

.projects-section h2 {
    font-size: 42px;

    margin-bottom: 40px;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border-radius: 18px;

    height: 220px;

    transition: 0.4s ease;

    border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 10px 30px rgba(240,195,48,0.15);
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

/* CONTACTS */

/* CONTACTS */

.contacts-section {
    padding: 100px 8%;

    text-align: center;
}

.contacts-section h2 {
    font-size: 48px;

    margin-bottom: 50px;

    color: white;
}

.contacts-grid {
    display: flex;

    justify-content: center;

    gap: 40px;

    flex-wrap: wrap;
}

.contact-card {
    width: 320px;

    padding: 40px 30px;

    border-radius: 24px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    transition: 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);

    border-color: rgba(240,195,48,0.4);

    box-shadow: 0 15px 40px rgba(240,195,48,0.15);
}

.contact-icon {
    font-size: 52px;

    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 28px;

    margin-bottom: 20px;

    color: white;
}

.contact-card a {
    display: block;

    color: #f0c330;

    text-decoration: none;

    margin: 10px 0;

    font-size: 18px;

    transition: 0.3s;
}

.contact-card a:hover {
    color: #ffd95a;

    transform: scale(1.03);
}

.contact-card p {
    font-size: 32px;

    color: #f0c330;

    font-weight: bold;

    margin-bottom: 10px;
}

.contact-card span {
    color: #cfcfcf;

    font-size: 18px;
}

/* FOOTER */

footer {
    background: #111;

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 35px 20px;

    text-align: center;

    margin-top: 50px;
}

footer p {
    margin: 6px 0;

    color: #cfcfcf;

    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    header {
        flex-direction: column;

        gap: 20px;

        padding: 20px;
    }

    nav {
        flex-wrap: wrap;

        justify-content: center;
    }

    .lang-switch {
        position: static;
    }

    .logo {
        position: static;
    }

    .request-left h2 {
        font-size: 38px;
    }

    .slider {
        height: 260px;
    }

    .service-card {
        width: 100%;
        max-width: 320px;
    }

    .project-card {
        height: 220px;
    }
}
/* ГЛАВНАЯ КАРТИНКА */

.home-image {
    width: 100%;

    max-width: 700px;

    height: 350px;

    object-fit: cover;

    border-radius: 20px;

    margin: 30px auto;

    display: block;

    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* КАРТИНКИ НА ГЛАВНОЙ */

.gallery {
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 40px;
}

.gallery img {
    width: 260px;

    height: 170px;

    object-fit: cover;

    border-radius: 16px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.35);

    transition: 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}