﻿* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #fff;
    color: #333;
}

/* HEADER */
.nav-bar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3A7BD5;
    font-weight: 700;
    font-size: 1.3rem;
}

.menu-items {
    display: flex;
    gap: 20px;
}

    .menu-items a {
        text-decoration: none;
        color: #212121;
        font-weight: 500;
    }

/* MAIN CONTENT */
.main-content {
    max-width: 1100px;
    margin: 100px auto 40px auto;
    padding: 20px;
}

.guide-header {
    text-align: center;
    margin-bottom: 40px;
}

    .guide-header h1 {
        opacity: 0.9;
        font-weight: 700;
        letter-spacing: -0.04rem;
        margin: 0 0 12px 0;
        font-size: 2.2rem;
        color: #212121;
    }

    .guide-header p {
        opacity: 0.75;
        font-weight: 400;
        margin: 0;
        font-size: 1.05rem;
    }

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    }

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-content {
    padding: 20px;
}

    .video-content h2 {
        opacity: 0.9;
        font-weight: 500;
        letter-spacing: -0.03rem;
        margin: 0 0 12px 0;
        color: #212121;
        font-size: 1.3rem;
    }

    .video-content p {
        opacity: 0.72;
        font-weight: 300;
        margin: 0 0 18px 0;
        line-height: 1.6;
    }

.video-button {
    display: inline-block;
    background-color: #3A7BD5;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .video-button:hover {
        background-color: #2f6bb2;
    }

/* FOOTER */
.footer {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #757575;
}

    .footer a {
        color: #757575;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    justify-content: space-between;
    margin-left: 10px;
}

    .burger div {
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .burger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active div:nth-child(2) {
        opacity: 0;
    }

    .burger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

.header-logo {
    height: 40px;
    margin-right: 10px;
}

.success-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.success-icon {
    font-size: 50px;
    color: green;
}

.success-text {
    font-size: 1.2rem;
    color: green;
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px;
    }

    .guide-header {
        margin-bottom: 25px;
    }

        .guide-header h1 {
            font-size: 1.8rem;
        }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-items {
        position: fixed;
        top: 70px;
        right: -260px;
        width: 200px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }

        .menu-items a {
            text-align: right;
            font-size: 1.2rem;
        }

        .menu-items.active {
            right: 0;
        }

    .burger {
        display: flex;
    }
}
