/*
Theme Name: Red Tornado FC
Theme URI: https://example.com/
Author: Red Tornado FC
Description: Custom Red Tornado FC football club website theme.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: red-tornado-fc
*/

:root {
  --red: #ed1111;
  --dark: #090909;
  --dark-2: #151515;
  --white: #ffffff;
  --gray: #bdbdbd;
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), 92%); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7,7,7,.97);
  border-bottom: 1px solid #292929;
}
.nav {
  min-height: 86px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: #fff; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand span { font-size: 18px; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .3px;
  padding: 12px 14px; border-radius: 4px;
}
.nav-links a:hover, .nav-links a.active { background: var(--red); }
.menu-toggle {
  display: none; background: none; border: 0; color: #fff;
  font-size: 28px; cursor: pointer;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 640px;
  background: #050505;
  overflow: hidden;
}
.hero-image {
  width: 100%; height: 100%; min-height: 640px;
  object-fit: cover; object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.10) 55%, rgba(0,0,0,.2));
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-copy { color: #fff; max-width: 520px; padding-top: 40px; }
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98; text-transform: uppercase;
  font-weight: 900; letter-spacing: -1px;
  text-shadow: 0 3px 20px #000;
}
.hero-copy p { margin: 22px 0; font-size: 20px; font-weight: 700; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 20px; border-radius: 4px;
  font-weight: 800; text-transform: uppercase; font-size: 14px;
  border: 2px solid var(--red); transition: .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #c90d0d; border-color: #c90d0d; }
.btn-outline { background: rgba(0,0,0,.35); color: #fff; }
.btn-outline:hover { background: #fff; color: #111; border-color: #fff; }

/* Sections */
.section { padding: 76px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title .eyebrow {
  color: var(--red); font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; font-size: 13px;
}
.section-title h2 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; margin-top: 7px; }
.section-title p { max-width: 720px; margin: 12px auto 0; color: #666; }
.section-dark .section-title p { color: #bbb; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid #e4e4e4; border-top: 4px solid var(--red);
  padding: 28px; background: #fff;
}
.card h3 { margin-bottom: 9px; text-transform: uppercase; }
.card p { color: #666; }
.dark-card { background: #171717; border-color: #292929; }
.dark-card p { color: #bbb; }
.icon { color: var(--red); font-size: 32px; margin-bottom: 12px; }

.cta {
  background: var(--red); color: #fff; padding: 55px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; line-height: 1.05; }
.cta p { margin-top: 7px; }
.cta .btn { background: #fff; color: #111; border-color: #fff; }
.cta .btn:hover { background: #111; color: #fff; }

/* Inner pages */
.page-hero {
  background: linear-gradient(120deg, #090909, #1b1b1b);
  color: #fff; padding: 70px 0;
  border-bottom: 4px solid var(--red);
}
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); text-transform: uppercase; line-height: 1; }
.page-hero p { color: #bbb; margin-top: 12px; max-width: 720px; }
.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: start; }
.content h2 { margin: 28px 0 10px; font-size: 30px; text-transform: uppercase; }
.content h2:first-child { margin-top: 0; }
.content p { color: #555; margin-bottom: 15px; }
.info-box { background: #111; color: #fff; padding: 28px; border-top: 4px solid var(--red); }
.info-box h3 { text-transform: uppercase; margin-bottom: 14px; }
.info-box p { color: #ccc; margin-bottom: 10px; }

.form-wrap { max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: 14px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #ccc;
  border-radius: 3px; font: inherit; background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
.note {
  margin: 20px 0; padding: 15px 17px; background: #f4f4f4;
  border-left: 4px solid var(--red); color: #555;
}
.form-submit { margin-top: 22px; }

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { background: #f6f6f6; padding: 28px; border-top: 4px solid var(--red); }
.contact-card h3 { text-transform: uppercase; margin-bottom: 8px; }
.contact-card p { color: #666; }

/* Footer */
footer { background: #050505; color: #aaa; padding: 40px 0 20px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; gap: 15px; align-items: center; color: #fff; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand strong { display: block; font-size: 18px; color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a:hover { color: var(--red); }
.copyright { border-top: 1px solid #222; margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .nav { min-height: 74px; }
  .brand img { width: 54px; height: 54px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 74px;
    background: #090909; padding: 10px 4%; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid #292929;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; }
  .hero, .hero-image { min-height: 560px; }
  .hero-copy { padding-top: 0; max-width: 460px; }
  .cards, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-inner, .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .brand span { font-size: 14px; }
  .hero, .hero-image { min-height: 500px; }
  .hero-image { object-position: 50% top; }
  .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.72)); }
  .hero-copy { align-self: flex-end; padding-bottom: 35px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy p { font-size: 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .section { padding: 55px 0; }
}

/* WordPress menu compatibility */
.nav-links > ul, .nav-links .rtfc-fallback-menu {
  display:flex; align-items:center; gap:6px; list-style:none; margin:0; padding:0;
}
.nav-links li { list-style:none; }
.footer-links ul { display:flex; flex-wrap:wrap; gap:18px; list-style:none; margin:0; padding:0; }
.footer-links li { list-style:none; }
@media (max-width:900px) {
  .nav-links > ul, .nav-links .rtfc-fallback-menu { flex-direction:column; align-items:stretch; }
}

.hero > picture { display:block; width:100%; height:100%; }
.hero > picture .hero-image { width:100%; height:100%; min-height:640px; object-fit:cover; object-position:center top; }
@media (max-width:900px){ .hero > picture .hero-image { min-height:560px; } }
@media (max-width:600px){ .hero > picture .hero-image { min-height:500px; } }

.whatsapp-nav{font-weight:700;}
.contact-card .btn{display:inline-block;}
