/* Amelia Salon - Custom Styles */

/* Google Font import for elegant headers */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   GLOBAL
   ============================================ */
html, body {
  background-color: #001111;
}

/* ============================================
   GALLERY - Static grid layout (no JS needed)
   ============================================ */
.elementor-gallery__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.e-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.e-gallery-image {
  width: 100%;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  background-size: cover;
  background-position: center;
}

.elementor-gallery-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.e-gallery-item:hover .elementor-gallery-item__overlay {
  opacity: 1;
}

.elementor-gallery-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.e-gallery-item:hover .elementor-gallery-item__content {
  opacity: 1;
}

.elementor-gallery-item__description {
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .elementor-gallery__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .elementor-gallery__container {
    grid-template-columns: 1fr;
  }
}

/* Force styles on ALL content areas */
.elementor-widget-container p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* ============================================
   TYPOGRAPHY - Headers (aggressive selectors)
   ============================================ */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title,
.elementor h1, .elementor h2, .elementor h3, .elementor h4,
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

h1, .elementor-widget-heading h1.elementor-heading-title {
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

h3, h4, h5, h6 {
  font-weight: 400 !important;
}

/* ============================================
   TYPOGRAPHY - Body Text
   ============================================ */
body,
.elementor-widget-text-editor,
.elementor-widget-theme-post-content,
p {
  font-family: 'Lato', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ============================================
   FLOATING CALL BUTTON (Mobile)
   ============================================ */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #CDAB25 0%, #a08920 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-call-btn svg {
  width: 24px;
  height: 24px;
  fill: #001111;
}

@media (max-width: 767px) {
  .floating-call-btn {
    display: flex;
  }
}

/* ============================================
   HERO SECTION - Bottom Gradient Fade
   ============================================ */
/* Style the existing overlay for hero sections with min-height */
.elementor-section.elementor-section-height-min-height > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 15%,
    rgba(0,17,17,0.2) 35%,
    rgba(0,17,17,0.5) 60%,
    rgba(0,17,17,0.8) 80%,
    #001111 100%) !important;
  opacity: 1 !important;
}

/* ============================================
   TYPOGRAPHY - Body Text Readability
   ============================================ */
.elementor-widget-theme-post-content p,
.elementor-widget-text-editor p,
.elementor-text-editor p,
.entry-content p {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.2em !important;
}

