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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b0b0b;
    color: #e5e5e5;
    line-height: 1.6;
}

/* =========================
   LINKS
========================= */
a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* =========================
   HEADER
========================= */
.site-header {
    background-color: #000;
    border-bottom: 1px solid #1a1a1a;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 40px;
}

.site-title {
    margin-left: 12px;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
}

.logo-link {
    display: flex;
    align-items: center;
}

/* =========================
   NAVIGATION
========================= */
.main-nav a {
    margin-left: 25px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================
   MAIN CONTENT
========================= */
.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9b9b9b;
    margin-bottom: 60px;
}

/* =========================
   PHOTO GRID
========================= */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ВСЕГДА 4 */
    gap: 20px;
    margin-top: 40px;
}

.photo-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;      /* квадрат */
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* одинаковый размер */
    display: block;
}

.photo-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.75);
    padding: 6px 12px;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
}


@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   CTA BAR
========================= */
.cta-bar {
    background-color: #000;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    font-size: 18px;
    letter-spacing: 3px;
}

.cta-button {
    border: 1px solid #fff;
    padding: 14px 28px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #fff;
    color: #000;
}

/* =========================
   FOOTER
========================= */
/* =========================
   FOOTER
========================= */
/* =========================
   FOOTER
========================= */
.site-footer {
    background-color: #000;
    padding: 40px 30px;
    font-size: 13px;
    color: #777;
}

.footer-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Центр — ссылки */
.footer-links {
    display: flex;
    gap: 24px;
    margin: 0 auto;          /* <-- ВАЖНО */
}

.footer-links a {
    font-size: 12px;
    letter-spacing: 1px;
    color: #777;
}

.footer-links a:hover {
    color: #fff;
}

/* Право — соцсети */
.social-links {
    display: flex;
    gap: 16px;
    margin-left: auto;      /* <-- ЖЁСТКО ВПРАВО */
}

.social-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Копирайт */
.footer-copy {
    margin-top: 20px;
    text-align: center;
}

.footer-copy a {
    color: #777;
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    h1 {
        font-size: 34px;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .cta-container {
        flex-direction: column;
        gap: 20px;
    }
}


/* =========================
   VIDEO GRID 4x4
========================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.video-card {
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover img {
    transform: scale(1.06);
}

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

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0 10px;
}

.social-links a img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.sitemap-list ul {
    list-style: none;
    max-width: 700px;
    margin: 40px auto;
    padding: 0;
}

.sitemap-list li {
    margin-bottom: 18px;
}

.sitemap-list a {
    font-size: 18px;
    font-weight: 500;
}

.sitemap-list span {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 4px;
}

/* =========================
   MODEL ITEM
========================= */

/* MODELS LIST */

.models-list {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 30px;
}

.model-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

/* Фото слева, квадрат 600x600 */
.model-photo {
    width: 600px;
    height: 600px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* КЛЮЧЕВО */
    display: block;
}

/* Текст */
.model-info {
    max-width: 600px;
}

.model-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.model-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 12px;
}


@media (max-width: 900px) {
    .model-item {
        flex-direction: column;
        text-align: center;
    }

    .model-photo {
        width: 100%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
