/*
Theme Name: Reliance Smash Repairs
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.
*/

/* Hero Slider Custom Styles */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
}

/* Swiper Pagination Styling */
.hero-slider .swiper-pagination {
  bottom: 30px !important;
}

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

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

/* Swiper Navigation Arrows */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

/* Header Styling */
header {
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Smooth transitions */
* {
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

/* Font Family */
body {
  font-family: "Inter", sans-serif;
}

/* Container max-width */
.container {
  max-width: 1200px;
}

/* Footer Styling */
.footer-main {
  background-color: #1a2332;
  min-height: 400px;
}

/* Footer Background Gradient Overlay */
.footer-main .footer-gradient-overlay {
  background: linear-gradient(
    to bottom,
    rgba(26, 35, 50, 1) 0%,
    rgba(26, 35, 50, 0.8) 10%,
    rgba(26, 35, 50, 1) 100%
  );
}

.footer-main .container {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Footer Top Section */
.footer-main h2 {
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Footer Social Icons */
.footer-main .w-10.h-10 {
  transition: all 0.3s ease;
}

.footer-main .w-10.h-10:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Footer Logo */
.footer-main svg[width="80"] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Footer Contact Info */
.footer-main a[href^="tel:"] {
  transition: color 0.3s ease;
}

.footer-main a[href^="tel:"]:hover {
  color: var(--color-primary);
}

.footer-main a[href^="mailto:"] {
  transition: color 0.3s ease;
}

.footer-main a[href^="mailto:"]:hover {
  color: var(--color-primary);
}

/* Footer Navigation Links */
.footer-main nav a {
  position: relative;
  padding: 0.25rem 0;
}

.footer-main nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.footer-main nav a:hover::after {
  width: 100%;
}

/* Footer Dividers */
.footer-main .border-t {
  border-top-width: 1px;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Footer Bottom Section */
.footer-main .text-sm a {
  transition: color 0.3s ease;
}

.footer-main .text-sm a:hover {
  color: var(--color-primary);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-main .container {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .footer-main h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }

  .footer-main nav {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-main nav a {
    text-align: center;
  }
}

/* Services Section Styling */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section h2 {
  color: #1f2937;
  font-weight: 700;
}

/* Service Card Styling */
.service-card {
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card img {
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card h3 {
  color: #1f2937;
  font-weight: 700;
}

.service-card p {
  color: #6b7280;
  line-height: 1.7;
  flex-grow: 1;
}

/* Learn More Button Styling */
.service-card a[href^="#"] {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
}

.service-card a[href^="#"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Wavy Underline Styling */
.services-section svg path {
  stroke: #60a5fa;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}

/* Responsive Services Grid */
@media (max-width: 768px) {
  .services-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .services-section h2 {
    font-size: 2rem;
  }
}

/* Hero Slider Height Fix */
.hero-slider .swiper-slide > div {
  height: 650px;
}

/* FAQ Section Styling */
.faq-section {
  background-color: #ffffff;
}

.faq-section .bg-primary\/10 {
  background-color: rgba(169, 128, 66, 0.1);
}

.faq-container {
  background-color: #f3f4f6;
}

.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-toggle {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-color, border-radius;
}

.faq-toggle svg {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.faq-toggle-open {
  background-color: #111827 !important;
  color: white !important;
  border-radius: 9999px !important;
}

.faq-toggle-closed {
  background-color: #d1d5db !important;
  color: #374151 !important;
  border-radius: 0.5rem !important;
}

.faq-answer {
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  will-change: max-height, opacity;
}

.faq-answer.faq-open {
  opacity: 1;
}

/* FAQ Section Heading */
.faq-section h2 {
  color: #111827;
}

.faq-section .text-blue-600 {
  color: #2563eb;
}

/* FAQ Buttons */
.faq-section .bg-blue-600 {
  background-color: #2563eb;
}

.faq-section .bg-blue-600:hover {
  background-color: #1d4ed8;
}

.faq-section .bg-gray-900 {
  background-color: #111827;
}

.faq-section .bg-gray-900:hover {
  background-color: #1f2937;
}

/* Discovery Call Card */
.faq-section .bg-gray-100 {
  background-color: #f3f4f6;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 2.5rem;
  }
}

/* Testimonials Section Styling */
.testimonials-section {
  background-color: #f9fafb;
  overflow: visible;
  position: relative;
}

.testimonials-section .container {
  overflow: visible;
}

.testimonials-swiper-container {
  position: relative;
  padding-bottom: 60px;
  overflow: visible;
}

.testimonialsSwiper {
  overflow: visible;
}

.testimonial-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-card svg {
  opacity: 0.8;
}

/* Testimonials Swiper Pagination Styling */
.testimonials-pagination {
  bottom: 0 !important;
  position: absolute;
}

.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;
}

/* Testimonials Swiper Navigation Arrows */
.testimonialsSwiper .swiper-button-next,
.testimonialsSwiper .swiper-button-prev {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.testimonialsSwiper .swiper-button-next:hover,
.testimonialsSwiper .swiper-button-prev:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

.testimonialsSwiper .swiper-button-next:after,
.testimonialsSwiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.testimonialsSwiper .swiper-button-next {
  right: -70px;
}

.testimonialsSwiper .swiper-button-prev {
  left: -70px;
}

/* Responsive Testimonials Swiper */
@media (max-width: 1023px) {
  .testimonials-swiper-container {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonialsSwiper .swiper-button-next,
  .testimonialsSwiper .swiper-button-prev {
    display: none;
  }
}

/* Contact & Appointment Section Styling */
.contact-appointment-section {
  position: relative;
  min-height: 500px;
}

/* Background image and overlay are handled in the template */

/* Repair Process Styling */
.step-item {
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
}

.step-item h3 {
  line-height: 1.3;
}

.step-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Car Graphic Styling */
.contact-appointment-section svg[viewBox="0 0 200 100"] {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Form Overlap Styling */
.contact-form-overlap {
  z-index: 10;
}

@media (min-width: 1024px) {
  .contact-appointment-section {
    overflow: visible;
  }

  .contact-form-overlap {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(50% + 80px);
    max-width: 36rem;
    margin-right: -2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 1023px) {
  .contact-form-overlap {
    margin-top: 2rem;
    position: relative;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }
}

/* Gravity Forms Styling */
.gravity-form-container input[type="text"],
.gravity-form-container input[type="email"],
.gravity-form-container input[type="tel"],
.gravity-form-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.gravity-form-container input[type="text"]:focus,
.gravity-form-container input[type="email"]:focus,
.gravity-form-container input[type="tel"]:focus,
.gravity-form-container textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(169, 128, 66, 0.1);
}

.gravity-form-container textarea {
  min-height: 120px;
  resize: vertical;
}

.gravity-form-container .gform_button,
.gravity-form-container button[type="submit"] {
  width: 100%;
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gravity-form-container .gform_button:hover,
.gravity-form-container button[type="submit"]:hover {
  background-color: rgba(169, 128, 66, 0.8);
}

/* Responsive Sections */
@media (max-width: 768px) {
  .testimonials-section h2 {
    font-size: 2rem;
  }

  .contact-appointment-section h2 {
    font-size: 1.75rem;
  }
}
