/* 1. ОСНОВНЫЕ СТИЛИ */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #f4f4f4;
    line-height: 1.6;
}

/* 2. НАВИГАЦИЯ (МЕНЮ) */
nav {
    background: rgba(0,0,0,0.9);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #d4af37;
}

.btn-nav {
    color: #d4af37 !important;
    border: 1px solid #d4af37;
    padding: 5px 15px;
    border-radius: 4px;
}

/* 3. ГЛАВНЫЙ ЭКРАН (HERO) */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('wolfs.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* 4. КОНТЕНТ И СЕТКА ГАЛЕРЕИ */
.content {
    max-width: 1200px; /* Немного расширили для удобства галереи */
    margin: 0 auto;
    padding: 50px 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.wolf-card {
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    border-bottom: 3px solid #d4af37;
    transition: transform 0.3s;
}

.wolf-card:hover {
    transform: translateY(-10px);
}

/* КАРТИНКИ В ГАЛЕРЕЕ (Высокие на 510px) */
.wolf-card img {
    width: 100%;
    height: 510px; /* Увеличено на 70% относительно стандартных 300px */
    object-fit: cover;
    cursor: pointer;
    transition: 0.3s;
    display: block;
}

.wolf-card img:hover {
    opacity: 0.85;
}

.wolf-card-content {
    padding: 20px;
}

/* 5. МОДАЛЬНОЕ ОКНО (УВЕЛИЧЕНИЕ) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.95); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

/* 6. ФУТЕР И КНОПКИ */
h2 { color: #d4af37; border-bottom: 1px solid #333; padding-bottom: 10px; }

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #d4af37;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

footer {
    text-align: center;
    padding: 40px;
    color: #777;
}
