/* ========================================
   Authentic Gem - Spiritual Readings
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --bg-primary: #b2dfdb;
  --bg-secondary: #e0f2f1;
  --bg-card: #ffffff;
  --accent-primary: #50c878;
  --accent-hover: #3da863;
  --text-primary: #2d3436;
  --text-heading: #1a5632;
  --text-light: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px var(--shadow);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px var(--shadow-hover);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
}

.logo-gem {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-heading);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 100px 20px 60px;
}

.hero-content {
  max-width: 700px;
}

.hero-gem {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 30px rgba(80, 200, 120, 0.3));
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 15px;
}

.tagline {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-weight: 300;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(80, 200, 120, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
  background: var(--accent-primary);
  color: var(--text-light);
}

.btn-full {
  width: 100%;
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 80px 0;
}

.section:nth-child(odd) {
  background: var(--bg-secondary);
}

.section:nth-child(even) {
  background: var(--bg-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 50px;
  opacity: 0.8;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
}

/* ========================================
   Readings / Services Section
   ======================================== */
.readings {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--bg-card);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent-primary);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--shadow-hover);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-primary);
  opacity: 0.8;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* ========================================
   Booking Section
   ======================================== */
.booking {
  background: var(--bg-secondary);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  background: #fafafa;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 40px;
}

.form-success svg {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-heading);
  margin-bottom: 15px;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.hidden {
  display: none;
}

/* ========================================
   Shop Section
   ======================================== */
.shop {
  background: var(--bg-primary);
  text-align: center;
}

.shop-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--text-heading);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-gem {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  font-size: 1rem;
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

.contact-link:hover {
  color: var(--accent-primary);
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    box-shadow: 0 4px 10px var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-price {
    font-size: 1.7rem;
  }
  
  .about-text {
    padding: 30px;
  }
  
  .about-text p {
    font-size: 1.05rem;
  }
  
  .form-container {
    padding: 30px;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 15px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .hero {
    padding: 90px 15px 40px;
  }
  
  .hero-gem {
    width: 80px;
    height: 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 30px;
  }
  
  .about-text {
    padding: 25px;
  }
  
  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .form-container {
    padding: 25px 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
  }
  
  .footer {
    padding: 40px 0 25px;
  }
  
  .footer-brand h3 {
    font-size: 1.5rem;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
