/*
Theme Name: The Lioness Film
Theme URI: https://thelionessfilm.com
Author: The Lioness Film Team
Author URI: https://thelionessfilm.com
Description: A cinematic documentary tribute theme honoring Paula Fils Aime. Built with teal and white palette, full Elementor compatibility, custom page templates, and a complete single-page fundraising layout.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lioness-film
Tags: one-page, documentary, film, dark, teal, elementor, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   LIONESS FILM THEME — GLOBAL STYLES
   ============================================================ */

:root {
  --teal:        #2ab5b5;
  --teal-light:  #7de0e0;
  --black:       #060a0a;
  --deep:        #0a1012;
  --charcoal:    #101c1f;
  --cream:       #e8f6f6;
  --muted:       #6a9099;
  --white:       #f2fafa;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--black);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.2em; color: var(--muted); }
a { color: var(--teal); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--teal-light); }

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

/* Utility */
.teal        { color: var(--teal); }
.teal-light  { color: var(--teal-light); }
.white       { color: var(--white); }
.muted       { color: var(--muted); }
.text-center { text-align: center; }
.serif       { font-family: 'Playfair Display', serif; }

/* Buttons — global overrides */
.wp-block-button__link,
.btn, button[type="submit"] {
  background: var(--teal);
  color: var(--black) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.wp-block-button__link:hover,
.btn:hover, button[type="submit"]:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  color: var(--black) !important;
}

/* Forms */
input, textarea, select {
  background: var(--charcoal);
  border: 1px solid rgba(42,181,181,0.2);
  color: var(--cream);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  width: 100%;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.3s;
}
input:focus, textarea:focus { border-color: var(--teal); }
::placeholder { color: var(--muted); opacity: 1; }

/* Dividers */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(42,181,181,0.3), transparent);
  margin: 60px 0;
}

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */

.elementor-section,
.elementor-container { max-width: 100%; }

/* Make sure Elementor inherits our dark background */
.elementor-page,
.elementor-section-wrap {
  background-color: var(--black);
}

/* Elementor heading widget */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Cinzel', serif;
  color: var(--white);
}

/* Elementor text editor */
.elementor-widget-text-editor { color: var(--muted); }

/* Elementor button */
.elementor-widget-button .elementor-button {
  border-radius: 0 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Elementor icon box */
.elementor-icon-box-title { font-family: 'Cinzel', serif !important; }

/* Elementor divider */
.elementor-divider-separator { border-color: rgba(42,181,181,0.3) !important; }

/* ============================================================
   NAVIGATION
   ============================================================ */

#masthead,
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(6,10,10,0.95), transparent);
  backdrop-filter: blur(2px);
  transition: background 0.3s;
}
#masthead.scrolled { background: rgba(6,10,10,0.98); backdrop-filter: blur(12px); }

.site-branding .site-title,
.site-branding .custom-logo-link {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: var(--teal-light);
  text-transform: uppercase;
  text-decoration: none;
}
.site-branding .site-title a { color: var(--teal-light); text-decoration: none; }

nav#site-navigation ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; gap: 32px;
}
nav#site-navigation ul li a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
nav#site-navigation ul li a:hover { color: var(--cream); }
nav#site-navigation ul li.current-menu-item a { color: var(--teal); }

.menu-cta a {
  background: var(--teal) !important;
  color: var(--black) !important;
  padding: 9px 22px !important;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.menu-cta a:hover { background: var(--teal-light) !important; }

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(42,181,181,0.4);
  color: var(--teal);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 18px;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */

.site-content { padding-top: 0; }

.entry-content { max-width: 100%; }

/* Gutenberg blocks inside content */
.wp-block-group { max-width: 100%; }

/* Comments */
.comment-form-comment textarea { min-height: 140px; }
.form-submit .submit { background: var(--teal); color: var(--black); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #050505;
  border-top: 1px solid rgba(42,181,181,0.1);
  padding: 44px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer .footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
}
.site-footer .footer-logo span { color: var(--teal); }
.site-footer nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.site-footer nav ul li a {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.site-footer nav ul li a:hover { color: var(--cream); }
.site-info {
  font-size: 11px;
  color: rgba(106,144,153,0.5);
  letter-spacing: 0.05em;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  #masthead, .site-header { padding: 16px 24px; }
  nav#site-navigation { display: none; }
  nav#site-navigation.toggled { display: block; }
  nav#site-navigation ul { flex-direction: column; gap: 16px; padding: 20px 0; }
  .menu-toggle { display: block; }
  .site-footer { flex-direction: column; text-align: center; padding: 36px 24px; }
  .site-footer nav ul { justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: clamp(36px, 10vw, 64px); }
  h2 { font-size: clamp(26px, 7vw, 40px); }
}
