/*
Theme Name:   Gawdess Lifestyle Child
Theme URI:    https://gawdesslifestyle.com
Description:  Astra Child Theme for Gawdess Lifestyle — Luxury Beauty & Wellness
Author:       Gawdess Lifestyle
Author URI:   https://gawdesslifestyle.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  gawdess-astra-child
*/

/* ============================================================
   BRAND TOKENS — Gawdess Lifestyle
   ============================================================ */
:root {
  /* Core Palette */
  --gl-gold:          #C9A84C;
  --gl-gold-light:    #E8D5A3;
  --gl-gold-dark:     #9A7A2E;
  --gl-cream:         #FAF6F0;
  --gl-cream-dark:    #F0E8DA;
  --gl-pink-blush:    #F2C4CE;
  --gl-pink-rose:     #D4748A;
  --gl-pink-deep:     #A84D64;
  --gl-black:         #0D0D0D;
  --gl-charcoal:      #1E1E1E;
  --gl-white:         #FFFFFF;

  /* Typography */
  --font-heading:     'Cormorant Garamond', 'Georgia', serif;
  --font-body:        'Jost', 'Helvetica Neue', sans-serif;
  --font-accent:      'Cormorant SC', 'Georgia', serif;

  /* Spacing */
  --section-pad:      80px;
  --section-pad-sm:   48px;

  /* Effects */
  --gold-gradient:    linear-gradient(135deg, #C9A84C 0%, #E8D5A3 50%, #C9A84C 100%);
  --soft-shadow:      0 4px 24px rgba(13, 13, 13, 0.08);
  --luxury-shadow:    0 8px 48px rgba(201, 168, 76, 0.15);
  --transition:       all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   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=Cormorant+SC:wght@300;400;500&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   BASE RESET & GLOBALS
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--gl-charcoal);
  background-color: var(--gl-cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6,
.ast-blog-single-title,
.entry-title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gl-black);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gl-charcoal);
}

/* Gold decorative subheading */
.gl-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gl-gold);
  display: block;
  margin-bottom: 0.75rem;
}

a {
  color: var(--gl-gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gl-pink-deep);
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header,
#masthead {
  background-color: var(--gl-black) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.ast-site-identity .site-title,
.ast-site-identity .site-title a {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gl-gold) !important;
  text-transform: uppercase;
}

/* Nav links */
.main-navigation a,
.ast-nav-menu > li > a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gl-cream) !important;
  padding: 8px 16px !important;
  transition: var(--transition);
}

.main-navigation a:hover,
.ast-nav-menu > li > a:hover,
.ast-nav-menu > li.current-menu-item > a {
  color: var(--gl-gold) !important;
}

/* CTA button in nav */
.ast-nav-menu li.menu-item-book-now > a,
.ast-header-custom-widget .ast-builder-button-wrap a {
  background: var(--gl-gold-gradient, var(--gold-gradient)) !important;
  color: var(--gl-black) !important;
  border-radius: 0 !important;
  padding: 10px 24px !important;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.gl-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--gl-black);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.55) 0%,
    rgba(13, 13, 13, 0.3) 50%,
    rgba(13, 13, 13, 0.65) 100%
  );
}

.gl-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}

.gl-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--gl-cream);
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gl-hero__title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gl-hero__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gl-gold-light);
  margin-bottom: 2.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button__link,
.button,
.btn,
.woocommerce a.button,
.surecart-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0 !important;
  padding: 14px 36px !important;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
}

/* Primary — Gold */
.wp-block-button.is-style-fill .wp-block-button__link,
.gl-btn-primary {
  background: var(--gold-gradient) !important;
  color: var(--gl-black) !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.wp-block-button.is-style-fill .wp-block-button__link:hover,
.gl-btn-primary:hover {
  box-shadow: 0 6px 30px rgba(201, 168, 76, 0.5);
  transform: translateY(-2px);
}

/* Outline — Black */
.wp-block-button.is-style-outline .wp-block-button__link,
.gl-btn-outline {
  background: transparent !important;
  color: var(--gl-black) !important;
  border: 1px solid var(--gl-black) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.gl-btn-outline:hover {
  background: var(--gl-black) !important;
  color: var(--gl-cream) !important;
}

/* Ghost — for dark backgrounds */
.gl-btn-ghost {
  background: transparent !important;
  color: var(--gl-cream) !important;
  border: 1px solid var(--gl-gold) !important;
}

.gl-btn-ghost:hover {
  background: var(--gl-gold) !important;
  color: var(--gl-black) !important;
}

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.gl-section {
  padding: var(--section-pad) 0;
}

.gl-section--dark {
  background-color: var(--gl-black);
  color: var(--gl-cream);
}

.gl-section--dark h1,
.gl-section--dark h2,
.gl-section--dark h3 {
  color: var(--gl-cream);
}

.gl-section--cream {
  background-color: var(--gl-cream-dark);
}

.gl-section--pink {
  background-color: var(--gl-pink-blush);
}

.gl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section heading with gold rule */
.gl-section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.gl-section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold-gradient);
  margin: 24px auto 0;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.gl-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.gl-service-card {
  background: var(--gl-white);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.gl-service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.4s ease;
}

.gl-service-card:hover::before {
  width: 100%;
}

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

.gl-service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.gl-service-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gl-black);
}

