/*
Theme Name: Coach Noon | كوتش نون
Theme URI: https://coachnoon.com
Author: Coach Noon
Author URI: https://coachnoon.com
Description: Premium Voice Awareness Coaching Theme -沉浸式声音意识辅导主题
Version: 1.0.3
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coachnoon
Tags: rtl, arabic, coaching, premium, luxury, voice-awareness
*/

/* ====== RESET & BASE ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=IBM+Plex+Sans+Arabic:wght@200;300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --noon-emerald-deep: #12342D;
  --noon-emerald-forest: #1B473B;
  --noon-emerald-dark: #214D43;
  --noon-gold-warm: #B89A63;
  --noon-gold-soft: #CDB37A;
  --noon-gold-champagne: #E4D3A5;
  --noon-cream-warm: #FAF9F5;
  --noon-cream-light: #F4F1EA;
  --noon-dark-text: #2D2D2D;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
  background-color: var(--noon-emerald-deep);
  color: var(--noon-cream-warm);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: rgba(184, 154, 99, 0.3);
  color: var(--noon-cream-warm);
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.font-heading { font-family: 'Cormorant Garamond', serif; }
.font-arabic { font-family: 'IBM Plex Sans Arabic', sans-serif; }

/* ====== LAYOUT ====== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

/* ====== NAVIGATION ====== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.7s ease;
  height: 80px;
}

.site-nav.scrolled {
  background: rgba(18, 52, 45, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  position: relative;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 249, 245, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.025em;
}

.nav-links a:hover,
.nav-links a.active { color: var(--noon-gold-soft); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--noon-gold-soft);
}

/* ====== GLASS PANEL ====== */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 154, 99, 0.12);
  border-radius: 16px;
  transition: all 0.5s ease;
}

.glass-panel:hover {
  border-color: rgba(184, 154, 99, 0.25);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.glass-panel-light {
  background: rgba(18, 52, 45, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(18, 52, 45, 0.08);
  border-radius: 16px;
  transition: all 0.5s ease;
}

.glass-panel-light:hover {
  border-color: rgba(184, 154, 99, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* ====== GOLD BUTTON ====== */
.gold-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: rgba(184, 154, 99, 0.1);
  border: 1px solid rgba(184, 154, 99, 0.3);
  border-radius: 9999px;
  color: var(--noon-gold-soft);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s ease;
  overflow: hidden;
  will-change: transform;
}

.gold-btn:hover {
  background: rgba(184, 154, 99, 0.18);
  border-color: rgba(184, 154, 99, 0.5);
  box-shadow: 0 0 30px rgba(184, 154, 99, 0.15);
  transform: scale(1.02);
}

.gold-btn-sm { padding: 10px 24px; font-size: 13px; }
.gold-btn-lg { padding: 18px 44px; font-size: 17px; }

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--noon-emerald-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 45, 0.6);
  z-index: 1;
}

.hero-waves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.hero-waves svg {
  position: absolute;
  width: 200%;
  height: auto;
  left: -50%;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-title { font-size: 52px; }
}

.hero-reflection {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(250, 249, 245, 0.4);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(250, 249, 245, 0.5);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: rgba(205, 179, 122, 0.6);
  font-size: 14px;
  text-decoration: none;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: color 0.3s ease;
}

.hero-link:hover { color: var(--noon-gold-soft); }

/* ====== SECTIONS ====== */
.section-dark {
  background: var(--noon-emerald-deep);
  padding: 112px 0;
}

.section-light {
  background: var(--noon-cream-warm);
  padding: 112px 0;
  color: var(--noon-emerald-deep);
}

@media (min-width: 768px) {
  .section-dark, .section-light { padding: 144px 0; }
}

.section-label {
  display: inline-block;
  color: var(--noon-gold-soft);
  font-size: 13px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .section-title { font-size: 44px; }
}

.section-body {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.6;
  max-width: 700px;
}

.section-light .section-title { color: var(--noon-emerald-deep); }
.section-light .section-body { color: var(--noon-emerald-deep); opacity: 0.55; }

/* ====== GOLDEN WAVES ANIMATION ====== */
@keyframes wave-drift-1 {
  0%, 100% { transform: translateX(-2%); }
  50% { transform: translateX(2%); }
}
@keyframes wave-drift-2 {
  0%, 100% { transform: translateX(1%); }
  50% { transform: translateX(-3%); }
}
@keyframes wave-drift-3 {
  0%, 100% { transform: translateX(-1%); }
  50% { transform: translateX(3%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes sound-wave {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== STORY SECTION ====== */
.story-points { margin-top: 32px; }
.story-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.story-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(184, 154, 99, 0.1);
  border: 1px solid rgba(184, 154, 99, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--noon-gold-soft);
}

/* ====== PACKAGES / PROGRAMS ====== */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .programs-grid { grid-template-columns: 1fr 1fr; }
}

.program-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  height: 100%;
}

@media (min-width: 640px) {
  .program-card-inner { grid-template-columns: 1fr 1fr; }
}

.program-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}

.program-subtitle {
  color: rgba(184, 154, 99, 0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.program-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--noon-cream-warm);
}

.section-light .program-title { color: var(--noon-emerald-deep); }

.program-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(250, 249, 245, 0.4);
  margin-bottom: 20px;
}

