/*
Theme Name:        Satrang Journeys Child
Theme URI:         https://satrangjourneys.com
Description:       A child theme for Satrang Journeys - Pilgrimage & Heritage Travel. Built on Hello Elementor. Import the Elementor Global Kit JSON via Elementor > Site Settings > Import/Export before customising.
Author:            Satrang Journeys
Author URI:        https://satrangjourneys.com
Template:          hello-elementor
Version:           1.0.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       satrang-journeys-child
*/

/* =====================================================
   SATRANG JOURNEYS BRAND — CSS Custom Properties
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand colours */
  --sj-saffron:          #EF9A39;   /* Primary — hsl(32,85%,58%) */
  --sj-saffron-dark:     #D4781A;   /* Primary hover */
  --sj-ivory:            #FAF8F5;   /* Page background — hsl(38,30%,97%) */
  --sj-charcoal:         #272C35;   /* Body text — hsl(220,15%,18%) */
  --sj-sandstone:        #E8E2D9;   /* Secondary / card backgrounds */
  --sj-sand-light:       #F1EEE9;   /* Subtle section backgrounds */
  --sj-muted:            #7E7367;   /* Muted text — hsl(30,10%,45%) */
  --sj-white:            #FFFFFF;

  /* Typography */
  --sj-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sj-font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sj-section-padding: 80px 0;
  --sj-section-padding-lg: 112px 0;
  --sj-radius: 2px;
}

/* =====================================================
   BASE STYLES
   ===================================================== */

body {
  font-family: var(--sj-font-sans);
  background-color: var(--sj-ivory);
  color: var(--sj-charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--sj-font-serif);
  color: var(--sj-charcoal);
  line-height: 1.25;
  font-weight: 600;
}

p {
  color: var(--sj-muted);
  line-height: 1.75;
}

a {
  color: var(--sj-saffron);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* =====================================================
   ELEMENTOR GLOBAL COLOUR OVERRIDES
   Map Elementor system colours to Satrang brand colours.
   These variable names are written by Elementor after
   importing the kit — they are listed here as fallbacks.
   ===================================================== */

:root {
  --e-global-color-primary:   #EF9A39;
  --e-global-color-secondary: #E8E2D9;
  --e-global-color-text:      #272C35;
  --e-global-color-accent:    #D4781A;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.sj-btn-primary,
.elementor-button.sj-btn-primary {
  background-color: var(--sj-saffron);
  color: var(--sj-white);
  border: none;
  border-radius: var(--sj-radius);
  padding: 14px 32px;
  font-family: var(--sj-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.sj-btn-primary:hover,
.elementor-button.sj-btn-primary:hover {
  background-color: var(--sj-saffron-dark);
  color: var(--sj-white);
}

.sj-btn-outline {
  background: transparent;
  color: var(--sj-charcoal);
  border: 1px solid rgba(39, 44, 53, 0.3);
  border-radius: var(--sj-radius);
  padding: 14px 32px;
  font-family: var(--sj-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.sj-btn-outline:hover {
  background-color: var(--sj-sandstone);
  color: var(--sj-charcoal);
}

/* =====================================================
   SECTION BACKGROUNDS
   ===================================================== */

.sj-bg-ivory     { background-color: var(--sj-ivory); }
.sj-bg-sand      { background-color: var(--sj-sand-light); }
.sj-bg-sandstone { background-color: var(--sj-sandstone); }
.sj-bg-charcoal  { background-color: var(--sj-charcoal); }

/* =====================================================
   SECTION LABEL (overline text)
   ===================================================== */

.sj-overline {
  display: block;
  font-family: var(--sj-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sj-saffron);
  margin-bottom: 14px;
}

/* =====================================================
   DIVIDER — thin saffron line
   ===================================================== */

.sj-divider {
  width: 64px;
  height: 1px;
  background-color: var(--sj-saffron);
  margin: 0 auto 28px;
  display: block;
}

.sj-divider.left {
  margin-left: 0;
}

/* =====================================================
   FLOWER DIVIDER — logo flower as section accent
   ===================================================== */

.sj-flower-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 32px;
  max-width: 200px;
}

.sj-flower-divider::before,
.sj-flower-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--sj-saffron);
  opacity: 0.4;
}

.sj-flower-divider img {
  width: 32px;
  height: 32px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* =====================================================
   CARDS
   ===================================================== */

.sj-card {
  background-color: var(--sj-ivory);
  border-radius: var(--sj-radius);
  padding: 28px 24px;
  transition: box-shadow 0.3s ease;
}

.sj-card:hover {
  box-shadow: 0 4px 20px rgba(39, 44, 53, 0.08);
}

.sj-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(239, 154, 57, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.sj-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(39, 44, 53, 0.55) 0%,
    rgba(39, 44, 53, 0.40) 50%,
    rgba(39, 44, 53, 0.65) 100%
  );
  z-index: 1;
}

.sj-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.sj-hero-content h1,
.sj-hero-content h2 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sj-hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* =====================================================
   NAVIGATION — Sticky header styling
   ===================================================== */

.e-n-menu-item a,
.elementor-nav-menu a {
  font-family: var(--sj-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--sj-charcoal);
  transition: color 0.2s ease;
}

.e-n-menu-item a:hover,
.elementor-nav-menu a:hover {
  color: var(--sj-saffron);
}

/* Header scrolled state */
.sticky-header .elementor-section {
  background-color: var(--sj-ivory) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.sj-heading-serif {
  font-family: var(--sj-font-serif);
  color: var(--sj-charcoal);
}

.sj-heading-serif.on-dark {
  color: #ffffff;
}

.sj-text-muted {
  color: var(--sj-muted);
}

.sj-text-saffron {
  color: var(--sj-saffron);
}

.sj-text-white {
  color: #ffffff;
}

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

.sj-footer {
  background-color: var(--sj-sandstone);
  padding: 64px 0 32px;
  text-align: center;
  border-top: 1px solid var(--sj-sand-light);
}

.sj-footer-logo img {
  height: 56px;
  width: auto;
  margin: 0 auto 16px;
  opacity: 0.85;
}

.sj-footer h3 {
  font-family: var(--sj-font-serif);
  font-size: 1.5rem;
  color: var(--sj-charcoal);
  margin-bottom: 8px;
}

.sj-footer .tagline {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sj-muted);
  margin-bottom: 40px;
}

.sj-footer-nav a {
  font-size: 13px;
  color: var(--sj-muted);
  margin: 0 12px;
  transition: color 0.2s ease;
}

.sj-footer-nav a:hover {
  color: var(--sj-charcoal);
}

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

@media (max-width: 768px) {
  .sj-hero-content h1 {
    font-size: 2.2rem;
  }
  .sj-btn-primary,
  .sj-btn-outline {
    width: 100%;
    text-align: center;
  }
}
