
/* =========================
   1. ОСНОВА
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #F2EFE8;
    color: #171717;
    font-family: Arial, sans-serif;
}

/* =========================
   2. ШАПКА
========================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    border-bottom: 1px solid #171717;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: #171717;
    text-decoration: none;
    letter-spacing: -2px;
}

/* Зеркальная буква G */

.logo .mirror-g {
    display: inline-block;
    transform: scaleX(-1);
    margin-left: 3px;
    margin-right: 0px;
}

/* Знак регистрации */

.logo .reg {
    color: #FF6247;
    font-size: 13px;
    vertical-align: top;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #171717;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.nav a:hover {
    color: #FF6247;
}

.header-label {
    font-size: 10px;
    letter-spacing: 1px;
}

/* =========================
   3. ГЛАВНЫЙ ЭКРАН
========================= */

.hero {
    padding: 85px 5% 65px;
    border-bottom: 1px solid #171717;
}

.hero-label,
.small-label {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(65px, 12vw, 155px);
    line-height: 0.82;
    letter-spacing: -9px;
    margin: 45px 0;
}

.hero h1 span {
    color: #FF6247;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.hero-bottom p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}

.hero-sticker {
    background: #D7FF36;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    transform: rotate(10deg);
}

/* =========================
   4. ГАЛЕРЕЯ
========================= */

.gallery {
    padding: 75px 5%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #171717;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 30px;
    letter-spacing: -1px;
}

.section-heading span {
    font-size: 11px;
}

.art-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 35px;
    align-items: start;
}

.art-card-small {
    margin-top: 100px;
}

.art-image {
    overflow: hidden;
    background: #ddd;
}

.art-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.art-card:hover img {
    transform: scale(1.04);
}

.art-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    border-bottom: 1px solid #171717;
}

.art-info h3 {
    font-size: 17px;
}

.art-info span {
    font-size: 10px;
}

/* =========================
   5. ОБ АВТОРЕ
========================= */

.about {
    padding: 100px 5%;
    background: #D7FF36;
}

.about h2 {
    font-size: clamp(60px, 10vw, 120px);
    line-height: 0.85;
    letter-spacing: -6px;
}

.about p {
    font-size: 17px;
}

/* =========================
   6. КОНТАКТЫ
========================= */

.contact {
    padding: 100px 5%;
    background: #171717;
    color: #F2EFE8;
}

.contact h2 {
    font-size: clamp(65px, 11vw, 135px);
    line-height: 0.85;
    letter-spacing: -6px;
}

.contact-link {
    display: inline-block;
    color: #171717;
    background: #FF6247;
    padding: 18px 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.contact-link:hover {
    background: #D7FF36;
}

/* =========================
   7. ПОДВАЛ
========================= */

.footer {
    display: flex;
    justify-content: space-between;
    padding: 25px 5%;
    font-size: 10px;
    font-weight: bold;
}

/* =========================
   8. АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ
========================= */

@media (max-width: 900px) {

    .header-label {
        display: none;
    }

    .art-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .art-card-small {
        margin-top: 60px;
    }

    .hero h1 {
        letter-spacing: -5px;
    }
}


/* =========================
   9. АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ
========================= */

@media (max-width: 600px) {

    body {
        padding: 0;
    }

    /* Шапка */

    .header {
        padding: 18px 5%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 10px;
    }

    /* Главный экран */

    .hero {
        padding: 65px 5% 40px;
    }

    .hero h1 {
        font-size: clamp(48px, 11vw, 68px);
        letter-spacing: -3px;
        margin: 35px 0;
    }

    .hero-bottom p {
        font-size: 12px;
    }

    .hero-sticker {
        width: 75px;
        height: 75px;
        font-size: 10px;
    }

    /* Галерея */

    .gallery {
        padding: 50px 5%;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .section-heading span {
        font-size: 9px;
    }

    .art-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .art-card-small {
        margin-top: 0;
    }

    .art-info {
        flex-wrap: wrap;
    }

    /* Об авторе */

    .about {
        padding: 65px 5%;
    }

    .about h2 {
        font-size: 60px;
        letter-spacing: -3px;
    }

    /* Контакты */

    .contact {
        padding: 60px 5%;
    }

    .contact h2 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    /* Подвал */

    .footer {
        padding: 20px 5%;
        flex-direction: column;
        gap: 10px;
    }
}
