/* ==== RESET CSS (Ваш код) ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol, li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-family: inherit;
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-color: #f7f7f7;
    color: #0e0e0e;
}

/* ==== LAYOUT ==== */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

._container {
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
}

._img {
    display: block;
    object-fit: cover;
}

/* ==== HEADER (Ваш код) ==== */
.header {
    padding: 25px 0;
    background-color: #0000ff;
    color: #f7f7f7;
}

.header__title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
}

.menu__list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.item-menu__link {
    display: inline-block;
    padding: 10px 0;
    font-size: 18px;
    text-transform: uppercase;
    color: #e9e9e9;
    transition: all 0.3s ease;
}

.item-menu__link:hover {
    color: #ffa500;
}

/* ==== MAIN CONTENT ==== */
.title {
    padding: 15px 0;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.title a {
    color: #0000ff;
    transition: color 0.3s ease;
}

.title a:hover {
    color: #ffa500;
}

.popular__section, 
.family__section, 
.trailer__section {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}


.movie__card {
    display: flex;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.movie__card:hover {
    transform: translateY(-5px);
}

.img-card__wrap {
    flex-shrink: 0;
    width: 250px;
    height: 375px;
}

.movie__img {
    width: 100%;
    height: 100%;
}

.movie-card__body {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.movie-card__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.info-movie__description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}


.movie-info__list {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.info-movie__item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.info-movie__item span:first-child {
    font-weight: 700;
    min-width: 80px;
    color: #000;
}


.genre__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre__link {
    display: inline-block;
    background-color: #0000ff;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.genre__link:hover {
    background-color: #ffa500;
}

/* ==== FOOTER ==== */
.footer {
    padding: 40px 0;
    background-color: #333;
    margin-top: auto;
}


.movir-card__info, .movie-card__info {
    margin-top: auto;
}