.elementor-widget-theme-post-content,
.elementor-widget-text-editor,
.elementor-text-editor,
.entry-content {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4 {
  color: #fff !important;
  margin-top: 1.5em !important;
  margin-bottom: 0.7em !important;
}

/* Desktop typography */
@media (min-width: 768px) {
  .elementor-widget-theme-post-content p,
  .elementor-widget-text-editor p,
  .elementor-text-editor p,
  .entry-content p,
  .elementor-widget-theme-post-content,
  .elementor-widget-text-editor,
  .elementor-text-editor,
  .entry-content {
    font-size: 18px !important;
    line-height: 1.8 !important;
  }
}

/* Mobile typography */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content p,
  .elementor-widget-text-editor p,
  .elementor-text-editor p,
  .entry-content p,
  .elementor-widget-theme-post-content,
  .elementor-widget-text-editor,
  .elementor-text-editor,
  .entry-content {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}

/* ============================================
   NAVIGATION - Main Menu Links
   ============================================ */
.elementor-nav-menu .elementor-item,
.elementor-nav-menu--main .elementor-item {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.elementor-nav-menu .elementor-item:hover,
.elementor-nav-menu--main .elementor-item:hover {
  opacity: 0.8;
}

/* ============================================
   NAVIGATION - Dropdown Menus
   ============================================ */
.elementor-nav-menu--dropdown {
  display: none !important;
  position: absolute;
  background: #001111;
  min-width: 200px;
  z-index: 9999;
  padding: 10px 0;
}

.menu-item-has-children:hover > .elementor-nav-menu--dropdown {
  display: block !important;
}

.elementor-nav-menu--dropdown .elementor-sub-item {
  display: block;
  padding: 8px 20px;
  color: white !important;
  text-decoration: none;
}

.elementor-nav-menu--dropdown .elementor-sub-item:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================
   NAVIGATION - Mobile Menu Overlay
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: rgba(0, 17, 17, 0.98);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.mobile-menu-backdrop.active {
  display: block;
}

.mobile-menu-inner {
  padding: 70px 25px 40px;
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  padding: 5px 10px;
}

.mobile-menu-overlay a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 12px 0;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a:active {
  color: #ccc;
  background: rgba(255,255,255,0.05);
}

.mobile-menu-overlay a.main-link {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-menu-overlay a.mobile-submenu {
  font-size: 16px;
  padding: 10px 0 10px 15px;
  color: rgba(255,255,255,0.85);
}

.mobile-menu-section {
  display: block;
  color: #888;
  font-size: 12px;
  padding: 25px 0 8px 0;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: none;
}

/* Mobile - full width menu */
@media (max-width: 767px) {
  .mobile-menu-overlay {
    width: 100%;
    right: -100%;
  }
  .mobile-menu-inner {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================
   DROP CAPS - First paragraph of posts only
   ============================================ */
.elementor-widget-theme-post-content > .elementor-widget-container > p:first-of-type::first-letter,
.elementor-widget-text-editor > .elementor-widget-container > p:first-of-type::first-letter,
.entry-content > p:first-of-type::first-letter {
  float: left;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 0.12em;
  padding-top: 0.08em;
  color: #CDAB25;
  font-weight: 600;
}

/* Exclude drop caps from hero sections */
.elementor-section-height-min-height .elementor-widget-text-editor > .elementor-widget-container > p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
}

/* Mobile drop caps - smaller size */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content > .elementor-widget-container > p:first-of-type::first-letter,
  .elementor-widget-text-editor > .elementor-widget-container > p:first-of-type::first-letter,
  .entry-content > p:first-of-type::first-letter {
    font-size: 2.8em;
    padding-right: 0.08em;
    padding-top: 0.05em;
  }
}

/* ============================================
   ARTICLE/POST CONTENT - Consistent Spacing
   ============================================ */
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4 {
  margin-top: 2.2em;
  margin-bottom: 0.9em;
}

.elementor-widget-theme-post-content p,
.elementor-widget-text-editor p {
  margin-bottom: 1.3em;
}

/* First paragraph after header - tighter spacing */
.elementor-widget-theme-post-content h2 + p,
.elementor-widget-theme-post-content h3 + p,
.elementor-widget-theme-post-content h4 + p,
.elementor-widget-text-editor h2 + p,
.elementor-widget-text-editor h3 + p,
.elementor-widget-text-editor h4 + p {
  margin-top: 0;
}

/* Mobile - Stack images above text instead of float */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content img.alignright,
  .elementor-widget-theme-post-content img.alignleft,
  .elementor-widget-text-editor img.alignright,
  .elementor-widget-text-editor img.alignleft,
  .elementor-widget-container > img.alignright,
  .elementor-widget-container > img.alignleft,
  img.alignright,
  img.alignleft {
    float: none !important;
    display: block;
    margin: 1em auto 1.5em auto !important;
    max-width: 100%;
    width: auto;
    height: auto;
  }
}

/* ============================================
   GALLERY
   ============================================ */
.e-gallery-image[data-thumbnail] {
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

/* ============================================
   STRIPE PAYMENT BUTTONS
   ============================================ */
.stripe-payment-buttons {
  margin: 30px 0;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
}

a.stripe-pay-btn,
a.stripe-pay-btn:link,
a.stripe-pay-btn:visited {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: linear-gradient(135deg, #CDAB25 0%, #a08920 100%) !important;
  color: #001111 !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

a.stripe-pay-btn:hover,
a.stripe-pay-btn:active,
a.stripe-pay-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(205, 171, 37, 0.4);
  background: linear-gradient(135deg, #e0be2a 0%, #b89a24 100%) !important;
  color: #001111 !important;
  text-decoration: none !important;
}

a.stripe-pay-btn-secondary,
a.stripe-pay-btn-secondary:link,
a.stripe-pay-btn-secondary:visited {
  background: linear-gradient(135deg, #444 0%, #333 100%) !important;
  color: #fff !important;
}

a.stripe-pay-btn-secondary:hover,
a.stripe-pay-btn-secondary:active {
  background: linear-gradient(135deg, #555 0%, #444 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stripe-pay-btn .btn-label,
a.stripe-pay-btn:link .btn-label,
a.stripe-pay-btn:visited .btn-label {
  font-size: 16px;
  color: #001111 !important;
}

.stripe-pay-btn .btn-price,
a.stripe-pay-btn:link .btn-price,
a.stripe-pay-btn:visited .btn-price {
  font-size: 18px;
  font-weight: 700;
  color: #001111 !important;
}

a.stripe-pay-btn-secondary:link .btn-label,
a.stripe-pay-btn-secondary:visited .btn-label,
a.stripe-pay-btn-secondary:link .btn-price,
a.stripe-pay-btn-secondary:visited .btn-price {
  color: #fff !important;
}

/* ============================================
   HOME PAGE - Hero Section
   ============================================ */
@media (min-width: 768px) {
  .elementor-element-9741491 .elementor-heading-title {
    font-size: 32px !important;
  }
}

@media (max-width: 767px) {
  .elementor-element-1179314 .elementor-heading-title {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  .elementor-element-9741491 .elementor-heading-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .elementor-element-ef9b85e p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }
  .elementor-element-5a3cf2e .elementor-widget-wrap {
    padding: 15px !important;
  }
}

/* Center list block but keep items left-aligned on desktop */
@media (min-width: 768px) {
  .elementor-element-62906b40 .elementor-widget-container,
  .elementor-element-485f89a3 .elementor-widget-container,
  .elementor-element-4dc8533c .elementor-widget-container,
  .elementor-element-2b3c225b .elementor-widget-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .elementor-element-62906b40 ul,
  .elementor-element-485f89a3 ul,
  .elementor-element-4dc8533c ul,
  .elementor-element-2b3c225b ul {
    display: inline-block;
    text-align: left;
  }

  /* Add-ons price table - center the list block under the header */
  .elementor-element-5fd756d2 .elementor-price-table__features-list {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

/* ============================================
   LINK STYLING - Body text links
   ============================================ */
/* Links in body/content areas */
.elementor-widget-theme-post-content a,
.elementor-widget-text-editor a,
.elementor-text-editor a,
.entry-content a,
p a {
  color: #CDAB25 !important;
  text-decoration: underline;
  text-decoration-color: rgba(205, 171, 37, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.elementor-widget-theme-post-content a:hover,
.elementor-widget-text-editor a:hover,
.elementor-text-editor a:hover,
.entry-content a:hover,
p a:hover {
  color: #e0c040 !important;
  text-decoration-color: #e0c040;
}

.elementor-widget-theme-post-content a:visited,
.elementor-widget-text-editor a:visited,
.elementor-text-editor a:visited,
.entry-content a:visited,
p a:visited {
  color: #b89a24 !important;
}

/* ============================================
   ICON STYLING - Consistent gold accent icons
   ============================================ */
/* Check icons in service/feature lists */
.fa-check-circle,
.fa-check,
.elementor-price-table__feature-inner i {
  color: #CDAB25 !important;
}

/* Icon hover effect */
.elementor-price-table__feature-inner i {
  transition: transform 0.2s ease;
}

.elementor-price-table__features-list li:hover i {
  transform: scale(1.15);
}

/* ============================================
   HOME PAGE - Scam Alert Section
   ============================================ */
@media (min-width: 768px) {
  .elementor-element-86abf86 {
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor-element-86abf86 > .e-con-inner {
    max-width: 100% !important;
    width: 100% !important;
  }
  .elementor-element-86abf86 .elementor-element-08550a2 {
    flex-grow: 1 !important;
    max-width: 100% !important;
  }
  .elementor-element-86abf86 .elementor-element-5c0e0cc,
  .elementor-element-86abf86 .elementor-element-98c2a0a {
    display: none !important;
  }
}
