/*
Theme Name: Legacy Empire Sports
Theme URI: https://legacyempiresports.com
Description: Dark Art Deco one-page theme for Legacy Empire Sports. Empire State Building skyline, gold accents, mobster aesthetic. Designed for use with Contact Form 7.
Version: 1.0.0
Author: Bayou City Web
Author URI: https://bayoucityweb.com
License: proprietary
Text Domain: legacy-empire-sports
*/

:root {
  --les-black: #0a0a0a;
  --les-near-black: #111111;
  --les-dark-gray: #1a1a1a;
  --les-charcoal: #222222;
  --les-gold: #c9a84c;
  --les-gold-light: #e2c97e;
  --les-gold-dark: #a07e2e;
  --les-cream: #f0e6cc;
  --les-silver: #8a8a8a;
  --les-white: #f5f2eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--les-black);
  color: var(--les-white);
  font-family: 'Libre Baskerville', serif;
  overflow-x: hidden;
}

/* ── Noise / Grain overlay ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Art Deco decorative elements ── */
.deco-line {
  display: block; width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--les-gold), transparent);
  margin: 0 auto;
}
.deco-line.wide { width: 240px; }

.deco-diamond {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 24px auto;
}
.deco-diamond::before, .deco-diamond::after {
  content: ''; flex: 1; max-width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--les-gold-dark));
}
.deco-diamond::after { background: linear-gradient(90deg, var(--les-gold-dark), transparent); }
.deco-diamond span {
  width: 10px; height: 10px; background: var(--les-gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── HERO ── */
.les-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 40px 20px;
}
.les-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
  background:
    linear-gradient(to top, var(--les-near-black) 0%, transparent 100%),
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 5% bottom / 4% 30%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 8% bottom / 3% 22%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 12% bottom / 5% 35%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 18% bottom / 3% 28%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 22% bottom / 6% 40%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 30% bottom / 4% 32%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 35% bottom / 5% 38%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 40% bottom / 3% 25%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 48% bottom / 2% 60%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 47% bottom / 6% 45%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 46% bottom / 8% 38%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 48.5% bottom / 0.5% 68%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 56% bottom / 5% 34%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 62% bottom / 4% 28%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 67% bottom / 6% 36%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 74% bottom / 3% 24%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 78% bottom / 5% 30%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 84% bottom / 4% 26%,
    linear-gradient(var(--les-dark-gray), var(--les-dark-gray)) no-repeat 89% bottom / 6% 33%,
    linear-gradient(var(--les-charcoal), var(--les-charcoal)) no-repeat 95% bottom / 5% 28%;
  opacity: 0.5; z-index: 0;
}
.les-hero::after {
  content: ''; position: absolute; top: -10%; left: 50%;
  transform: translateX(-50%); width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  z-index: 0;
}
.les-hero-content { position: relative; z-index: 1; max-width: 720px; }
.les-hero-badge {
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase; color: var(--les-gold);
  margin-bottom: 32px; opacity: 0; animation: lesFadeDown 1s ease 0.3s forwards;
}
.les-hero-title {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: clamp(42px, 7vw, 80px); line-height: 1.05;
  letter-spacing: 3px; text-transform: uppercase; color: var(--les-white);
  margin-bottom: 8px; opacity: 0; animation: lesFadeUp 1s ease 0.5s forwards;
}
.les-hero-title .les-gold { color: var(--les-gold); display: block; }
.les-hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 26px); font-style: italic; font-weight: 400;
  color: var(--les-silver); margin-top: 16px; margin-bottom: 40px;
  opacity: 0; animation: lesFadeUp 1s ease 0.8s forwards;
}
.les-hero-cta { opacity: 0; animation: lesFadeUp 1s ease 1.1s forwards; }
.les-hero-cta a {
  display: inline-block; font-family: 'Cinzel', serif;
  font-size: 13px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--les-black);
  background: linear-gradient(135deg, var(--les-gold-light), var(--les-gold), var(--les-gold-dark));
  padding: 18px 48px; text-decoration: none;
  transition: all 0.4s ease; box-shadow: 0 4px 30px rgba(201, 168, 76, 0.2);
}
.les-hero-cta a:hover {
  box-shadow: 0 6px 40px rgba(201, 168, 76, 0.4); transform: translateY(-2px);
}

/* ── SECTIONS ── */
.les-section {
  padding: 80px 20px; max-width: 800px; margin: 0 auto; text-align: center;
}
.les-section-label {
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase; color: var(--les-gold);
  margin-bottom: 24px;
}
.les-section h2 {
  font-family: 'Cinzel', serif; font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  line-height: 1.2; margin-bottom: 32px;
}
.les-section p {
  font-size: 17px; line-height: 1.8; color: var(--les-cream);
  max-width: 600px; margin: 0 auto 24px; opacity: 0.85;
}

/* ── PILLARS ── */
.les-pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; max-width: 900px; margin: 60px auto 0; padding: 0 20px; text-align: center;
}
.les-pillar {
  padding: 40px 24px; border: 1px solid rgba(201, 168, 76, 0.15);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.03), transparent);
  position: relative;
}
.les-pillar::before, .les-pillar::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border-color: var(--les-gold-dark); border-style: solid;
}
.les-pillar::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.les-pillar::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.les-pillar-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.les-pillar h3 {
  font-family: 'Cinzel', serif; font-size: 15px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--les-gold);
  margin-bottom: 16px;
}
.les-pillar p { font-size: 15px; line-height: 1.7; color: var(--les-silver); }

