/* Стили, имитирующие официальный сайт Minecraft */

/* Навигационное меню */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    height: 40px;
}

.nav-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo-text:hover {
    color: #E0A43A;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #E0A43A;
}

/* Кнопки навигации */
.nav-button {
    background-color: #E0A43A;
    color: black;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #C99433;
    transform: translateY(-2px);
}

/* Герой-секция */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: visible;
    background-image: url('../images/hero-thumbnail.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 2.625rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Крупные кнопки */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    padding: 0.75rem 1.875rem;
    font-size: 0.825rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-button.primary {
    background-color: #E0A43A;
    color: #1a1a1a;
    background-image: 
        linear-gradient(30deg, #E0A43A 0%, #F4C430 50%, #E0A43A 100%);
    border: 2px solid #C99433;
}

.hero-button.primary:hover {
    background-color: #F4C430;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 164, 58, 0.4);
}

.hero-button.secondary {
    background-color: #E0A43A;
    color: #1a1a1a;
    background-image: 
        linear-gradient(30deg, #E0A43A 0%, #F4C430 50%, #E0A43A 100%);
    border: 2px solid #C99433;
}

.hero-button.secondary:hover {
    background-color: #F4C430;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224, 164, 58, 0.4);
}

/* Honeycomb pattern overlay */
.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L93.3 25 L93.3 75 L50 100 L6.7 75 L6.7 25 Z' fill='none' stroke='rgba(0,0,0,0.1)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 30px 35px;
    opacity: 0.3;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

/* Скрытие оригинального хедера и замена его герой-секцией */
header {
    display: none;
}