/*
Theme Name: Reliance Repair
Theme URI: https://pmgs.com.au
Author: PMGS Digital
Author URI: https://pmgs.com.au
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
Description: A modern, clean, minimal, blog, portfolio, business, corporate, agency, one page, landing page, responsive, customizable, tailwind css, html5, css3, javascript, jquery, php, wordpress theme. Smash Repairs Business Theme.
Text Domain: reliance-smash-repairs
Tags: Modern, Clean, Minimal, Blog, Portfolio, Business, Corporate, Agency, One Page, Landing Page, Responsive, Customizable, Tailwind CSS, HTML5, CSS3, JavaScript, PHP, WordPress, Smash Repairs, Business, Theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: (C) 2024 PMGS Digital. This theme is licensed under the GPL v2 or later.
*/

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  background-color: var(--color-secondary);
}
.container {
  max-width: 1280px;
}
/* Hero Slider Styles */
.hero-slider {
  position: relative;
  overflow: visible;
  padding: 0;
}

.heroSwiper {
  padding: 0;
  overflow: visible;
  width: 100%;
}

.heroSwiper .swiper-wrapper {
  align-items: center;
  display: flex;
  padding: 20px 0;
}

.heroSwiper .swiper-slide {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  height: auto;
  flex-shrink: 0;
  border-radius: 20px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Active slide - centered and full visibility */
.heroSwiper .swiper-slide-active {
  z-index: 2;
  opacity: 1;
}

/* Previous and next slides - show edges with reduced opacity */
.heroSwiper .swiper-slide-prev,
.heroSwiper .swiper-slide-next {
  opacity: 0.5;
  z-index: 1;
}

/* All other slides */
.heroSwiper
  .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(
    .swiper-slide-next
  ) {
  opacity: 0.3;
  z-index: 0;
}

/* Navigation Arrows - White circular buttons at bottom corners */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  position: absolute;
  bottom: 40px;
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 0;
  top: auto;
  left: auto;
  right: auto;
}

.heroSwiper .swiper-button-prev {
  left: 43%;
  right: auto;
}

.heroSwiper .swiper-button-next {
  right: 43%;
  left: auto;
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
  font-family: swiper-icons;
  font-size: 20px;
  color: var(--color-primary);
  font-weight: bold;
}

.heroSwiper .swiper-button-prev::after {
  content: "prev";
}

.heroSwiper .swiper-button-next::after {
  content: "next";
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
  opacity: 0.8;
}
.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 30px;
  border-radius: 6px;
}
.heroSwiper .swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.swiper-horizontal > .hero-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  bottom: 8%;
}
/* Pagination Dots - Centered at bottom */
.heroSwiper .hero-pagination {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  width: auto !important;
  text-align: center;
  justify-content: center;
}

.heroSwiper .hero-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid white !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 4px !important;
}

.heroSwiper .hero-pagination-bullet-active {
  background: white !important;
  border-color: white !important;
  opacity: 1 !important;
}
.icon-squiggle {
  width: 100%;
  height: 50%;
  inset-block-start: auto;
  stroke: var(--color-primary);
  transform: scaleX(1);
}

/* Squiggle path animation - writing style */
.icon-squiggle .squiggle-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon-squiggle.animate .squiggle-path {
  animation: drawSquiggle 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  opacity: 1;
}

@keyframes drawSquiggle {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Service Card Styles */
.service-card {
  position: relative;
  background-color: var(--color-secondary);
}

/* Pattern Overlay for Service Cards - Subtle diagonal lines */
.service-pattern {
  pointer-events: none;
  opacity: 0.5;
}

/* Ensure proper z-index layering */
.service-card > .relative {
  position: relative;
  z-index: 10;
}

/* Enhanced hover effects */
.service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-pattern {
  opacity: 0.6;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(169, 128, 66, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 30px;
  border-radius: 6px;
}
