/*
Theme Name: Cinema Seattle
Theme URI: https://yoursite.com
Author: You
Description: A dark, cinematic theme for Seattle movie listings. Built for use with the Seattle Movies Grid and Seattle Cinema Map plugins.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: cinema-seattle
*/

/* ── Variables ── */
:root {
    --gold:   #c9a84c;
    --dark:   #0a0a0a;
    --mid:    #141414;
    --card:   #1a1a1a;
    --text:   #e8e0d0;
    --muted:  #888;
    --border: #222;
    --red:    #c0392b;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: #e8c96a; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text);
    letter-spacing: 1px;
    line-height: 1.1;
}

p { margin-bottom: 1rem; color: var(--text); }

/* ── Layout ── */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Header ── */
.site-header {
    background: var(--mid);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-branding a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-decoration: none;
}

.site-branding a:hover { color: #e8c96a; }

/* ── Navigation ── */
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--gold); }

/* ── Page content ── */
.page-content {
    padding: 60px 0 80px;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.entry-content p,
.entry-content li {
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

.entry-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--gold);
}

.entry-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
}

/* ── Full width pages (no container padding) ── */
.page-template-full-width .page-content {
    padding: 0;
}

.page-template-full-width .container {
    max-width: 100%;
    padding: 0;
}

/* ── Footer ── */
.site-footer {
    background: var(--mid);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
}

.site-footer p {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.site-footer a { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 700px) {
    .container { padding: 0 20px; }
    .main-nav { display: none; }
    .page-content { padding: 40px 0 60px; }
}

/* ── Hamburger button ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Mobile menu drawer ── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--mid);
    border-bottom: 2px solid var(--gold);
    z-index: 99;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu .mobile-nav-list {
    list-style: none;
    padding: 12px 0;
}

.mobile-menu .mobile-nav-list li a {
    display: block;
    padding: 14px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
}

.mobile-menu .mobile-nav-list li:last-child a { border-bottom: none; }
.mobile-menu .mobile-nav-list li a:hover { color: var(--gold); background: #1a1a1a; }

/* ── Mobile overlay ── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 700px) {
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .mobile-overlay { display: block; }
}
