/*
 Theme Name: Grahaline Child
 Template: hello-elementor
 Description: Grahaline – Vedic Astrology & Holistic Consultation
 Version: 1.0
 Author: Grahaline
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Cinzel:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   CSS VARIABLES (BRAND COLOURS)
   ============================================================ */
:root {
  --cream: #F5EFE0;
  --warm-white: #FBF7F0;
  --deep-maroon: #5C1A1A;
  --gold: #C9933A;
  --gold-light: #E8B96A;
  --gold-pale: #F2D98A;
  --rust: #8B3A1A;
  --charcoal: #1C1C1C;
  --text-dark: #2A1A0E;
  --text-mid: #4A3728;
  --text-light: #7A6555;
  --border-gold: rgba(201,147,58,0.3);
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--warm-white) !important;
  color: var(--text-dark) !important;
  font-family: var(--font-body) !important;
  font-weight: 300;
  overflow-x: hidden;
}

/* Subtle dot pattern background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,147,58,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(92,26,26,0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9933A' fill-opacity='0.03'%3E%3Cpath d='M30 0l2 28-2 2-2-2L30 0zM60 30l-28 2-2-2 2-2L60 30zM30 60l-2-28 2-2 2 2L30 60zM0 30l28-2 2 2-2 2L0 30z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display) !important; font-weight: 300; color: var(--text-dark); }
p { font-family: var(--font-body); color: var(--text-mid); line-height: 1.85; }
a { text-decoration: none; transition: color 0.2s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header,
header.e-con,
#site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999 !important;
  background: rgba(251,247,240,0.92) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--border-gold) !important;
  padding: 16px 60px !important;
  transition: all 0.3s ease !important;
}

/* Nav logo height */
.site-header .site-logo img,
.elementor-widget-site-logo img { height: 40px !important; width: auto !important; }

/* Nav links */
.elementor-nav-menu a,
nav.e-con a {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-mid) !important;
  font-weight: 400 !important;
}
.elementor-nav-menu a:hover { color: var(--gold) !important; }

/* Nav CTA button */
.nav-cta-btn a,
.elementor-button.nav-cta {
  font-family: var(--font-heading) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
  background: var(--deep-maroon) !important;
  color: var(--gold-pale) !important;
  padding: 10px 24px !important;
  border: none !important;
  transition: all 0.3s !important;
}
.nav-cta-btn a:hover,
.elementor-button.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--deep-maroon) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.grahaline-hero {
  min-height: 100vh;
  padding: 120px 60px 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-badge::before,
.hero-badge::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(52px, 6vw, 88px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  color: var(--text-dark) !important;
  margin-bottom: 12px;
}
.hero-title em { font-style: italic; color: var(--deep-maroon); }

.hero-subtitle {
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  letter-spacing: 0.25em !important;
  color: var(--gold) !important;
  text-transform: uppercase !important;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 48px;
}

/* Hero stats bar */
.hero-stats {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-gold);
  display: flex;
  gap: 60px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--deep-maroon);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
}

/* Mandala spin */
.mandala-spin {
  animation: rotateSlow 80s linear infinite;
}
.mandala-spin-rev {
  animation: rotateSlow 50s linear infinite reverse;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.elementor-button.style-primary {
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  background: var(--deep-maroon) !important;
  color: var(--gold-pale) !important;
  padding: 16px 36px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
}
.btn-primary:hover,
.elementor-button.style-primary:hover {
  background: var(--gold) !important;
  color: var(--deep-maroon) !important;
}

.btn-outline,
.elementor-button.style-outline {
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  background: transparent !important;
  color: var(--deep-maroon) !important;
  padding: 14px 34px !important;
  border: 1.5px solid var(--deep-maroon) !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
}
.btn-outline:hover,
.elementor-button.style-outline:hover {
  background: var(--deep-maroon) !important;
  color: var(--gold-pale) !important;
}

/* ============================================================
   SECTION TAGS
   ============================================================ */
.section-tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: var(--font-display) !important;
  font-size: clamp(38px, 4vw, 56px) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  color: var(--text-dark) !important;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--deep-maroon); }

/* Centred variant */
.section-title-center {
  text-align: center;
}
.section-tag-center {
  justify-content: center;
}
.section-tag-center::before { display: none; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 100px 60px;
  background: var(--warm-white);
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

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

/* Gold gradient border around about photo */
.about-frame-border {
  position: relative;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--deep-maroon) 100%);
  display: inline-block;
}

.about-frame-border img {
  display: block;
  position: relative;
}

/* MJP badge */
.mjp-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--deep-maroon);
  color: var(--gold-pale);
  padding: 20px 24px;
  text-align: center;
  z-index: 2;
}
.mjp-badge-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  display: block;
}
.mjp-badge-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 4px;
  display: block;
}

