:root {
    --primary: #FFB347;
    --secondary: #8B4513;
    --dark: #2c3e50;
    --light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: url('/assets/img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

body.fade-in {
    opacity: 1;
}

body.fade-out {
    opacity: 0;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.contacts-list a {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.contacts-list a img.icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.hero-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 5vh;
    padding: 2rem;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: rgba(255, 179, 71, 0.9);
    backdrop-filter: blur(5px);
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transform: translateX(-50%);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 70%;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.animate.delay-1 {
    animation-delay: 0.2s;
}

.animate.delay-2 {
    animation-delay: 0.4s;
}

h1, h2, h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.6);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark);
    color: white;
    margin-top: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    main {
        margin: 1rem;
        padding: 1.5rem;
    }
}
