/*
Theme Name: HPH Prophouse
Theme URI: https://hamiltonprophouse.com
Author: HPH Development
Author URI: https://hamiltonprophouse.com
Description: Custom theme for Hamilton Prop House — film studio, café & bar venue website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: hph-prophouse
*/

/* ═══════════════════════════════════════════════════
   HPH SHARED DESIGN SYSTEM
   ═══════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

:root {
    /* HPH Brand Palette */
    --caliente: #8a2728;
    --caliente-dark: #6e1f20;
    --caliente-light: #f5e8e8;
    --blue: #006DA4;
    --blue-dark: #005a87;
    --blue-light: #e6f0f7;
    --white: #E1DED5;
    --white-pure: #FFFFFF;
    --white-warm: #EBE9E2;
    --bg: #FFFFFF;
    --bg-card: #F7F4EE;
    --text-dark: #1a1a1a;
    --text-body: #2d2d2d;
    --text-mid: #555555;
    --text-light: #888888;
    --border: #e0ddd6;
    --border-light: #eae8e2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── HEADER / NAV ─── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    padding: 10px 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--text-dark);
    background: var(--white-warm);
}

.nav-links a.active {
    color: var(--blue);
    background: var(--blue-light);
    font-weight: 600;
}

.nav-auth {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-login {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-login:hover { color: var(--text-dark); }

.btn-membership {
    background: var(--caliente);
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    border: none;
}

.btn-membership:hover {
    background: var(--caliente-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(138, 39, 40, 0.25);
}

/* ─── SUB NAV ─── */
.nav-sub {
    max-width: 900px;
    padding: 0 24px 8px;
    display: flex;
    gap: 1px;
    flex-wrap: wrap;
}

.nav-sub a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 10px;
    font-weight: 400;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-sub a:hover {
    color: var(--text-mid);
    background: var(--white-warm);
}

.nav-sub a.active {
    color: var(--blue);
    background: var(--blue-light);
    font-weight: 600;
}

/* ─── STATUS BANNER ─── */
.status-banner {
    width: 100%;
    padding: 10px 24px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-banner--open {
    background: #e8f5e9;
    color: #2a6e3f;
    border-bottom: 1px solid #c8e6c9;
}

.status-banner--closed {
    background: #fbe9e7;
    color: #8a2728;
    border-bottom: 1px solid #f5c6c6;
}

.status-banner--alert {
    background: #fff3e0;
    color: #b35900;
    border-bottom: 1px solid #ffe0b2;
}

.status-banner--info {
    background: #e6f0f7;
    color: #005a87;
    border-bottom: 1px solid #b3d4e8;
}

.status-banner .status-icon {
    flex-shrink: 0;
    font-size: 15px;
}

/* ─── PAGE CONTAINER (single-column pages) ─── */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

.page-container.narrow {
    max-width: 660px;
}

.page-container.wide {
    max-width: 1100px;
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--caliente);
    color: var(--white);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--caliente-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(138, 39, 40, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--text-mid);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 11px 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    color: var(--blue-dark);
    border-color: var(--blue);
    background: var(--blue-light);
}

/* ─── SHARED FORM STYLES ─── */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-mid);
    margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white-pure);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 109, 164, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ─── SHARED CARD ─── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

/* ─── PAGE HEADING ─── */
.page-heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.page-subtext {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

/* ─── FILTER BLOCKS (reusable) ─── */
.filter-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.filter-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.3;
}

.filter-block:hover {
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 109, 164, 0.08);
}

.filter-block.filter-active {
    background: var(--blue);
    color: var(--white-pure);
    border-color: var(--blue);
}

.card-hidden {
    display: none !important;
}

/* ─── HOME HERO ─── */
.hero-home {
    text-align: center;
    padding: 64px 24px 56px;
    background: linear-gradient(135deg, #F7F4EE 0%, #EBE9E2 50%, #e6f0f7 100%);
    border-bottom: 1px solid var(--border);
    margin: 0 -24px;
}

.hero-home h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-home .hero-sub {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 28px;
}

.hero-home .hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── FEATURE GRID (3-col icon cards) ─── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 109, 164, 0.08);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}

