* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
}

/* ================= БОКОВОЕ МЕНЮ ================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #050505;
    border-right: 1px solid #1a1a1a;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: #c9a961;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-text {
    color: #fff;
    font-size: 13px;
    letter-spacing: 3px;
    line-height: 1.3;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.sidebar-nav a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 0;
    border-bottom: 1px solid #1a1a1a;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-nav a span {
    color: #444;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

.sidebar-nav a:hover {
    color: #c9a961;
    padding-left: 10px;
}

.sidebar-nav a:hover span {
    color: #c9a961;
}

.sidebar-bottom {
    padding-top: 25px;
    border-top: 1px solid #1a1a1a;
}

.sidebar-phone {
    color: #c9a961;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.sidebar-address {
    color: #555;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ================= КОНТЕНТ СПРАВА ================= */
.content {
    margin-left: 280px;
}

/* ================= БАННЕР ================= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
                url('images/banner.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.hero-overlay {
    text-align: center;
    max-width: 800px;
}

.hero-label {
    color: #c9a961;
    font-size: 12px;
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 90px;
    line-height: 0.95;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 30px;
}

.hero-desc {
    color: #aaa;
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: #c9a961;
    color: #0a0a0a;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 4px;
    transition: 0.3s;
}

.btn:hover {
    background: #e0bb6e;
    transform: translateX(5px);
}

/* ================= ОБЩЕЕ ================= */
section {
    padding: 100px 80px;
    border-bottom: 1px solid #1a1a1a;
}

.section-label {
    color: #c9a961;
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

h2 {
    font-size: 52px;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 60px;
    line-height: 1;
}

/* ================= УСЛУГИ ================= */
.services {
    background: #0a0a0a;
}

.price-table {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
}

.price-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 35px 0;
    border-bottom: 1px solid #1a1a1a;
    transition: 0.3s;
}

.price-row:hover {
    padding-left: 20px;
}

.price-num {
    color: #333;
    font-size: 32px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.price-row:hover .price-num {
    color: #c9a961;
}

.price-info h3 {
    color: #fff;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.price-info p {
    color: #666;
    font-size: 14px;
}

.price-value {
    color: #c9a961;
    font-size: 26px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ================= ГАЛЕРЕЯ ================= */
.gallery {
    background: #0f0f0f;
}

.gallery-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.photo {
    background-size: cover;
    background-position: center;
    filter: grayscale(80%);
    transition: 0.5s;
    cursor: pointer;
    border: 1px solid #1a1a1a;
}

.photo:hover {
    filter: grayscale(0%);
    border-color: #c9a961;
}

.photo.tall {
    grid-row: span 2;
}

.photo.wide {
    grid-column: span 2;
}

/* ================= МАСТЕРА ================= */
.team {
    background: #0a0a0a;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
}

.master {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    transition: 0.3s;
}

.master:hover {
    padding-left: 20px;
    border-top-color: #c9a961;
}

.master-num {
    color: #c9a961;
    font-size: 28px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.master-info h3 {
    color: #fff;
    font-size: 32px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.master-info .role {
    color: #c9a961;
    font-size: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.master-info .exp {
    color: #888;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.master-info .spec {
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
    border-left: 2px solid #c9a961;
    padding-left: 25px;
}

/* ================= ЗАПИСЬ ================= */
.booking {
    background: #0f0f0f;
}

.booking-note {
    color: #777;
    font-size: 15px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.booking-form input,
.booking-form select {
    padding: 20px 22px;
    border: 1px solid #2a2a2a;
    background: #0a0a0a;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    letter-spacing: 1px;
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: #c9a961;
}

.booking-form button {
    padding: 22px;
    background: #c9a961;
    color: #0a0a0a;
    border: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    margin-top: 10px;
}

.booking-form button:hover {
    background: #e0bb6e;
    transform: translateX(5px);
}

/* ================= КОНТАКТЫ ================= */
.contacts {
    background: #050505;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-block h4 {
    color: #c9a961;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-block p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.contact-block a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.contact-block a:hover {
    color: #c9a961;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #444;
    font-size: 12px;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

/* ================= АДАПТИВ ================= */
@media (max-width: 1000px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }

    .sidebar-logo {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        flex: 0 0 100%;
        margin-top: 15px;
        order: 3;
    }

    .sidebar-nav a {
        padding: 8px 0;
        border-bottom: none;
        font-size: 11px;
    }

    .sidebar-nav a span {
        display: none;
    }

    .sidebar-bottom {
        display: none;
    }

    .content {
        margin-left: 0;
    }

    section {
        padding: 60px 25px;
    }

    .hero {
        padding: 80px 25px;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-desc {
        font-size: 15px;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 25px 0;
    }

    .price-num {
        font-size: 20px;
    }

    .price-info h3 {
        font-size: 18px;
    }

    .price-value {
        font-size: 22px;
    }

    .gallery-wall {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .photo.wide {
        grid-column: span 2;
    }

    .photo.tall {
        grid-row: span 1;
    }

    .master {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 30px 0;
    }

    .master-info h3 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}