/*
Theme Name: Sugaring Theme
Theme URI: https://example.com
Description: High-performance multisite theme built for speed with Elementor support
Author: Your Name
Author URI: https://example.com
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sugaring-theme
Tags: multisite, elementor, performance, custom-post-types

This theme is optimized for maximum performance with Elementor page builder.
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#masthead {
  overflow: hidden;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
}

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

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #005177;
}


ul {
    list-style-position: inside;
    margin: 16px 0;
}
/* WordPress Core Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Elementor Compatibility */
.elementor-widget-wrap {
    width: 100%;
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.footer-social .social-label {
  color: #FFF;
  font-size: 32px;
}

.footer-social .social-media-links {
  gap: 40px !important;

}
.gform-theme--foundation .gform_fields {
  row-gap: 24px !important;
  margin-top: 24px;
}

body .gform_wrapper form .gform_button.button {
  border-radius: 50px !important;
  background: var( --e-global-color-accent ) !important;
  padding: 16px 32px !important;
  font-weight: bold !important;
  font-size: 18px !important;
}

body .gform_wrapper form .gform_button.button:hover {
    background: #648A86!important;
}

.services-slider {
  position: relative;
  overflow: hidden;
}

/* Flex row, JS will set exact widths */
.services-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Remove Elementor flex control */
.services-track > .elementor-column {
  flex: 0 0 auto;
  max-width: none;
}

/* Center single slide on mobile */
@media (max-width: 641px) {
  .services-slider {
    display: flex;
    justify-content: center;
  }

  .services-track {
    justify-content: center;
  }
}
.services-slider__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.services-slider__arrows {
  display: inline-flex;
  gap: 0.5rem;
}

.services-slider__arrows button {
  border: none;
  background: #E5E7E7;
  border-radius: 999px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

.services-slider__arrows button:hover {
  background: #d0d2d2;
  transform: scale(1.05);
}

.services-slider__arrows button img {
  width: 24px;
  height: 24px;
  display: block;
}


/* Simple modal base */
.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.service-modal.is-visible {
  display: flex;
}
.service-modal__content {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 12px;
}
@media (max-width: 767px) {
  .services-track {
    --width: 100%;
    --flex-wrap: none!important;
  }
}
/* Pricing Modal */
.pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-modal.is-open {
  display: flex;
  opacity: 1;
}

.pricing-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.pricing-modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
  z-index: 10000;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pricing-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent !important;
  border-radius: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10001;
  padding: 0 !important;
}

.pricing-modal__close:hover {
  background: #fff;
  transform: scale(1.1);
}

.pricing-modal__close img {
  width: 20px;
  height: 20px;
  display: block;
}

.pricing-modal__content {
  overflow-y: auto;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Pricing Accordion */
.pricing-accordion {
  margin-top: 30px;
}


button.pricing-accordion__header {
  width: 100%;
  padding: 8px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}
button.pricing-accordion__header:hover, button.pricing-accordion__header:focus {
  background: transparent;
}
.pricing-accordion__header:hover {
  opacity: 0.7;
}
button.pricing-accordion__header h3 {
  font-weight: 300;
  font-size: 40px;
}

.pricing-accordion__icon {
  font-size: 24px;
  font-weight: 300;
  color: #666;
  transition: transform 0.3s ease;
  line-height: 1;
  min-width: 24px;
  text-align: center;
}

.pricing-accordion__item.is-active .pricing-accordion__icon {
  transform: rotate(0deg);
}

.pricing-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pricing-list {
  padding: 10px 0 20px;
  column-count: 2;
}

.pricing-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  gap: 20px;
}

.pricing-list__item {
  border-bottom: 1px dashed #EAAA00;
}

.pricing-list__name {
  flex: 1;
  font-size: 16px;
  color: #555;
}

.pricing-list__price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-modal__container {
    max-height: 95vh;
  }
.pricing-modal__content h2 {
  font-size: 32px;
}
  .pricing-modal__content {
    padding: 50px 20px 20px;
  }

  .pricing-modal__close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
.pricing-list {
  column-count: 1;
}
  .pricing-accordion__title {
    font-size: 16px;
  }

  .pricing-list__name,
  .pricing-list__price {
    font-size: 14px;
  }

  .pricing-list__item {
    padding: 10px 0;
    gap: 15px;
  }
}