/* ─── FEATURE GRID 2-COL VARIANT ─── */
.feature-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* ─── STAT ROW (4-col numbers) ─── */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-mid);
}

/* ─── GALLERY GRID ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.gallery-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.gallery-caption {
    padding: 12px 16px;
    font-size: 12px;
    color: var(--text-mid);
    background: var(--bg-card);
}

/* ─── PRESS / ARTICLE CARD ─── */
.press-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.press-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 109, 164, 0.08);
}

.press-source {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
    margin-bottom: 6px;
}

.press-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 6px;
}

.press-card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}

/* ─── MENU / DRINK CARD ─── */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.menu-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.menu-card ul {
    list-style: none;
    padding: 0;
}

.menu-card li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 4px 0;
    border-bottom: 1px solid var(--border-light);
}

.menu-card li:last-child {
    border-bottom: none;
}

/* ─── SECTION SPACING ─── */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.section-subtext {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ─── SPACE CARD (gradient placeholder) ─── */
.space-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.space-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 109, 164, 0.08);
}

.space-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.space-card-body {
    padding: 20px;
}

.space-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.space-card-body p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, #F7F4EE 0%, #e6f0f7 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-section p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ─── INCLUDED LIST ─── */
.included-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
    list-style: none;
    padding: 0;
}

.included-list li {
    font-size: 13px;
    color: var(--text-body);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.included-list li::before {
    content: '\2713';
    color: var(--blue);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ─── EVENT MINI CARD (home page) ─── */
.event-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.event-mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.event-mini-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 109, 164, 0.08);
}

.event-mini-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.event-mini-body {
    padding: 16px;
}

.event-mini-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.event-mini-body .event-meta {
    font-size: 12px;
    color: var(--text-mid);
}

.event-mini-body .event-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    margin-top: 6px;
}

/* ─── INFO CARD ─── */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ─── RESPONSIVE (new components) ─── */
@media (max-width: 700px) {
    .hero-home h1 { font-size: 30px; }
    .hero-home .hero-sub { font-size: 15px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid-2 { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .event-mini-grid { grid-template-columns: 1fr; }
    .included-list { grid-template-columns: 1fr; }
    .cta-section { padding: 28px 20px; }
}

@media (max-width: 500px) {
    .hero-home { padding: 40px 16px; }
    .hero-home h1 { font-size: 26px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .stat-number { font-size: 24px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─── */
footer {
    background: var(--blue);
    color: var(--white);
    padding: 40px 24px;
    margin-top: 32px;
}

.footer-inner {
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-info {
    flex: 1;
}

.footer-address {
    font-size: 13px;
    color: rgba(225, 222, 213, 0.65);
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(225, 222, 213, 0.65);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

/* ─── RESPONSIVE (shared header/footer/nav) ─── */
@media (max-width: 960px) {
    .nav-top { max-width: 100%; }
    .nav-sub { max-width: 100%; }
}

@media (max-width: 700px) {
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .page-heading { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
    .status-banner { font-size: 12px; padding: 8px 16px; }
}

@media (max-width: 500px) {
    .nav-top {
        padding: 8px 16px;
        flex-wrap: wrap;
        gap: 4px;
    }
    .nav-links {
        order: 4;
        width: 100%;
        justify-content: center;
        gap: 0;
        border-top: 1px solid var(--border);
        padding-top: 6px;
        margin-top: 2px;
    }
    .nav-links a {
        font-size: 10px;
        padding: 4px 6px;
    }
    .nav-auth {
        gap: 4px;
    }
    .btn-login { font-size: 10px; padding: 4px 8px; }
    .btn-membership { font-size: 10px; padding: 6px 10px; }
    .logo-icon img { height: 42px; }
    .page-container { padding: 24px 16px 48px; }
    .filter-blocks { gap: 4px; }
    .filter-block { font-size: 11px; padding: 8px 10px; }
    .status-banner { font-size: 11px; padding: 7px 12px; letter-spacing: 0.3px; }
}
