/* ============================================================
   Radad Riding Academy — main stylesheet
   Inspired by ST Horse Riding (Strivio Themes)
   Replace images in /images/ and edit text in index.html
   ============================================================ */

:root {
  --color-primary: #1a1209;
  --color-primary-light: #2c2114;
  --color-accent: #c9a227;
  --color-accent-hover: #dbb42e;
  --color-cream: #f5f0e6;
  --color-white: #ffffff;
  --color-text: #3d3428;
  --color-text-muted: #6b5f50;
  --color-border: #e0d5c4;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --shadow: 0 8px 32px rgba(26, 18, 9, 0.12);
  --radius: 4px;
  --header-h: 80px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 20px;
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-primary);
}

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

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-dark:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
}

/* ── Placeholder images (replace with your photos) ─────────── */
.img-placeholder {
  background: linear-gradient(135deg, #3d3428 0%, #1a1209 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
}

.img-placeholder span { position: relative; z-index: 1; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(26, 18, 9, 0.97);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.nav-menu a:hover { color: var(--color-accent); }

.header-cta .btn { padding: 10px 24px; font-size: 11px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.is-active .hero-bg { transform: scale(1); }

.hero-slide .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 18, 9, 0.82) 0%,
    rgba(26, 18, 9, 0.45) 60%,
    rgba(26, 18, 9, 0.25) 100%
  );
}

/* Default hero backgrounds — replace via inline style or CSS */
.hero-slide:nth-child(1) .hero-bg { background-image: url('../images/hero-1.png'); }
.hero-slide:nth-child(2) .hero-bg { background-image: url('../images/hero-2.png'); }
.hero-slide:nth-child(3) .hero-bg { background-image: url('../images/hero-3.png'); }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-white);
  max-width: 700px;
  margin-bottom: 32px;
}

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

.hero-social {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.hero-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 14px;
  transition: all 0.2s;
}

.hero-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: 0.2s;
}

.hero-dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ── Features strip ────────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--color-cream);
}

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

.feature-card {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

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

/* ── Events ────────────────────────────────────────────────── */
.events {
  padding: 100px 0;
}

.events-header {
  text-align: center;
  margin-bottom: 60px;
}

.events-header .section-desc { margin-inline: auto; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.event-card:hover { box-shadow: var(--shadow); }

.event-card .event-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.event-card .event-body { padding: 28px; }

.event-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.event-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.event-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ── About ─────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--color-primary);
  color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about .section-label { color: var(--color-accent); }
.about .section-title { color: var(--color-white); }
.about .section-desc { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-img {
  height: 500px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.awards {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.award-badge {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Freedom CTA band ──────────────────────────────────────── */
.freedom {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-image: url('../images/freedom-bg.jpg');
}

.freedom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 9, 0.75);
}

.freedom .container { position: relative; z-index: 1; text-align: center; }
.freedom .section-title { color: var(--color-white); max-width: 700px; margin-inline: auto 20px; }
.freedom .section-desc { color: rgba(255,255,255,0.75); margin-inline: auto 32px; }

/* ── Courses ───────────────────────────────────────────────── */
.courses {
  padding: 100px 0;
  background: var(--color-cream);
}

.courses-header {
  text-align: center;
  margin-bottom: 60px;
}

.courses-header .section-desc { margin-inline: auto; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.course-card .course-img {
  height: 240px;
  background-size: cover;
  background-position: center;
}

.course-card .course-body {
  padding: 28px;
  text-align: center;
}

.course-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.course-card p { font-size: 14px; color: var(--color-text-muted); }

.courses-cta { text-align: center; margin-top: 48px; }

/* ── Membership ────────────────────────────────────────────── */
.membership {
  padding: 100px 0;
}

.membership-header { text-align: center; margin-bottom: 48px; }
.membership-header .section-desc { margin-inline: auto; }

.membership-promo {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.billing-toggle button {
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: 0.2s;
}

.billing-toggle button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.billing-toggle button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.billing-toggle button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.price-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.price-amount::after { content: ' EGP'; font-size: 1rem; font-family: var(--font-body); font-weight: 500; color: var(--color-text-muted); }

.price-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-left: 24px;
  position: relative;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ── Benefits ──────────────────────────────────────────────── */
.benefits {
  padding: 100px 0;
  background: var(--color-cream);
}

.benefits-header { text-align: center; margin-bottom: 60px; }
.benefits-header .section-desc { margin-inline: auto; }

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

.benefit-card {
  background: var(--color-white);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.benefit-card .benefit-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.benefit-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--color-text-muted); }

/* ── Ready CTA ─────────────────────────────────────────────── */
.ready-cta {
  padding: 100px 0;
  background: var(--color-primary);
  text-align: center;
}

.ready-cta .section-title { color: var(--color-white); margin-bottom: 16px; }
.ready-cta .section-desc { color: rgba(255,255,255,0.7); margin-inline: auto 32px; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  padding: 100px 0;
}

.testimonials-header { text-align: center; margin-bottom: 60px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--color-cream);
  padding: 36px;
  border-radius: var(--radius);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 28px;
  opacity: 0.4;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding-top: 24px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
}

/* ── Gallery / Training videos ─────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--color-cream);
}

.gallery-header { text-align: center; margin-bottom: 60px; }

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

.gallery-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

.videos {
  padding: 100px 0;
}

.videos-header { text-align: center; margin-bottom: 60px; }

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

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-primary);
}

.video-card video,
.video-card .video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}

.video-card .video-caption {
  padding: 20px 24px;
  color: var(--color-white);
}

.video-card .video-caption h3 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 6px; }
.video-card .video-caption p { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ── Inquiry form ──────────────────────────────────────────── */
.inquiry {
  padding: 100px 0;
  background: var(--color-primary);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.inquiry .section-label { color: var(--color-accent); }
.inquiry .section-title { color: var(--color-white); }
.inquiry .section-desc { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.contact-details { list-style: none; }

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 16px;
  transition: 0.2s;
}

.social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.inquiry-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
}

.form-banner {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}

.form-banner.is-success { background: #d4edda; color: #155724; }
.form-banner.is-error { background: #f8d7da; color: #721c24; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  transition: border-color 0.2s;
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.inquiry-form .btn { width: 100%; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #0f0b06;
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

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

.footer-brand .logo { margin-bottom: 16px; display: inline-block; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

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

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: 0.2s;
}

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

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

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid,
  .events-grid,
  .courses-grid,
  .pricing-grid,
  .benefits-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .hero-social { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(26, 18, 9, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header-cta { display: none; }

  .features-grid,
  .events-grid,
  .courses-grid,
  .pricing-grid,
  .benefits-grid,
  .testimonials-grid,
  .videos-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .about-img { height: 300px; }

  .inquiry-form { padding: 28px; }
}
