/* ============================================
   Lady of Fortune — Clean Mystical Website
   Unique design system • Mobile-first
   ============================================ */

:root {
  /* Color system — mystical yet refined */
  --deep-violet: #1F1235;
  --royal-purple: #3D2A5C;
  --soft-lavender: #9B7EBD;
  --gold: #C9A227;
  --gold-light: #E8D48B;
  --cream: #F9F6F0;
  --off-white: #FFFCFA;
  --charcoal: #2A2438;
  --muted: #6B6578;
  --success: #4A7C59;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & radii */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(31, 18, 53, 0.08);
  --shadow-hover: 0 16px 40px rgba(31, 18, 53, 0.14);
  
  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

ul, ol {
  list-style: none;
}

button, .btn {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--deep-violet);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--charcoal);
  max-width: 38rem;
}

/* Layout helpers */
.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

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

.section-header p {
  max-width: 36rem;
  margin-inline: auto;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 42, 92, 0.08);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(31, 18, 53, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--deep-violet);
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000;
}

.logo-img--footer {
  width: 40px;
  height: 40px;
}

.site-footer .logo {
  color: white;
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover {
  color: var(--royal-purple);
}

.header-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-violet);
  transition: 0.3s var(--ease);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--deep-violet);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
  z-index: 105;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cream);
}

.mobile-nav a:hover {
  color: var(--gold-light);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s var(--ease);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
  color: white;
  box-shadow: 0 4px 15px rgba(61, 42, 92, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(61, 42, 92, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8921F);
  color: var(--deep-violet);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.5);
}

.btn-outline {
  border: 2px solid var(--royal-purple);
  color: var(--royal-purple);
  background: transparent;
}

.btn-outline:hover {
  background: var(--royal-purple);
  color: white;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: linear-gradient(160deg, #2A1A45 0%, #1F1235 45%, #3D2A5C 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(155, 126, 189, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 36rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
  color: var(--gold-light);
}

.hero h1 {
  color: white;
  margin-bottom: 1.1rem;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.25), rgba(155, 126, 189, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

.hero-visual-inner {
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 162, 39, 0.35);
  overflow: hidden;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--royal-purple), var(--deep-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: 'Photo Placeholder\AReplace with studio or reading photo';
  white-space: pre;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

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

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--royal-purple);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid rgba(61, 42, 92, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(61, 42, 92, 0.1), rgba(201, 162, 39, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--royal-purple);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 0.6rem;
}

.service-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-card .btn {
  align-self: flex-start;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--deep-violet), var(--royal-purple));
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  color: white;
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.8rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--off-white);
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(61, 42, 92, 0.05);
}

.testimonial-card .quote {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.2rem;
}

.testimonial-card .quote::before {
  content: '“';
  position: absolute;
  left: -0.1rem;
  top: -0.3rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--deep-violet);
  font-size: 0.9rem;
}

/* ========== CONTACT / INFO ========== */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.info-list {
  margin-top: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
  align-items: flex-start;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(61, 42, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--royal-purple);
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--deep-violet);
  margin-bottom: 0.15rem;
}

.info-item span, .info-item a {
  font-size: 0.95rem;
  color: var(--muted);
}

.info-item a:hover {
  color: var(--royal-purple);
}

.contact-form {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(61, 42, 92, 0.08);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(61, 42, 92, 0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-purple);
  box-shadow: 0 0 0 3px rgba(61, 42, 92, 0.12);
}

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

/* ========== FOOTER ========== */
.site-footer {
  background: var(--deep-violet);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 260px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

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

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.25s;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--deep-violet);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-bottom a {
  color: var(--gold-light);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(160deg, #2A1A45 0%, #1F1235 100%);
  color: white;
  padding: 3.5rem 0 2.8rem;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 32rem;
  margin-inline: auto;
}

/* ========== SERVICE DETAIL ========== */
.service-detail {
  max-width: 720px;
  margin-inline: auto;
}

.service-detail p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.service-detail .cta-wrap {
  margin-top: 2.5rem;
  text-align: center;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .mobile-toggle {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

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

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--deep-violet);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

/* Print */
@media print {
  .site-header, .site-footer, .mobile-nav, .btn { display: none; }
}
