* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica', sans-serif; }
body { background-color: #050505; color: #fff; text-align: center; overflow-x: hidden; }

/* Навигация и Хедер */
.top-nav { padding: 30px; display: flex; justify-content: center; gap: 40px; }
.top-nav a { color: #888; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; }
.top-nav a:hover { color: #fff; }
.hero { height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.nickname { font-size: 15vw; font-weight: 900; letter-spacing: 5px; margin-bottom: 20px; line-height: 1; }
.btn { background: #fff; color: #000; border: none; padding: 15px 40px; font-size: 18px; font-weight: bold; cursor: pointer; border-radius: 50px; transition: transform 0.3s, background 0.3s; }
.btn:hover { transform: scale(1.05); background: #ccc; }

/* Анимации */
.hidden-on-scroll { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.show-on-scroll { opacity: 1; transform: translateY(0); }

/* Карточка Обо мне */
.about-card { display: flex; align-items: center; gap: 50px; max-width: 900px; margin: 100px auto; background: #0a0a0a; padding: 40px; border-radius: 20px; border: 1px solid #222; text-align: left; }
.about-photo { flex: 0 0 350px; }
.about-photo img { width: 100%; height: 450px; object-fit: cover; border-radius: 15px; filter: grayscale(100%); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); }
.about-info { flex: 1; }
.about-info h2 { font-size: 32px; margin-bottom: 25px; letter-spacing: 2px; text-align: left; text-transform: uppercase; }
.info-list { list-style: none; margin-bottom: 25px; }
.info-list li { font-size: 16px; margin-bottom: 12px; color: #ccc; border-bottom: 1px solid #1a1a1a; padding-bottom: 10px; display: flex; }
.info-list li span { color: #fff; font-weight: bold; width: 160px; flex-shrink: 0; }
.about-bio { font-size: 15px; line-height: 1.6; color: #777; }

@media (max-width: 768px) {
    .about-card { flex-direction: column; padding: 20px; gap: 30px; }
    .about-photo { flex: auto; width: 100%; }
    .about-photo img { height: auto; max-height: 400px; }
    .info-list li { flex-direction: column; gap: 5px; }
}

/* === ПОРТФОЛИО И ПРАЙС === */
.portfolio-section, .price-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.portfolio-section h2, .price-section h2 { font-size: 36px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 40px; }

/* Фильтры */
.filter-buttons { margin-bottom: 40px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn { background: transparent; color: #888; border: 1px solid #555; padding: 10px 25px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 16px; }
.filter-btn:hover, .filter-btn.active { background: #fff; color: #000; border-color: #fff; }

/* Галерея */
.portfolio-gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.portfolio-item { width: 350px; height: 250px; background: #111; border-radius: 15px; overflow: hidden; position: relative; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, filter 0.5s; filter: grayscale(100%); }
.portfolio-item:hover img { transform: scale(1.05); filter: grayscale(0%); }
.portfolio-item.hide { display: none; }

/* Прайс-лист */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.price-card { background: #0a0a0a; padding: 40px 20px; border-radius: 15px; border: 1px solid #222; transition: transform 0.3s, border-color 0.3s; text-align: center; }
.price-card:hover { transform: translateY(-10px); border-color: #fff; }
.price-card h3 { font-size: 18px; margin-bottom: 15px; color: #aaa; font-weight: normal; }
.price-val { font-size: 26px; font-weight: bold; color: #fff; }

/* Модальное окно */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 100; justify-content: center; align-items: center; }
.modal-content { background: #111; padding: 40px; border-radius: 20px; width: 90%; max-width: 500px; border: 1px solid #333; position: relative; }
.close { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #888; }
.close:hover { color: #fff; }
form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
input, select, textarea { width: 100%; padding: 15px; background: #222; border: 1px solid #333; color: #fff; border-radius: 10px; font-size: 16px; }
textarea { resize: vertical; min-height: 100px; }
/* === ЗАЩИТА И КЛИКАБЕЛЬНОСТЬ ГАЛЕРЕИ === */
.portfolio-item {
    cursor: pointer; /* Показываем, что можно кликнуть */
}
/* Невидимый щит поверх картинки (не дает нажать "Сохранить как") */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
}

/* === ЛАЙТБОКС (Полноэкранный просмотр) === */
.lightbox {
    display: none; /* Скрыт по умолчанию */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); /* Очень темный фон */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none; /* Запрет выделения текста/картинки */
    -webkit-user-drag: none; /* Запрет перетаскивания (Mac/iOS) */
}
.lightbox-close {
    position: absolute;
    top: -40px; right: 0;
    font-size: 50px; color: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover { color: #888; }

/* ВОДЯНОЙ ЗНАК ПОВЕРХ ОТКРЫТОГО ФОТО */
.watermark-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8vw; /* Размер зависит от экрана */
    color: rgba(255, 255, 255, 0.15); /* Белый полупрозрачный */
    font-weight: 900;
    pointer-events: none; /* Чтобы не мешал кликам */
    text-transform: uppercase;
    transform: rotate(-25deg);
    white-space: nowrap;
    letter-spacing: 5px;
    z-index: 10000;
}

.footer {
    margin-top: 100px;
    padding: 40px 20px;
    border-top: 1px solid #111;
    background-color: #050505;
    text-align: center;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.social-links a {
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: color 0.3s;
}
.social-links a:hover {
    color: #fff;
}
.copyright {
    color: #444;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Подзаголовок под ником */
.hero-subtitle {
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 15px 0 35px 0;
    font-weight: 300;
    opacity: 0.8;
}