/* ---- BASE ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* ---- NAV ---- */
.nav {
    width: 100%;
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 10;
}

.nav .logo {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
}

.nav .menu a {
    margin-left: 22px;
    font-size: 14px;
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s;
}

.nav .menu a:hover {
    color: #fff;
}

/* ---- HERO ---- */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
}

.hero h1 {
    font-size: 3.0rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1rem;
    color: #bbb;
}

/* ---- SECTIONS ---- */
.section {
    padding: 120px 60px 80px;
}

.section h2 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* ---- VIDEO GRID ---- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* большие видео */
    gap: 40px; /* расстояние между видео */
}

.video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 6px;
    display: block;
}

/* ---- RESPONSIVE VIDEO ---- */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* одно видео в ряд на мобильных */
        gap: 20px;
    }
}

/* ---- PHOTO THUMBS / LIGHTBOX GALLERY ---- */
.photo-thumbs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}

.photo-thumbs::-webkit-scrollbar {
    display: none;
}

.photo-thumbs img {
    height: 120px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-thumbs img:hover {
    transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* ---- CONTACT ---- */
.contact p, .contact a {
    font-size: 1.1rem;
    color: #bbb;
}

.contact a:hover {
    color: #fff;
}

/* ---- FOOTER ---- */
footer {
    text-align: center;
    padding: 50px;
    color: #555;
    font-size: 0.9rem;
}

/* ---- FADE-IN ANIMATION ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .hero {
        padding-left: 20px;
    }
    .section {
        padding: 80px 20px 60px;
    }
    .photo-thumbs img {
        height: 100px;
    }
}

