/*
Theme Name: Red One Entertainment
Theme URI: https://redoneentertainment.com/
Version: 3.4.0
*/

:root {
    --red: #9e1018;
    --deep-red: #64090e;
    --gold: #d7aa55;
    --cream: #f7f3ee;
    --ink: #321316;
    --muted: #6f6664;
    --white: #fff;
    --line: rgba(60, 25, 25, .14);
    --max: 1340px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: auto; }
.serif { font-family: Georgia, 'Times New Roman', serif; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 700; color: var(--red); }
.section-title { font: 400 clamp(32px, 3vw, 48px)/1.05 Georgia, serif; margin: 8px 0 24px; }

/* =========================================
   HEADER (Fixed for Inner Pages)
   ========================================= */
.site-header { height: 100px; background: #000; position: relative; z-index: 9999; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.header-left { display: flex; align-items: center; height: 100%; }
.header-right { display: flex; align-items: center; gap: 30px; height: 100%; }

.brand { display: flex; align-items: center; height: 100%; padding: 10px 0; }
.custom-logo-link { display: flex; align-items: center; height: 100%; }
.custom-logo { height: 80px !important; width: auto !important; max-width: none !important; object-fit: contain !important; display: block !important; }

.main-nav { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.main-nav a { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.main-nav a:hover { color: var(--gold); }
.header-work { background: var(--red); color: #fff !important; padding: 12px 25px; border-radius: 30px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.mobile-menu-checkbox { display: none; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { min-height: 700px; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; background: #111; }
.hero-slider { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; background-position: center center; background-size: contain; background-repeat: no-repeat; opacity: 0; transform: scale(1.02); transition: opacity 1.15s ease, transform 7s ease; z-index: -3; }
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 5, 6, .85) 0%, rgba(20, 5, 6, .45) 50%, transparent 100%); z-index: -1; }
.hero-content { position: relative; z-index: 2; width: min(660px, 100%); padding: 78px 0; }
.hero h1 { font: 400 clamp(46px, 5vw, 76px)/.93 Georgia, serif; margin: 16px 0 20px; }
.hero h1 span { color: #e2b45e; }
.hero p { font-size: 16px; max-width: 580px; color: #f4ece8; }
.hero-actions { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 15px; padding: 13px 27px; border-radius: 28px; border: 1px solid #d9ad62; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.btn-primary { background: var(--red); border-color: #e1b259; color: #fff; }
.btn-light { background: transparent; color: #fff; }
.hero-showreel { position: absolute; z-index: 3; right: 5%; bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.play { width: 38px; height: 38px; border: 1px solid #e5c87f; border-radius: 50%; display: grid; place-items: center; color: #e5c87f; }
.hero-progress { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 11px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .25); padding: 0; cursor: pointer; }
.hero-dot.is-active { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.hero-copy-stack { position: relative; min-height: 210px; }
.hero-copy { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .65s ease, transform .65s ease; pointer-events: none; }
.hero-copy.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; }

/* =========================================
   ABOUT & SERVICES (Fixed missing CSS)
   ========================================= */
.about-services { padding: 0; background: #fbf9f6; display: grid; grid-template-columns: 1fr 1fr; }
.about-panel { min-height: 350px; padding: 50px max(30px, calc((100vw - var(--max))/2)); padding-right: 45px; background: linear-gradient(90deg, #25070aee, #76100fcc), url('https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1200&q=70') center/cover; color: #fff; }
.about-panel h2 { font: 400 38px/1.1 Georgia, serif; margin: 10px 0; }
.about-panel h2 span { display: block; color: #e1b45c; }
.about-panel p { font-size: 15px; max-width: 540px; color: #f3e9e6; margin-bottom: 20px; }
.services-panel { padding: 50px max(30px, calc((100vw - var(--max))/2)); padding-left: 45px; background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
.service { padding: 10px 0; }
.service-icon { width: 54px; height: 54px; border-radius: 50%; background: #f5e5dd; color: var(--red); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.service h3 { font: 500 20px Georgia, serif; margin: 0 0 8px; }
.service p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* =========================================
   GRIDS & PAGES
   ========================================= */
.category-section { padding: 60px 0; border-bottom: 1px solid var(--line); background: #fbf9f6; }
.category-section:last-of-type { border-bottom: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.text-link { font-size: 11px; text-transform: uppercase; color: var(--red); font-weight: 700; letter-spacing: .04em; }
.cinema-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cinema-card { background: #140b0d; color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 35px rgba(40, 8, 10, .12); }
.cinema-image { aspect-ratio: 2/3; background-size: cover; background-position: center; transition: transform .6s; }
.cinema-card:hover .cinema-image { transform: scale(1.045); }
.cinema-copy { padding: 18px 18px 22px; }
.cinema-copy .meta { font-size: 10px; letter-spacing: .16em; color: #e0b85d; font-weight: 800; text-transform: uppercase; }
.cinema-copy h2 { font: 500 26px/1.1 Georgia, serif; margin: 8px 0; }
.cinema-copy p { color: #756767; font-size: 14px; margin: 0; }

/* Inner Page Heroes */
.page-hero { position: relative; overflow: hidden; min-height: 390px; display: flex; align-items: end; padding: 100px 0 70px; background: linear-gradient(120deg, #43070d, #a31321 55%, #e1a33d); }
.page-hero-about { background: linear-gradient(90deg, #5e0910, #a61b25 55%, #d3a044); }
.page-hero-dark { background: linear-gradient(115deg, #090707, #3a1015 55%, #79151d); }
.page-hero-web { background: linear-gradient(115deg, #111, #251c42 45%, #9b1830); }
.page-hero-gallery { background: linear-gradient(115deg, #1b1112, #71141c 52%, #c58d32); }
.page-hero-red { background: linear-gradient(115deg, #5b0710, #b91624); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; font-size: clamp(50px, 7vw, 88px); letter-spacing: -.035em; color: #fff; font: 400 clamp(44px, 6vw, 72px)/1 Georgia, serif; margin: 0; }
.page-hero p { font-size: 17px; max-width: 760px; color: #fff; opacity: 0.9; }
.section { padding: 70px 0; }
.content-narrow { max-width: 920px; margin: auto; }

/* =========================================
   FOOTER
   ========================================= */
.footer-newsletter-section { background: #000; color: #fff; text-align: center; padding: 60px 20px; }
.site-footer-new { background: #000; color: #b3b3b3; padding: 60px 0; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-widget-title { color: #fff; font: 700 18px Arial, sans-serif; margin-top: 0; margin-bottom: 20px; text-transform: capitalize; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b3b3b3; font-size: 13px; }
.footer-links a:hover { color: var(--red); }
.footer-copyright-bar { background: #333; color: #fff; text-align: center; padding: 20px 0; font-size: 13px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1050px) {
    .cinema-grid { grid-template-columns: repeat(3, 1fr); }
    .about-services { grid-template-columns: 1fr; }
    .about-panel, .services-panel { padding-left: 30px; padding-right: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 30px, var(--max)); }
    .menu-toggle { display: flex !important; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; cursor: pointer; z-index: 10000; }
    .menu-toggle span { display: block; width: 100%; height: 3px; background-color: #fff; border-radius: 3px; }
    .header-work { display: none !important; }
    
    .site-nav { display: none; position: absolute; top: 100px; left: 0; width: 100%; background: #000; border-bottom: 3px solid var(--red); }
    .mobile-menu-checkbox:checked ~ .site-nav { display: block !important; }
    .main-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 0; }
    .main-nav li { border-bottom: 1px solid #222; width: 100%; }
    .main-nav a { display: block; padding: 15px 20px; font-size: 13px; text-align: left; }

    .hero { min-height: auto; display: block; background: #000; }
    .hero-slide { background-size: contain; background-color: #000; position: relative; min-height: 300px; opacity: 1 !important; transform: none !important; }
    .hero-slide:not(.is-active) { display: none !important; }
    .hero-overlay { display: none; }
    .hero-content { position: relative; padding: 30px 20px; background: #111; width: 100%; }
    .hero h1 { font-size: 38px; }
    .hero-showreel { position: relative; margin: 20px; display: inline-flex; }
    .hero-progress { display: none; }

    .cinema-grid { grid-template-columns: 1fr; }
    .category-section { padding: 40px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}