:root {
  --gold: #c9a227;
  --gold-light: #e6c45a;
  --brown: #3b2a1a;
  --brown-dark: #2b1e12;
  --sand: #f6efe2;
  --sand-dark: #e8ddc6;
  --text: #3b2a1a;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(43, 30, 18, 0.12);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.8;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

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

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

/* ===== الترويسة ===== */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(43, 30, 18, 0.85);
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-title {
  color: var(--white);
  font-weight: 900;
  font-size: 1.15rem;
}

.brand-sub {
  color: var(--gold-light);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav-link {
  color: var(--sand);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-block: 4px;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gold-light);
  border-radius: 3px;
  transition: transform 0.3s;
}

/* ===== الرئيسية ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2b1e12 0%, #4a3418 60%, #6b4e22 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.15) 0, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(230, 196, 90, 0.12) 0, transparent 45%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 30, 18, 0.55), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-block: 120px;
}

.hero-tagline {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(230, 196, 90, 0.5);
  padding: 6px 22px;
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.hero-title {
  font-family: "Amiri", serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-text {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(246, 239, 226, 0.9);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

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

/* ===== الأزرار ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.5);
}

.btn-outline {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(230, 196, 90, 0.12);
}

.btn-block {
  width: 100%;
}

/* ===== الأقسام العامة ===== */
.section {
  padding-block: 90px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-family: "Amiri", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--brown);
}

/* ===== عن النادي ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  color: #5a452c;
}

.about-list {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--brown);
}

.about-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--gold);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-num {
  display: block;
  font-family: "Amiri", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brown);
}

.stat-label {
  color: #7a6547;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== الرياضات ===== */
.sports {
  background: var(--brown-dark);
}

.sports .section-title {
  color: var(--white);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.sport-card {
  background: rgba(246, 239, 226, 0.06);
  border: 1px solid rgba(230, 196, 90, 0.18);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: background 0.3s, transform 0.3s;
}

.sport-card:hover {
  background: rgba(230, 196, 90, 0.1);
  transform: translateY(-6px);
}

.sport-icon {
  font-size: 2.4rem;
  display: inline-block;
  margin-bottom: 14px;
}

.sport-card h3 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.sport-card p {
  color: rgba(246, 239, 226, 0.85);
  font-size: 0.95rem;
}

/* ===== المعرض ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.gallery-item-lg {
  grid-row: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4a3418, #6b4e22);
  color: var(--gold-light);
  font-weight: 700;
  font-family: "Amiri", serif;
  font-size: 1.1rem;
}

/* ===== الأخبار ===== */
.news {
  background: var(--sand-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-inline-start: 5px solid var(--gold);
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-date {
  display: inline-block;
  background: var(--sand);
  color: #7a6547;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.news-card h3 {
  color: var(--brown);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.news-card p {
  color: #6b5639;
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.news-more {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.news-more:hover {
  color: var(--brown);
}

/* ===== تواصل ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid #d9c9a8;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.form-status {
  text-align: center;
  font-weight: 700;
  color: #2e7d32;
}

.contact-info {
  background: var(--brown-dark);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 34px 28px;
}

.contact-info h3 {
  color: var(--gold-light);
  margin-bottom: 18px;
  font-family: "Amiri", serif;
  font-size: 1.4rem;
}

.contact-info p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.contact-info a {
  color: var(--gold-light);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(230, 196, 90, 0.4);
  border-radius: 50%;
  font-weight: 700;
  transition: background 0.2s;
}

.socials a:hover {
  background: var(--gold);
  color: var(--brown-dark);
}

/* ===== التذييل ===== */
.footer {
  background: var(--brown-dark);
  border-top: 1px solid rgba(230, 196, 90, 0.15);
  padding-block: 22px;
  text-align: center;
  color: rgba(246, 239, 226, 0.7);
  font-size: 0.9rem;
}

/* ===== التجاوب ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: rgba(43, 30, 18, 0.97);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 90;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 100;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-item-lg {
    grid-row: span 1;
  }

  .section {
    padding-block: 64px;
  }
}
