* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #111;
    color: white;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    margin-left: 12px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* HERO SPLIT */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 70vh;
}

.hero-left {
    padding: 40px;
    text-align: center;
}

.hero-left h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.hero-left p {
    opacity: 0.85;
    margin-bottom: 15px;
}

.hero-left .btn {
    background: #c59d5f;
    color: #000;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.hero-right img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin: auto;
    margin-top: 20px;
}

/* FILTER */
.filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.filter button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.filter button.active,
.filter button:hover {
    opacity: 1;
    background: #c59d5f;
    color: #000;
}

/* GALLERY Masonry */
.gallery {
    column-count: 2;
    column-gap: 10px;
}

.gallery img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover {
    opacity: 0.85;
}

/* ABOUT & CONTACT */
.about,
.contact {
    text-align: center;
    padding: 50px 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

input,
textarea {
    padding: 12px;
    border-radius: 6px;
    border: none;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: #000;
    color: white;
    font-size: 14px;
}

/* DESKTOP */
@media(min-width:768px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero-left {
        text-align: left;
    }

    .gallery {
        column-count: 3;
    }

    .hero-left h1 {
        font-size: 36px;
    }
}

body {
    font-size: 0.7rem;
}

/* Красивая форма контакта */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(min-width:500px) {
    .contact-form .form-row {
        flex-direction: row;
    }

    .contact-form .form-row input {
        flex: 1;
    }
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    background: #222;
    color: white;
    font-size: 14px;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    background: #c59d5f;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #a4784f;
}

.back {
    color: #f3ebeb;
    text-decoration: none;
    background: #000000;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.973);
    transition: .25s;
}

.back:hover {
    transform: translateY(-2px);
    background: #f5f3f3;
    color: #0e0101;
}

/* MOBILE ADAPTIVE - max-width: 768px */
@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 22px;
    }

    .hero-left p {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    .hero {
        min-height: 50vh;
    }

    .hero-left {
        padding: 25px;
    }

    .hero-right img {
        margin-top: 15px;
    }

    .filter {
        flex-wrap: wrap;
        gap: 8px;
        margin: 15px 0;
    }

    .filter button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .gallery {
        column-count: 2;
        padding: 15px;
    }

    .about,
    .contact {
        padding: 35px 15px;
    }

    .contact-form {
        padding: 0 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .header {
        padding: 10px;
    }

    .logo {
        font-size: 14px;
        white-space: nowrap;
    }

    nav a {
        font-size: 13px;
        margin-left: 5px;
        white-space: nowrap;
    }

    .back {
        font-size: 14px;
        padding: 6px 8px;
        white-space: nowrap;
        position: fixed;
        bottom: 50px;
        right: 20px;
        z-index: 9999;
    }

    footer {
        padding: 18px;
        font-size: 12px;
    }
}

.logo {
    font-size: 24px;
}