/*
Theme Name: Hard Target Swimming Academy
Theme URI: https://example.com
Author: Advance Digital
Author URI: https://example.com
Description: One-page landing page theme for Hard Target Swimming Academy (Qatar), RTL Arabic, mobile-responsive, WhatsApp-focused.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hard-target
Tags: one-page, rtl, landing-page, business
*/

/* =========================================================
   1. VARIABLES & RESET
   ========================================================= */
:root {
  --color-navy: #0D2B35;
  --color-dark-teal: #0D6B7A;
  --color-teal: #2EC4C4;
  --color-teal-light: #E6F7F7;
  --color-gold: #F4C430;
  --color-white: #FFFFFF;
  --color-off-white: #F7FAFA;
  --color-gray: #5C6B70;
  --color-border: #E2EEEE;

  --font-base: 'Tajawal', 'Amiri', Arial, sans-serif;
  --container-width: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(13, 43, 53, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section { padding: 50px 0; }
  .container { padding: 0 16px; }
}

/* =========================================================
   2. UTILITIES
   ========================================================= */
.eyebrow {
  display: inline-block;
  background: var(--color-teal-light);
  color: var(--color-dark-teal);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-gray);
  max-width: 700px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-navy);
}
.btn-primary:hover {
  background: var(--color-dark-teal);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-navy);
}
.btn-light:hover {
  background: var(--color-gold);
}

.btn-block {
  width: 100%;
}

/* =========================================================
   3. HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo span {
  color: var(--color-teal);
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-navy);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--color-dark-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--color-navy);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow);
    padding: 16px;
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 16px;
  }
  .menu-toggle { display: block; }
  .header-phone { display: none; }
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--color-teal-light) 0%, var(--color-white) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--color-navy);
}

.hero-content p {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--color-gray);
  font-weight: 600;
}

.hero-meta a {
  color: var(--color-dark-teal);
  text-decoration: underline;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-badge strong {
  display: block;
  font-size: 28px;
  color: var(--color-dark-teal);
  font-weight: 800;
}

.hero-badge span {
  font-size: 13px;
  color: var(--color-gray);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; flex-wrap: wrap; }
  .hero-badge { right: 16px; bottom: 16px; padding: 10px 16px; }
  .hero-badge strong { font-size: 20px; }
}

/* =========================================================
   5. FEATURE CARDS (4-up, below hero)
   ========================================================= */
.features {
  padding-top: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-gray);
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   6. PRICING / SERVICES
   ========================================================= */
.pricing {
  background: var(--color-off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.price-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
}

.price-card.featured {
  border-color: var(--color-teal);
  box-shadow: var(--shadow);
}

.price-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.price-tag.limited {
  background: var(--color-gold);
  color: var(--color-navy);
}

.price-tag.best {
  background: var(--color-teal);
  color: var(--color-navy);
}

.price-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-dark-teal);
  margin-bottom: 20px;
}

.price-value span {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray);
}

.price-features {
  margin-bottom: 28px;
}

.price-features li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--color-navy);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-dark-teal);
  font-weight: 800;
}

/* Mini service cards (6-up) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}

.service-card .badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--color-teal-light);
  color: var(--color-dark-teal);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.service-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-gray);
}

.pricing-note {
  text-align: center;
  font-size: 15px;
  color: var(--color-gray);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   7. AUDIENCE
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.audience-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.audience-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.audience-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 14px;
  color: var(--color-gray);
}

.audience-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   8. WHY US
   ========================================================= */
.why {
  background: var(--color-navy);
  color: var(--color-white);
}

.why .eyebrow {
  background: rgba(255,255,255,0.1);
  color: var(--color-teal);
}

.why .section-title,
.why .section-subtitle {
  color: var(--color-white);
}

.why .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-list li {
  position: relative;
  padding-right: 32px;
  margin-bottom: 18px;
  font-size: 16px;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-teal);
  font-weight: 800;
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   9. REVIEWS
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.review-card blockquote {
  font-size: 15px;
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.8;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-dark-teal);
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   10. FAQ
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-base);
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--color-dark-teal);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 15px;
  color: var(--color-gray);
}

.faq-answer-inner {
  padding-bottom: 22px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* =========================================================
   11. FINAL CTA
   ========================================================= */
.final-cta {
  background: linear-gradient(135deg, var(--color-dark-teal), var(--color-navy));
  color: var(--color-white);
  text-align: center;
}

.final-cta .section-title,
.final-cta p {
  color: var(--color-white);
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.85);
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   12. FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .site-logo {
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-brand .site-logo span {
  color: var(--color-teal);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--color-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   13. STICKY MOBILE CTA + WHATSAPP FLOAT
   ========================================================= */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 998;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  left: 24px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow);
  z-index: 997;
}

@media (min-width: 769px) {
  .whatsapp-float { bottom: 24px; }
}
