/*
Theme Name: Spells to Get My Ex Back
Theme URI: https://spellstogetmyexback.com
Author: Baba Ali
Author URI: https://spellstogetmyexback.com
Description: A professional, spiritually-inspired WordPress theme for love spell services. Designed with modern aesthetics, accessibility compliance (WCAG 2.2 AA), and SEO optimization.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spells-get-ex-back
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
*/

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

a {
  color: #8b6f47;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4a574;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  color: #2c2c2c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

h4 {
  font-size: 1.4rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #8b6f47;
  font-family: 'Georgia', serif;
}

.site-logo a {
  color: #8b6f47;
}

.site-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-navigation a {
  color: #333;
  font-weight: 500;
  position: relative;
}

.site-navigation a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8b6f47;
  transition: width 0.3s ease;
}

.site-navigation a:hover:after {
  width: 100%;
}

.cta-button {
  background-color: #d4a574;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #8b6f47;
  color: #fff;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  background: linear-gradient(135deg, rgba(139, 111, 71, 0.8), rgba(212, 165, 116, 0.7)), url('assets/images/hero-bg.jpg') center/cover;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-section h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.btn {
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #d4a574;
  color: #fff;
}

.btn-primary:hover {
  background-color: #fff;
  color: #8b6f47;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #8b6f47;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #555;
}

.credentials {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f5f0e8;
  border-left: 4px solid #8b6f47;
  border-radius: 5px;
}

.credentials h4 {
  color: #8b6f47;
  margin-bottom: 1rem;
}

.credentials ul {
  list-style: none;
  padding-left: 0;
}

.credentials li {
  padding: 0.5rem 0;
  color: #555;
}

.credentials li:before {
  content: "✓ ";
  color: #d4a574;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  padding: 4rem 2rem;
  background-color: #f5f0e8;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #8b6f47;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-card a {
  color: #d4a574;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card a:hover {
  color: #8b6f47;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.testimonial-card {
  background-color: #f5f0e8;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #d4a574;
  position: relative;
}

.testimonial-quote {
  font-size: 2rem;
  color: #d4a574;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: #555;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #8b6f47;
}

.stars {
  color: #d4a574;
  margin-bottom: 1rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, #8b6f47, #d4a574);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  padding: 4rem 2rem;
  background-color: #f5f0e8;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: #8b6f47;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  color: #2c2c2c;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c2c2c;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b6f47;
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

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

.form-submit {
  background-color: #8b6f47;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.form-submit:hover {
  background-color: #d4a574;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
  color: #d4a574;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
}

.footer-section a:hover {
  color: #d4a574;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .header-content {
    padding: 1rem;
  }

  .site-navigation ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-section {
    padding: 3rem 1rem;
    min-height: 400px;
  }

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

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

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

  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

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

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

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

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid #8b6f47;
  outline-offset: 2px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