.gl-service-card__price {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gl-gold);
  display: block;
  margin-top: 1rem;
}

/* ============================================================
   DIVIDERS & DECORATIVE ELEMENTS
   ============================================================ */
.gl-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gl-gold-light), transparent);
  margin: 48px 0;
  border: none;
}

.gl-diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  color: var(--gl-gold);
  font-size: 0.5rem;
  letter-spacing: 0.5em;
}

.gl-diamond-divider::before,
.gl-diamond-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gl-gold-light));
}

.gl-diamond-divider::after {
  background: linear-gradient(to left, transparent, var(--gl-gold-light));
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.gl-testimonial {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px;
}

.gl-testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gl-black);
  margin-bottom: 1.5rem;
}

.gl-testimonial__author {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gl-gold);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gl-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gl-gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.gl-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gl-gallery__item:hover img {
  transform: scale(1.06);
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */
.gl-booking-section {
  background-color: var(--gl-black);
  padding: var(--section-pad) 0;
  text-align: center;
}

.gl-booking-section h2 {
  color: var(--gl-cream);
  margin-bottom: 1rem;
}

.gl-booking-section p {
  color: var(--gl-gold-light);
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background-color: var(--gl-charcoal) !important;
  color: var(--gl-cream) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.site-footer a,
#colophon a {
  color: var(--gl-gold-light) !important;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.site-footer a:hover,
#colophon a:hover {
  color: var(--gl-gold) !important;
}

.site-footer .widget-title,
#colophon .widget-title {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gl-gold);
  margin-bottom: 1.25rem;
}

.ast-footer-copyright {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 240, 0.5) !important;
}

/* ============================================================
   SURECART SHOP OVERRIDES
   ============================================================ */
.sc-product-card {
  border: 1px solid var(--gl-cream-dark) !important;
  border-radius: 0 !important;
  transition: var(--transition);
}

.sc-product-card:hover {
  border-color: var(--gl-gold) !important;
  box-shadow: var(--luxury-shadow);
}

.sc-product-card__title {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
}

.sc-product-card__price {
  color: var(--gl-gold-dark) !important;
  font-family: var(--font-accent) !important;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
  border: 1px solid var(--gl-cream-dark) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 300 !important;
  padding: 14px 18px !important;
  background: var(--gl-white) !important;
  transition: var(--transition);
}

.wpforms-container input:focus,
.wpforms-container textarea:focus {
  border-color: var(--gl-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1) !important;
}

.wpforms-submit {
  background: var(--gold-gradient) !important;
  color: var(--gl-black) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 14px 36px !important;
  cursor: pointer;
  transition: var(--transition);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
  }

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

  .gl-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-hero {
    min-height: 80vh;
  }
}

@media (max-width: 480px) {
  .gl-gallery {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   FOOTER TEXT FIX
   ============================================================ */
.site-footer,
#colophon,
.site-footer p,
#colophon p,
.site-footer span,
#colophon span,
.site-footer div,
#colophon div,
.ast-footer-copyright,
.ast-footer-copyright p,
.footer-widget-area p,
.footer-widget-area span,
.footer-widget-area div,
.footer-widget-area li,
.footer-widget-area li a {
  color: #FAF6F0 !important;
}

.site-footer a,
#colophon a,
.footer-widget-area a {
  color: #E8D5A3 !important;
}

.site-footer a:hover,
#colophon a:hover,
.footer-widget-area a:hover {
  color: #C9A84C !important;
}

.site-footer .widget-title,
#colophon .widget-title,
.footer-widget-area .widget-title {
  color: #C9A84C !important;
}