.section-light .program-desc { color: rgba(18, 52, 45, 0.5); }

.program-features { list-style: none; margin-bottom: 24px; }
.program-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(250, 249, 245, 0.45);
  margin-bottom: 8px;
}
.section-light .program-features li { color: rgba(18, 52, 45, 0.5); }

.program-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--noon-gold-warm);
  flex-shrink: 0;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(184, 154, 99, 0.1);
}

.program-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--noon-gold-soft);
}

/* ====== TESTIMONIALS ====== */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 154, 99, 0.1);
  border-radius: 24px;
  padding: 32px 40px;
  position: relative;
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(184, 154, 99, 0.1);
  border: 1px solid rgba(184, 154, 99, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--noon-gold-soft);
  font-weight: 600;
}

.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.star { color: var(--noon-gold-warm); font-size: 14px; }

/* ====== STATS ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--noon-gold-soft);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(250, 249, 245, 0.3);
}

/* ====== BLOG ====== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

.blog-featured {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--noon-emerald-deep);
  border-top: 1px solid rgba(184, 154, 99, 0.08);
  padding: 64px 0 0;
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr; }
}

.footer-title {
  color: var(--noon-gold-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(250, 249, 245, 0.4);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 10px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--noon-gold-soft); }

.footer-bottom {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid rgba(184, 154, 99, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(250, 249, 245, 0.2);
}

/* ====== ANIMATIONS ====== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== MOBILE MENU ====== */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--noon-cream-warm);
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 52, 45, 0.98);
  backdrop-filter: blur(20px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay a {
  font-size: 28px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--noon-cream-warm);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-overlay a:hover { color: var(--noon-gold-soft); }

/* ====== GRID UTILITIES ====== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ====== TEXT UTILITIES ====== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--noon-gold-soft); }
.text-cream { color: var(--noon-cream-warm); }
.text-muted { color: rgba(250, 249, 245, 0.4); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 17px; }

/* ====== SPACING ====== */
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

/* ====== WORDPRESS DEFAULTS ====== */
.wp-block { max-width: 100%; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* Sticky post */
.sticky { position: relative; }

/* Gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.gallery-item { flex: 1 1 200px; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 12px;
  color: rgba(250, 249, 245, 0.3);
  margin-bottom: 24px;
}
.breadcrumbs a { color: rgba(205, 179, 122, 0.6); text-decoration: none; }
.breadcrumbs a:hover { color: var(--noon-gold-soft); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a,
.pagination span {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(184, 154, 99, 0.15);
  color: rgba(250, 249, 245, 0.5);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}
.pagination a:hover,
.pagination .current {
  background: rgba(184, 154, 99, 0.1);
  border-color: rgba(184, 154, 99, 0.3);
  color: var(--noon-gold-soft);
}
