/* Шапка сайта */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
}

[data-theme="light"] .main-header {
    background: linear-gradient(120deg, var(--background-color) 60%, var(--secondary-color) 100%);
    border-bottom: 1px solid rgba(35, 60, 43, 0.08);
    box-shadow: 0 2px 24px 0 var(--sunlight-glow);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .main-header {
    background: linear-gradient(120deg, #18120b 60%, #4b2e1e 100%);
    border-bottom: 1px solid rgba(75, 46, 30, 0.18);
    box-shadow: 0 2px 32px 0 rgba(255,179,71,0.10), 0 1px 8px 0 #24190f;
    backdrop-filter: blur(8px);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    background: none;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.logo-paw {
    width: 44px;
    height: 44px;
    display: block;
    filter: drop-shadow(0 2px 8px var(--sunlight-glow));
    transition: filter 0.3s;
}

[data-theme="dark"] .logo {
    color: var(--accent-color);
}

[data-theme="dark"] .logo-paw {
    filter: var(--lamp-glow);
}

.logo-text {
    margin-left: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    user-select: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

[data-theme="light"] .nav-links {
    background-color: transparent;
}

[data-theme="light"] .nav-link {
    color: var(--text-color);
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Нижняя навигация */
.nav-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 999;
    padding: 10px 0;
    justify-content: space-around;
    align-items: center;
}

.nav-bottom button {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Медиа-запросы для навигации */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-bar {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    [data-theme="light"] .nav-links.active {
        background-color: var(--background-color);
    }

    [data-theme="light"] .nav-links.active .nav-link {
        color: var(--text-color);
    }

    .nav-links.active .nav-link {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.5rem !important;
    }
    
    .nav-bottom {
        display: flex;
    }

    .logo-text {
        font-size: 1.3rem;
        margin-left: 8px;
    }
}

/* Герой-секция */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, var(--background-color), var(--primary-color));
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.2s backwards;
}

/* Медиа-запросы для героя */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .subtitle {
        font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    }
} 