/*
Theme Name: ZANG
Theme URI: https://example.com/zang
Author: ZANG Films
Author URI: https://example.com
Description: A bold, cinematic full-site-editing (FSE) block theme for a social-impact film. Dark, dramatic layout with distressed image-title branding, red accents, festival laurels, screenings, cast credits and donation sections. Fully editable in the WordPress Site Editor.
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zang
Tags: full-site-editing, block-patterns, blog, one-column, custom-colors, custom-logo, custom-menu, editor-style, featured-images, threaded-comments, entertainment
*/

/* ================================================================
   ZANG — supplemental front-end + editor styles
   (colors, fonts, layout come from theme.json; this file adds the
   cinematic touches theme.json cannot express: clipped-image text,
   sticky header, hover motion, laurel badges, etc.)
================================================================ */

:root {
  --zang-red: #e11414;
  --zang-red-soft: rgba(225, 20, 20, 0.85);
}

/* ---------- Global feel ---------- */
body {
  background-color: #000000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--zang-red);
  color: #fff;
}

/* ---------- Sticky header ---------- */
.zang-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(7, 7, 7, 0.82) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zang-header .wp-block-navigation {
  gap: 2.2rem;
}

.zang-header .wp-block-navigation-item a {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: #f4f4f4;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.zang-header .wp-block-navigation-item a:hover {
  color: var(--zang-red);
}

.zang-logo img {
  width: 120px;
  height: auto;
  transition: transform 0.4s ease;
}
.zang-logo img:hover { transform: scale(1.05); }

/* ---------- Distressed image-filled headings ---------- */
.zang-clip {
  font-family: "Anton", sans-serif !important;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.6));
}

.zang-clip.zang-clip--metal { background-image: url(assets/images/texture-metal.jpg); }
.zang-clip.zang-clip--desert { background-image: url(assets/images/texture-desert.jpg); }
.zang-clip.zang-clip--soldier { background-image: url(assets/images/still-soldier.jpg); }

/* ---------- Red accent links ---------- */
.zang-redlinks a,
a.zang-redlink {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--zang-red);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}
.zang-redlinks a:hover,
a.zang-redlink:hover {
  color: #ff4d4d;
  letter-spacing: 0.22em;
}

/* ---------- Outline / ghost button (Donate) ---------- */
.wp-block-button.is-style-zang-ghost .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 1px solid var(--zang-red);
  border-radius: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.9rem 2.6rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.wp-block-button.is-style-zang-ghost .wp-block-button__link:hover {
  background: var(--zang-red);
  color: #fff;
  transform: translateY(-2px);
}

/* Solid red button */
.wp-block-button.is-style-zang-solid .wp-block-button__link {
  background: var(--zang-red);
  color: #fff;
  border-radius: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.9rem 2.4rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.wp-block-button.is-style-zang-solid .wp-block-button__link:hover {
  background: #ff2a2a;
  transform: translateY(-2px);
}

/* ---------- Laurel / festival badges ---------- */
.zang-laurel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 1.1rem 0.8rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.zang-laurel:hover {
  border-color: var(--zang-red);
  transform: translateY(-4px);
}
.zang-laurel .wp-block-heading,
.zang-laurel p {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Screening card ---------- */
.zang-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.zang-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.zang-card img { transition: transform 0.6s ease; }
.zang-card:hover img { transform: scale(1.06); }

/* ---------- Cast credits ---------- */
.zang-credit .wp-block-heading {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
}

/* ---------- Section eyebrow label ---------- */
.zang-eyebrow {
  font-family: "Oswald", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--zang-red) !important;
  font-size: 0.8rem;
}

/* ---------- Subtle entrance ---------- */
.zang-hero-title img {
  animation: zang-fade 1.2s ease both;
}
@keyframes zang-fade {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.zang-footer a { color: #cfcfcf; text-decoration: none; transition: color 0.25s ease; }
.zang-footer a:hover { color: var(--zang-red); }

.zang-social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.zang-social a:hover {
  background: var(--zang-red);
  border-color: var(--zang-red);
  transform: translateY(-3px);
}

/* ---------- Responsive display sizing ---------- */
@media (max-width: 781px) {
  .zang-header .wp-block-navigation { gap: 1rem; }
  .zang-logo img { width: 92px; }
}
