/* Movies Section - Antiguan Herald */

/* Movies Hero Banner */
.movies-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 50%, #1a1a1a 100%);
    padding: 3rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.movies-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.movies-hero-sub {
    color: #E04040;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Movies Page Layout */
.movies-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.movies-grid-section {
    padding: 0 1.5rem;
}

/* Movies Grid */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.movie-poster-link {
    display: block;
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
}

.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster {
    transform: scale(1.05);
}

.movie-poster-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
}

.movie-card-info {
    padding: 1.2rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.movie-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.movie-rating-badge {
    background: #E04040;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.movie-duration,
.movie-genre {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.movie-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.movie-card-info h3 a:hover {
    color: var(--color-accent);
}

.movie-synopsis-mini {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    flex: 1;
}

.movie-cast-mini {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
}

.movie-details-link {
    display: inline-block;
    color: #E04040;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.movie-details-link:hover {
    text-decoration: underline;
}

/* Movies Info Bar */
.movies-info-bar {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    margin: 0 1.5rem 3rem;
}

.movies-info-bar p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.movies-info-bar a {
    color: #E04040;
    text-decoration: underline;
}

/* Movie Detail Page */
.movie-detail-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.movie-detail-hero {
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    padding: 3rem 1.5rem;
}

.movie-detail-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: end;
}

.movie-detail-poster img {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.movie-detail-info {
    color: white;
}

.movie-detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.movie-duration-badge,
.movie-genre-badge {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.movie-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    color: white;
}

.movie-detail-director {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 0.3rem;
}

.movie-detail-release {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1.2rem;
}

.buy-tickets-btn {
    display: inline-block;
    background: #E04040;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.buy-tickets-btn:hover {
    background: #c53030;
}

/* Movie Detail Body */
.movie-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 2.5rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.movie-synopsis h2,
.movie-trailer h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.movie-synopsis p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

/* Trailer Embed */
.movie-trailer {
    margin-top: 2rem;
}

.trailer-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.trailer-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Sidebar */
.movie-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.movie-detail-cast h3,
.movie-detail-meta-box h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.movie-detail-cast ul {
    list-style: none;
    padding: 0;
}

.movie-detail-cast li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border-light);
}

.movie-detail-meta-box {
    background: var(--color-bg-light);
    padding: 1rem 1.2rem;
    border-radius: 8px;
}

.movie-detail-meta-box p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.movie-tickets-box {
    background: #1a1a1a;
    color: white;
}

.movie-tickets-box h3 {
    color: white;
}

.movie-tickets-box p {
    color: #ccc;
    margin-bottom: 0.8rem;
}

/* Other Movies */
.other-movies {
    padding: 2rem 1.5rem 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 2px solid var(--color-border);
}

.other-movies h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.other-movies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.other-movie-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-light);
    transition: transform 0.2s;
}

.other-movie-card:hover {
    transform: translateY(-3px);
}

.other-movie-card img {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
}

.other-movie-card span {
    padding: 0.6rem 0.8rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */

@media (max-width: 1024px) {
    .movie-detail-body {
        grid-template-columns: 1fr;
    }

    .movie-detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .other-movies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .movies-hero {
        padding: 2rem 1rem;
    }

    .movies-hero-content h1 {
        font-size: 2rem;
    }

    .movies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .movie-card {
        display: grid;
        grid-template-columns: 140px 1fr;
        border-radius: 8px;
    }

    .movie-poster-link {
        aspect-ratio: auto;
        height: 100%;
    }

    .movie-poster {
        height: 100%;
        border-radius: 8px 0 0 8px;
    }

    .movie-card-info {
        padding: 1rem;
    }

    .movie-card-info h3 {
        font-size: 1.1rem;
    }

    .movie-synopsis-mini {
        display: none;
    }

    /* Detail page mobile */
    .movie-detail-hero-content {
        grid-template-columns: 140px 1fr;
        gap: 1.5rem;
    }

    .movie-detail-poster img {
        width: 140px;
    }

    .movie-detail-info h1 {
        font-size: 1.6rem;
    }

    .movie-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .other-movies-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .movies-hero-content h1 {
        font-size: 1.6rem;
    }

    .movies-hero-sub {
        font-size: 0.8rem;
    }

    .movie-card {
        grid-template-columns: 110px 1fr;
    }

    .movie-detail-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .movie-detail-poster {
        display: flex;
        justify-content: center;
    }

    .movie-detail-poster img {
        width: 180px;
    }

    .movie-detail-badges {
        justify-content: center;
    }

    .buy-tickets-btn {
        display: block;
        text-align: center;
    }

    .other-movies-grid {
        grid-template-columns: 1fr;
    }
}