/* ── QUOTE ── */
.les-quote { padding: 80px 20px; text-align: center; }
.les-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.5vw, 34px); font-style: italic; font-weight: 400;
  color: var(--les-cream); max-width: 700px; margin: 0 auto;
  line-height: 1.5; position: relative; padding: 0 40px;
  border: none; background: none;
}
.les-quote blockquote::before {
  content: '\201C'; font-family: 'Cinzel', serif; font-size: 80px;
  color: var(--les-gold-dark); position: absolute; top: -30px; left: 0;
  line-height: 1; opacity: 0.6;
}
.les-quote-attr {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--les-gold); margin-top: 24px; text-align: center;
}

/* ── OPT-IN ── */
.les-optin {
  padding: 100px 20px; text-align: center; position: relative;
  background: linear-gradient(180deg, var(--les-black), var(--les-near-black), var(--les-black));
}
.les-optin::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}
.les-optin-box {
  max-width: 520px; margin: 0 auto; padding: 60px 40px;
  border: 1px solid rgba(201, 168, 76, 0.2); background: rgba(17, 17, 17, 0.8);
  position: relative; z-index: 1;
}
.les-optin-box::before {
  content: ''; position: absolute; top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 3px solid var(--les-gold); border-left: 3px solid var(--les-gold);
}
.les-optin-box::after {
  content: ''; position: absolute; bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 3px solid var(--les-gold); border-right: 3px solid var(--les-gold);
}
.les-optin-box h2 {
  font-family: 'Cinzel', serif; font-size: clamp(24px, 4vw, 36px);
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.les-optin-box .les-gold { color: var(--les-gold); }
.les-optin-subtitle {
  font-family: 'Cormorant Garamond', serif; font-size: 18px;
  font-style: italic; color: var(--les-silver); margin-bottom: 36px;
}

/* ── CF7 FORM STYLES ── */
.les-optin-box .wpcf7-form {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 380px; margin: 0 auto;
}
.les-optin-box .wpcf7-form p {
  margin: 0; padding: 0;
}
.les-optin-box .wpcf7-form br {
  display: none;
}
.les-optin-box .wpcf7-form label {
  display: contents;
}
.les-optin-box .wpcf7-form input[type="text"],
.les-optin-box .wpcf7-form input[type="email"],
.les-optin-box .wpcf7-form input[type="tel"] {
  width: 100%; padding: 16px 20px;
  font-family: 'Libre Baskerville', serif; font-size: 14px;
  color: var(--les-white); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.25); border-radius: 0; outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; letter-spacing: 0.5px;
}
.les-optin-box .wpcf7-form input::placeholder {
  color: var(--les-silver); font-style: italic; opacity: 0.6;
}
.les-optin-box .wpcf7-form input:focus {
  border-color: var(--les-gold); box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}
.les-optin-box .wpcf7-form input[type="submit"] {
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--les-black);
  background: linear-gradient(135deg, var(--les-gold-light), var(--les-gold), var(--les-gold-dark));
  padding: 18px 32px; border: none; border-radius: 0; cursor: pointer; margin-top: 8px;
  transition: all 0.4s ease; box-shadow: 0 4px 30px rgba(201, 168, 76, 0.15);
}
.les-optin-box .wpcf7-form input[type="submit"]:hover {
  box-shadow: 0 6px 40px rgba(201, 168, 76, 0.35); transform: translateY(-2px);
}
.les-optin-box .wpcf7-form .wpcf7-not-valid-tip {
  color: #e74c3c; font-size: 12px; margin-top: 4px;
}
.les-optin-box .wpcf7-form .wpcf7-response-output {
  font-family: 'Libre Baskerville', serif; font-size: 14px;
  color: var(--les-gold); border-color: var(--les-gold-dark) !important;
  margin: 16px 0 0 !important; padding: 12px !important;
}
.les-optin-box .wpcf7-form .wpcf7-spinner { display: none; }

.les-disclaimer {
  font-size: 12px; color: var(--les-silver); opacity: 0.5;
  margin-top: 20px; line-height: 1.6;
}

/* ── FOOTER ── */
.les-footer {
  padding: 60px 20px 40px; text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}
.les-footer-logo {
  font-family: 'Cinzel', serif; font-size: 18px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--les-gold); margin-bottom: 16px;
}
.les-footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-size: 14px;
  font-style: italic; color: var(--les-silver); margin-bottom: 24px;
}
.les-footer-legal {
  font-size: 11px; color: var(--les-silver); opacity: 0.4;
  line-height: 1.8; max-width: 600px; margin: 0 auto;
}

/* ── Animations ── */
@keyframes lesFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lesFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .les-pillars { grid-template-columns: 1fr; gap: 24px; }
  .les-optin-box { padding: 40px 24px; }
  .les-quote blockquote { padding: 0 20px; }
  .les-hero-cta a { padding: 16px 36px; font-size: 12px; }
}

/* ── Kill WP admin bar gap ── */
html { margin-top: 0 !important; }
#wpadminbar { display: none; }