/* Credential list */
.credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.credential-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   PHILOSOPHY BAND
   ============================================================ */
.philosophy-section {
  background: var(--deep-maroon) !important;
  padding: 80px 60px !important;
  position: relative;
  overflow: hidden;
}

.philosophy-quote {
  font-family: var(--font-display) !important;
  font-size: clamp(24px, 3.5vw, 42px) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: var(--gold-pale) !important;
  line-height: 1.4 !important;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
}
.philosophy-quote span { color: var(--gold-light); }

.philosophy-attribution {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(242,217,138,0.5);
  text-transform: uppercase;
  text-align: center;
}

.philosophy-ornament {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 12px;
  text-align: center;
  margin-bottom: 32px;
  display: block;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 100px 60px;
  background: var(--warm-white);
}

.services-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-gold);
  max-width: 1200px;
  margin: 0 auto;
}

/* Elementor override for service cards */
.service-card-el {
  background: var(--warm-white) !important;
  padding: 44px 36px !important;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}
.service-card-el:hover {
  background: #FDF8EE !important;
  border-bottom-color: var(--gold);
}

.service-icon-large {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}
.service-card-name {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
}
.service-card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: rgba(201,147,58,0.08);
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  background: linear-gradient(160deg, #F8F1E4 0%, var(--warm-white) 100%);
  padding: 100px 60px;
}

.why-feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 32px;
}
.why-feature:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.why-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--deep-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.why-feature-title {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
  margin-bottom: 8px;
}
.why-feature-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card-el {
  background: white !important;
  border: 1px solid var(--border-gold) !important;
  padding: 32px !important;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
  border-radius: 0 !important;
}
.testimonial-card-el:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(92,26,26,0.08);
}
.testimonial-card-el::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-text-el {
  font-family: var(--font-display) !important;
  font-size: 17px !important;
  font-style: italic !important;
  line-height: 1.7 !important;
  color: var(--text-mid) !important;
  margin-bottom: 20px;
  padding-top: 12px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
}
.testimonial-author-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}
.testimonial-author-city {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-section {
  background: var(--deep-maroon) !important;
  padding: 70px 60px !important;
}
.trust-number {
  font-family: var(--font-display) !important;
  font-size: 52px !important;
  font-weight: 300 !important;
  color: var(--gold-light) !important;
  line-height: 1 !important;
  text-align: center;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 12px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(242,217,138,0.5) !important;
  text-align: center;
}
.trust-divider-v {
  width: 1px;
  height: 60px;
  background: rgba(201,147,58,0.2);
  margin: 0 auto;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 100px 60px;
  background: var(--warm-white);
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-item-icon { font-size: 20px; color: var(--gold); margin-top: 2px; }
.contact-item-title {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Contact form wrapper */
.contact-form-box {
  background: white;
  border: 1px solid var(--border-gold);
  padding: 52px 48px;
  position: relative;
}
.contact-form-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--deep-maroon), var(--gold));
}

/* Elementor form overrides */
.elementor-form .elementor-field-group label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.elementor-form .elementor-field {
  border: 1px solid rgba(201,147,58,0.25) !important;
  background: var(--warm-white) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  color: var(--text-dark) !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
}
.elementor-form .elementor-field:focus {
  border-color: var(--gold) !important;
  box-shadow: none !important;
}
.elementor-form .elementor-button {
  background: var(--deep-maroon) !important;
  color: var(--gold-pale) !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 18px !important;
  border-radius: 0 !important;
  width: 100% !important;
  border: none !important;
}
.elementor-form .elementor-button:hover {
  background: var(--gold) !important;
  color: var(--deep-maroon) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
footer {
  background: var(--charcoal) !important;
  padding: 60px !important;
}
.footer-brand-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 280px;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-link a {
  font-size: 14px;
  color: rgba(255,255,255,0.4) !important;
  transition: color 0.2s;
}
.footer-link a:hover { color: var(--gold-light) !important; }
.footer-bottom-text {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
}
.footer-cert-text {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(201,147,58,0.4);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grahaline-hero,
  .about-section,
  .services-section,
  .why-section,
  .contact-section { padding: 80px 32px; }
  .philosophy-section, .trust-section { padding: 60px 32px !important; }
  .site-footer { padding: 60px 32px !important; }
}

@media (max-width: 768px) {
  .site-header { padding: 14px 20px !important; }
  .grahaline-hero { padding: 90px 20px 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid-container { grid-template-columns: 1fr; }
  .about-section,
  .services-section,
  .why-section,
  .contact-section { padding: 60px 20px; }
  .contact-form-box { padding: 32px 20px; }
  .site-footer { padding: 48px 20px 32px !important; }
  .mjp-badge { bottom: -16px; right: -8px; }
}
