/* ==========================================================================
   Adelaide Classic Painting - Style Guide & Theme
   ========================================================================== */

/* Google Fonts Setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
  /* Colors */
  --primary: #e69c24;
  --primary-hover: #ca8216;
  --bg-dark: #0c1016;
  --bg-dark-90: rgba(12, 16, 22, 0.9);
  --bg-dark-50: rgba(12, 16, 22, 0.5);
  --text-white: #ffffff;
  --text-muted: #c3cad4;
  --border-color: rgba(230, 156, 36, 0.5);

  /* Fonts */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-width: 1400px;
  --header-height: 120px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   Navigation Bar Styles
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.scrolled {
  height: 95px;
  background-color: var(--bg-dark-90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

header.scrolled .logo-link img {
  height: 75px;
}

.logo-link:hover img {
  transform: scale(1.03);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-item a {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-item a:hover {
  color: var(--primary);
}

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

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

.nav-item.active a {
  color: var(--primary);
}

.nav-item.active a::after {
  width: 100%;
}

/* Nav Action Button */
.nav-actions {
  display: flex;
  align-items: center;
}

/* Primary CTA Button */
.btn-primary {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  background-color: var(--primary);
  color: var(--bg-dark);
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(230, 156, 36, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 156, 36, 0.4);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Premium Dark Overlay & Background Setup */
  background: linear-gradient(
      90deg,
      rgba(12, 16, 22, 0.85) 0%,
      rgba(12, 16, 22, 0.6) 45%,
      rgba(12, 16, 22, 0.15) 100%
    ),
    url('hero.png') center/cover no-repeat;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Fallback for when background.jpg doesn't exist yet */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(30, 41, 59, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Hero Typography */
.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-title .white-line {
  color: var(--text-white);
}

.hero-title .orange-line {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.7;
  font-weight: 400;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-actions .btn-primary {
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* Secondary Outline CTA Button */
.btn-outline {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid var(--primary);
  padding: 14px 34px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-outline i {
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(230, 156, 36, 0.08);
  box-shadow: 0 4px 15px rgba(230, 156, 36, 0.15);
  border-color: var(--primary);
}

.btn-outline:hover i {
  transform: scale(1.1) rotate(15deg);
}

.btn-outline:active {
  transform: translateY(1px);
}

/* ==========================================================================
   Animations Setup (CSS Load and Scroll Animations)
   ========================================================================== */

/* Entrance Animations */
.animate-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about {
  background-color: #ffffff;
  color: #2d3748;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.about-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  pointer-events: none;
  border-radius: 12px;
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.02);
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.about-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0c1016;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.about-text p {
  color: #5a6578;
  font-size: clamp(1rem, 1.6vw, 1.05rem);
  line-height: 1.75;
}

.abn-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #f7fafc;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.abn-badge:hover {
  transform: translateY(-2px);
}

.abn-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.abn-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a202c;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Intersection Observer Animations (Scroll Reveal)
   ========================================================================== */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  background-color: #f8fafc;
  color: #2d3748;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.services-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0c1016;
  line-height: 1.2;
  margin-bottom: 15px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 0 auto;
}

.services-carousel-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  display: flex;
  align-items: center;
}

.services-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 45px 0;
}

.services-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 30px;
}

.service-card {
  position: relative;
  flex: 0 0 calc((100% - 2 * 30px) / 3);
  background-color: #ffffff;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-icon-overlap {
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  background-color: #0c1016;
  border: 4px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.service-card:hover .card-icon-overlap {
  transform: translate(-50%, -50%) scale(1.08);
  background-color: var(--primary);
  color: #0c1016;
}

.card-body {
  padding: 45px 24px 30px 24px;
  text-align: center;
}

.card-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c1016;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: #5a6578;
  line-height: 1.6;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0c1016;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
}

.carousel-nav:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #0c1016;
  box-shadow: 0 6px 20px rgba(230, 156, 36, 0.3);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
  left: 15px;
}

.carousel-nav.next {
  right: 15px;
}

.carousel-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.carousel-nav:disabled:hover {
  background-color: #ffffff;
  border-color: #e2e8f0;
  color: #0c1016;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary);
  width: 22px;
  border-radius: 5px;
  transform: scale(1.1);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}

.why-choose-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-choose-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.why-choose-title {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto;
}

.why-choose-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: stretch;
}

.why-item {
  text-align: center;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:last-child {
  border-right: none;
}

.why-item:hover {
  transform: translateY(-6px);
}

.why-icon-box {
  color: var(--primary);
  font-size: 2.3rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:hover .why-icon-box {
  transform: scale(1.15);
}

.why-item-title {
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.45;
  transition: color 0.3s ease;
}

.why-item:hover .why-item-title {
  color: var(--text-white);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  background-color: #ffffff;
  color: #2d3748;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.gallery-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0c1016;
  line-height: 1.2;
  margin-bottom: 15px;
}

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 16, 22, 0.82);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  padding: 15px;
  text-align: center;
}

.gallery-hover-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-hover-icon {
  color: var(--primary);
  font-size: 1.6rem;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-hover-title,
.gallery-item:hover .gallery-hover-icon {
  transform: translateY(0);
}

.gallery-footer {
  text-align: center;
  margin-top: 60px;
}

/* ==========================================================================
   Premium Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 16, 22, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2010;
}

.lightbox-close:hover {
  color: var(--primary);
  transform: scale(1.1) rotate(90deg);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  background-color: #f8fafc;
  color: #2d3748;
  padding: 120px 0;
  overflow: hidden;
  position: relative;
}

.testimonials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.testimonials-header {
  text-align: left;
  margin-bottom: 60px;
}

.testimonials-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.testimonials-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0c1016;
  line-height: 1.2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.stars {
  display: flex;
  gap: 5px;
  color: var(--primary);
  font-size: 0.95rem;
}

.quote {
  color: #4a5568;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  font-weight: 400;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #edf2f7;
  padding-top: 20px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-name {
  font-family: var(--font-headings);
  font-weight: 700;
  color: #0c1016;
  font-size: 0.95rem;
}

/* ==========================================================================
   Contact / Quote Form Section
   ========================================================================== */
.contact {
  background-color: #0c1016;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.quote-form-card {
  max-width: 850px;
  margin: 0 auto;
  background-color: #121822;
  border-radius: 16px;
  padding: 60px 70px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.form-header {
  text-align: center;
  margin-bottom: 45px;
}

.form-sub {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.form-title {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1a202c;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 16px 20px;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #718096;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 156, 36, 0.15);
}

/* Custom Dropdown Styling */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 45px;
}

.select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  pointer-events: none;
  transition: color 0.3s ease;
}

.select-wrapper select:focus + ::after {
  color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 10px;
}

.form-submit .btn-primary {
  padding: 16px 48px;
  font-size: 0.95rem;
}

/* Success Message Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 24, 34, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-message-box {
  text-align: center;
  max-width: 450px;
  padding: 40px;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-icon {
  color: #48bb78;
  font-size: 4.5rem;
  line-height: 1;
}

.success-message-box h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
}

.success-message-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.success-message-box .btn-primary {
  padding: 12px 32px;
  margin-top: 10px;
}

/* ==========================================================================
   Premium Footer
   ========================================================================== */

/* Wave Divider */
#site-footer {
  background-color: #080d12;
  position: relative;
}

.footer-divider {
  line-height: 0;
  background-color: #0c1016; /* contact section bg — seamless join */
}

.footer-wave {
  width: 100%;
  height: 60px;
  display: block;
}

/* ---- Main Body ---- */
.footer-body {
  padding: 70px 0 60px;
  background-color: #080d12;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow behind brand col */
.footer-body::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 156, 36, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 50px;
  align-items: start;
}

/* ---- Column base ---- */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Slide-up reveal animation */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col.footer-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each column */
#footer-col-brand  { transition-delay: 0s; }
#footer-col-links  { transition-delay: 0.12s; }
#footer-col-contact{ transition-delay: 0.24s; }
#footer-col-hours  { transition-delay: 0.36s; }

/* ---- Column Heading ---- */
.footer-col-title {
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 14px;
}

.footer-col-underline {
  width: 36px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 28px;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.footer-col:hover .footer-col-underline {
  width: 60px;
}

/* ---- Brand Col ---- */
.footer-logo-link {
  display: inline-block;
  margin-bottom: 18px;
  transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.footer-tagline {
  font-size: 0.9rem;
  color: #8a97a8;
  line-height: 1.7;
  margin-bottom: 22px;
}

.footer-abn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(230, 156, 36, 0.08);
  border: 1px solid rgba(230, 156, 36, 0.2);
  border-radius: 6px;
  padding: 9px 16px;
  margin-bottom: 26px;
  width: fit-content;
}

.footer-abn i {
  color: var(--primary);
  font-size: 1rem;
}

.footer-abn span {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8a97a8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #0c1016;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(230, 156, 36, 0.35);
}

/* ---- Quick Links ---- */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list li a {
  font-size: 0.9rem;
  color: #8a97a8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.footer-links-list li a i {
  font-size: 0.6rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.footer-links-list li a:hover {
  color: var(--text-white);
  gap: 14px;
}

.footer-links-list li a:hover i {
  transform: translateX(3px);
}

/* ---- Contact List ---- */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(230, 156, 36, 0.1);
  border: 1px solid rgba(230, 156, 36, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-contact-list li:hover .footer-contact-icon {
  background: rgba(230, 156, 36, 0.2);
  transform: scale(1.08);
}

.footer-contact-list li a,
.footer-contact-list li span {
  font-size: 0.88rem;
  color: #8a97a8;
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
  color: var(--primary);
}

/* ---- Business Hours ---- */
.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
}

.footer-hours-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.footer-hours-list li:last-child {
  border-bottom: none;
}

.footer-hours-list li:hover {
  background: rgba(230, 156, 36, 0.05);
}

.hours-day {
  font-family: var(--font-headings);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hours-time {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* CTA Badge */
.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #ca8216 100%);
  color: #0c1016;
  font-family: var(--font-headings);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 18px rgba(230, 156, 36, 0.28);
  position: relative;
  overflow: hidden;
}

.footer-cta-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.footer-cta-badge:hover::before {
  left: 100%;
}

.footer-cta-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(230, 156, 36, 0.45);
}

/* ---- Bottom Bar ---- */
.footer-bottom {
  background-color: #040709;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  font-size: 0.83rem;
  color: #5a6578;
}

.footer-made {
  font-size: 0.83rem;
  color: #5a6578;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-heart {
  color: var(--primary);
  animation: heartbeat 1.4s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.15); }
  70%       { transform: scale(1); }
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 30px;
  }
  .nav-menu {
    gap: 20px;
  }
  .hero-container {
    padding: 0 30px;
  }
  .about-container {
    padding: 0 30px;
    gap: 40px;
  }
  .services-carousel-wrapper {
    padding: 0 60px;
  }
  .why-choose-grid {
    padding: 0 30px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 30px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-form-card {
    padding: 50px 45px;
  }
}

@media (max-width: 900px) {
  /* Mobile Menu System */
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 80px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Hamburger transform to 'X' */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-actions {
    margin-right: 40px;
  }

  .hero {
    background: linear-gradient(
        180deg,
        rgba(12, 16, 22, 0.75) 0%,
        rgba(12, 16, 22, 0.8) 70%,
        rgba(12, 16, 22, 0.9) 100%
      ),
      url('hero.png') center/cover no-repeat;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .about {
    padding: 80px 0;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 30px;
  }
  .about-image-wrapper {
    max-width: 550px;
    margin: 0 auto;
  }
  .services {
    padding: 80px 0;
  }
  .services-carousel-wrapper {
    padding: 0 55px;
  }
  .services-track {
    gap: 20px;
  }
  .service-card {
    flex: 0 0 calc((100% - 1 * 20px) / 2);
  }
  .why-choose {
    padding: 80px 0;
  }
  .why-choose-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 30px;
  }
  .why-item {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 10px;
  }
  .why-item:nth-child(4n) {
    border-right: none;
  }
  .why-item:nth-child(n+5) {
    border-bottom: none;
  }
  .gallery {
    padding: 80px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 30px;
    gap: 15px;
  }
  .testimonials {
    padding: 80px 0;
  }
  .testimonials-container {
    padding: 0 30px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .contact {
    padding: 80px 0;
  }
  .contact-container {
    padding: 0 30px;
  }
  .quote-form-card {
    padding: 45px 35px;
  }
}

@media (max-width: 576px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-actions {
    display: none; /* Hide top header CTA button on small phones to avoid overlap */
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
  .about {
    padding: 60px 0;
  }
  .about-container {
    padding: 0 20px;
    gap: 35px;
  }
  .about-title {
    font-size: 1.85rem;
  }
  .abn-badge {
    width: 100%;
    justify-content: center;
  }
  .services {
    padding: 60px 0;
  }
  .services-carousel-wrapper {
    padding: 0 45px;
  }
  .services-track {
    gap: 0px;
  }
  .service-card {
    flex: 0 0 100%;
  }
  .carousel-nav {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .carousel-nav.prev {
    left: 0px;
  }
  .carousel-nav.next {
    right: 0px;
  }
  .why-choose {
    padding: 60px 0;
  }
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .why-item {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 10px;
  }
  .why-item:nth-child(2n) {
    border-right: none;
  }
  .why-item:nth-child(n+7) {
    border-bottom: none;
  }
  .gallery {
    padding: 60px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 10px;
  }
  .gallery-footer {
    margin-top: 40px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
  }
  .testimonials {
    padding: 60px 0;
  }
  .testimonials-container {
    padding: 0 20px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-card {
    padding: 30px 25px;
  }
  .contact {
    padding: 60px 0;
  }
  .contact-container {
    padding: 0 20px;
  }
  .quote-form-card {
    padding: 40px 20px;
    border-radius: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .form-submit .btn-primary {
    width: 100%;
    text-align: center;
  }
  /* Footer mobile */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 0 20px;
  }
}

/* Footer tablet */
@media (max-width: 1024px) and (min-width: 577px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px 40px;
    padding: 0 30px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 360px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

