/*!
Theme Name: Hard Target Sport Swimming Academy
Theme URI: https://hardtargetsport.com
Description: صفحة هبوط احترافية لأكاديمية هارد تارجت سبورت للسباحة - نفس التصميم والمحتوى من الموقع الأصلي
Version: 2.0.0
Author: Hard Target Sport
Author URI: https://hardtargetsport.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hts-swimming-academy
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.2
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  color: #dc2626;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #991b1b;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .header-actions .btn span {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(to bottom right, #dc2626, #991b1b);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.custom-logo {
  max-width: 50px !important;
  height: auto !important;
}

.logo-text h1 {
  font-size: 1rem;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 1rem;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: #dc2626;
  color: white;
}

.btn-primary:hover {
  background-color: #991b1b;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-success {
  background-color: #10b981;
  color: white;
}

.btn-success:hover {
  background-color: #059669;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* ===== SECTIONS ===== */
section {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(to bottom right, #ffffff, #fef2f2);
}

.hero-badge {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title span {
  color: #dc2626;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.trust-box {
  background: #eff6ff;
  padding: 1rem;
  border-radius: 0.5rem;
  border-right: 4px solid #0a3a66;
  margin-bottom: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.trust-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.trust-item span {
  color: #1a1a1a;
  font-weight: 500;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

/* ===== CARDS ===== */
.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #dc2626;
}

.card-badge {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.card-list svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 3rem 0 1rem;
}

.site-footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: #9ca3af;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ===== STICKY WHATSAPP BUTTON ===== */
.sticky-phone-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  background-color: #dc2626;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  z-index: 40;
  transition: all 0.2s ease;
  text-decoration: none;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.sticky-phone-btn:hover {
  background-color: #991b1b;
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
  transform: scale(1.1);
}

body.rtl .sticky-phone-btn {
  right: auto;
  left: 1.5rem;
}

.sticky-whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #10b981;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  z-index: 40;
  transition: all 0.2s ease;
  text-decoration: none;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.sticky-whatsapp-btn:hover {
  background-color: #059669;
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
  transform: scale(1.1);
}

body.rtl .sticky-whatsapp-btn {
  right: auto;
  left: 1.5rem;
}

body.rtl .sticky-phone-btn {
  right: auto;
  left: 1.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.shadow { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }

.bg-white { background-color: white; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-red-50 { background-color: #fef2f2; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-green-50 { background-color: #f0fdf4; }

.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }

.border { border: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-r-4 { border-right: 4px solid #dc2626; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}
