/* --- 1. ОБЩИЕ СТИЛИ (Reset & Base) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding-top: 60px;
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: oklch(70.7% 0.165 254.624);
    cursor: pointer;
}

/* --- 2. HEADER --- */
.header {
    width: 100%;
    height: 60px;
    background-color: oklch(21% .034 264.665);
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.header-title {
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-title:hover {
    color: oklch(70.7% 0.165 254.624);
}

.navigation-buttons {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation-buttons li a {
    font-weight: 500;
}

/* --- 3. FOOTER --- */
.footer {
    flex-shrink: 0;
    width: 100%;
    background-color: oklch(21% .034 264.665);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    gap: 10px;
}

.footer-text-2 {
    color: #636262 !important;
}

.footer-text,
.footer-text-2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-align: center;
}

.footer-link {
    color: oklch(70.7% 0.165 254.624);
    font-weight: bold;
    margin-top: 5px;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .header {
        height: auto;
        padding: 15px 0;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .navigation-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
}

@media (max-width: 415px) {
    main {
        padding-top: 120px;
    }
}

.section-animation {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom ,oklch(50.759% 0.14121 253.095), oklch(56.786% 0.24731 330.585));
}

.text-animation {
    padding-top: 1rem;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: rgb(255, 255, 255);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.images-animation {
    margin: 0 auto;
    margin-top: 6rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    place-items: center;
    gap: 2rem;
    max-width: 1400px;
}

.image-animation-1, .image-animation-2, .image-animation-3 {
    width: 250px;
    height: auto;
    border-radius: 10px;
    border: 2px solid white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.image-animation-1, .image-animation-3 {
    margin-top: 3rem;
}

.image-animation-1 {
    animation: slideInLeft 3s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-animation-2 {
    animation: fadeIn 3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-animation-3 {
    animation: slideInRight 3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}