/*
Theme Name: دليل السيو لمتاجر سلة
Theme URI: https://example.com
Author: SEO Expert
Author URI: https://example.com
Description: ثيم ووردبريس احترافي لبيع كتاب السيو لمتاجر سلة
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salla-seo-book
Domain Path: /languages
*/

/* ============================================
   CSS Variables - Green & Gold Theme
   ============================================ */
:root {
  --primary-green: #15803D;
  --dark-green: #166534;
  --light-green: #22C55E;
  --gold: #EAB308;
  --dark-gray: #1F2937;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
  --text-color: #374151;
  --border-color: #E5E7EB;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  direction: rtl;
  background-color: var(--white);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-green);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.col-1 { grid-column: 1; }
.col-2 { grid-column: 1 / 3; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-brand .primary {
  color: var(--primary-green);
}

.navbar-brand .accent {
  color: var(--gold);
  font-size: 0.9rem;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-menu a {
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--primary-green);
}

.navbar-btn {
  background: var(--primary-green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.navbar-btn:hover {
  background: var(--dark-green);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 253, 244, 1) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 .accent {
  color: var(--gold);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-badge {
  display: inline-block;
  background: rgba(234, 179, 8, 0.1);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark-green);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.stat-label {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* ============================================
   Book Section
   ============================================ */
.book-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
}

.book-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.book-cover {
  text-align: center;
}

.book-cover img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.book-info h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.book-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.book-features {
  list-style: none;
  margin-bottom: 2rem;
}

.book-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.book-features li:before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.book-pricing {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.price-box {
  text-align: center;
}

.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.price-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.price-original {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
}

.price-save {
  color: var(--gold);
  font-weight: 600;
}

.btn-buy {
  width: 100%;
  background: var(--gold);
  color: var(--dark-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-buy:hover {
  background: #FACC15;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
  padding: 4rem 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.section-subtitle {
  text-align: center;
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(21, 128, 61, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-green);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-color);
  line-height: 1.8;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits-section {
  padding: 4rem 0;
  background: rgba(240, 253, 244, 0.5);
}

.benefits-image {
  text-align: center;
  margin-bottom: 2rem;
}

.benefits-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  color: var(--gold);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.05rem;
}

.testimonial-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  padding: 4rem 0;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-green);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(21, 128, 61, 0.05);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-color);
  line-height: 1.8;
  display: none;
  background: var(--white);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-guarantee {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--dark-green);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .navbar-menu {
    display: none;
  }

  .hero-content,
  .book-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
