/* ROOT VARIABLES */
:root {
  /* Primary Colors */
  --primary-dark: #121212;
  --secondary-dark: #1a1a1a;
  --text-white: #ffffff;
  --text-light: #f5f5f5;
  --text-muted: #b8b8b8;

  /* Metallic Accents */
  --accent-gold: linear-gradient(135deg, #d4af37 0%, #c5a028 50%, #ffd700 100%);
  --accent-silver: linear-gradient(
    135deg,
    #c0c0c0 0%,
    #e8e8e8 50%,
    #b8b8b8 100%
  );

  /* Rich Accent Colors */
  --accent-burgundy: #800020;
  --accent-emerald: #046307;
  --accent-royal: #002366;

  /* Background Gradients */
  --gradient-dark: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  --gradient-overlay: linear-gradient(
    rgba(18, 18, 18, 0.9),
    rgba(26, 26, 26, 0.95)
  );

  /* Card and Component Backgrounds */
  --card-bg: rgba(26, 26, 26, 0.85);
  --card-hover: rgba(32, 32, 32, 0.85);
}

/* GLOBAL STYLES */
body {
  margin: 0;
  padding: 0;
  background: var(--primary-dark);
  color: var(--text-white);
  font-family: "Montserrat", "Arial", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* NAVIGATION STYLES */
.sticky-nav {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 80px;
  background-color: #121212;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-logo {
  color: var(--accent-gold);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: "Playfair Display", serif;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  margin-left: 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  color: var(--text-light);
  transition: color 0.3s ease;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a.active {
  color: var(--text-white);
  font-weight: 600;
}

/* Navigation underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: rgba(212, 175, 55, 0.8);
  transition: width 0.3s ease;
}

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

.nav-links a:not(.active):hover::after {
  width: 100%;
}

.nav-links a:not(.active):focus-visible::after {
  width: 100%;
}

.nav-links a:hover {
  color: rgba(212, 175, 55, 0.8);
}

.nav-links a:focus-visible {
  color: rgba(212, 175, 55, 0.8);
}

.nav-links a.active:hover,
.nav-links a.active:focus-visible {
  color: rgba(212, 175, 55, 0.95);
}

.nav-links a.quote-link {
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.nav-links a.quote-link::after {
  display: none;
}

.nav-links a.quote-link:hover,
.nav-links a.quote-link:focus-visible {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.9);
}

/* Content container specific styling */
.content-container {
  width: 100%;
  margin-top: 80px; /* Reduced from 100px to move content higher */
  position: relative;
  z-index: 1; /* Lower than navbar z-index */
}

/* HERO SECTION */
.hero {
  padding: 64px 20px 48px;
  text-align: center;
  position: relative;
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  background-color: #1a1a1a;
  background-image: url("images/exterior1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none;
}

/* Before / after comparison */
.hero-ba {
  --slider-pos: 50;
  --before-label-opacity: 0.5;
  --after-label-opacity: 0.5;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(100%, 1200px);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.before-after-section {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.before-after-card {
  width: min(100%, 520px);
  transform: none !important;
}

.before-after-card .hero-ba {
  max-width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 10px;
  box-shadow: none;
}

.before-after-card:hover {
  transform: none !important;
}

.hero-ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  transition: none !important;
  animation: none !important;
}

.hero-ba__img--after {
  z-index: 0;
}

.hero-ba__before-layer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: calc(var(--slider-pos) * 1%);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-ba__img--before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--slider-pos) * 1%);
  width: 4px;
  transform: translateX(-50%);
  background: rgba(212, 175, 55, 0.95);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.hero-ba__divider::after {
  content: "\2039\00A0\203A";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.85);
  color: rgba(212, 175, 55, 0.95);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0;
}

.hero-ba__labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-ba__label {
  position: absolute;
  top: 14px;
  bottom: auto;
  z-index: 6;
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 5px 9px;
  border-radius: 4px;
  line-height: 1.1;
  white-space: nowrap;
  transition: opacity 0.08s linear;
  visibility: visible !important;
}

.hero-ba__label--before {
  left: 16px;
  opacity: var(--before-label-opacity, 1);
  visibility: visible;
}

.hero-ba__label--after {
  right: 16px;
  opacity: var(--after-label-opacity, 1);
  visibility: visible;
}

.hero-ba__range-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  cursor: col-resize;
}

.hero-ba__range {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: col-resize;
  z-index: 3;
}

.hero-ba__range:focus-visible {
  opacity: 0.01;
}

.hero-ba__range-wrap:focus-within {
  outline: 2px solid rgba(212, 175, 55, 0.85);
  outline-offset: -2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* CATEGORY BUTTONS */
.category-btn {
  padding: 8px 16px;
  margin: 0 8px;
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: visible; /* Changed from hidden to visible to show the underline */
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Remove the ::after pseudo-element approach entirely and use a different method */
.category-btn::after {
  display: none !important; /* Completely disable the pseudo-element */
}

.category-btn:hover {
  color: rgba(212, 175, 55, 0.8); /* Match navbar hover color */
  background: transparent;
  border: 1px solid transparent; /* Remove border color on hover */
}

/* Use a border-bottom instead of ::after for the active state */
.category-btn.active {
  background: transparent;
  color: var(--text-white);
  border: 1px solid transparent; /* Remove border color when active */
  box-shadow: none;
}

/* Position the span inside the button */
.category-btn span {
  position: relative;
  z-index: 1;
}

/* Add a separate underline element inside each button for active state */
.category-btn .underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background-color: rgba(212, 175, 55, 0.8);
  transition: width 0.3s ease;
  z-index: 2; /* Ensure the underline is above other elements */
}

.category-btn.active .underline {
  width: 60%; /* Make underline width match the text width, not the full button */
}

.category-btn:hover .underline {
  width: 60%; /* Make underline width match the text width, not the full button */
}

.category-btn:focus {
  outline: none;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Match homepage "Our Signature Process" (.process-step): lift + soft glow, no 3D tilt */
.service-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(212, 175, 55, 0.1);
}

.service-card h3 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 4rem 2rem 6rem; /* Reduced top padding from 8rem to 4rem */
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem; /* Reduced from 4rem to further compact spacing */
}

.gallery-header h1 {
  color: var(--accent-gold);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.gallery-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1400px;
  padding: 0 1rem;
}

/* IMAGE CARDS */
.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/2;
  border: 2px solid rgba(50, 50, 50, 0.5);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Image container for multiple images */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* Navigation dots for multiple images */
.image-dots {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 20;
  pointer-events: auto;
}

.image-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.image-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.image-dot.active {
  background: rgba(212, 175, 55, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Navigation arrows (above caption / overlays so clicks register) */
.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 25;
  pointer-events: auto;
  font-size: 18px;
  font-weight: bold;
}

.image-nav.prev {
  left: 10px;
}

.image-nav.next {
  right: 10px;
}

.image-nav:hover {
  background: rgba(212, 175, 55, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.image-card:hover .image-nav {
  opacity: 1;
}

.image-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.5);
}

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

.before-after-card:hover img {
  transform: none !important;
}

.image-card p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 29, 60, 0.9);
  color: var(--text-light);
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 10;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.image-card:hover p {
  transform: translateY(0);
}

/* GALLERY CTA */
.gallery-cta {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem 2rem;
  background: var(--secondary-dark);
  border-radius: 8px;
  position: relative;
}

.gallery-cta h2 {
  color: var(--accent-gold);
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.gallery-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* CONTACT SECTION */
.contact-section {
  padding: 8rem 2rem;
  background: var(--gradient-dark);
  text-align: center;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-content h2 {
  color: var(--accent-gold);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 0, 0, 0.3);
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--text-light);
  background: rgba(212, 175, 55, 0.2);
  padding: 0.5rem;
  border-radius: 50%;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: rgba(212, 175, 55, 0.8);
}

/* FOOTER */
footer {
  background-color: var(--secondary-dark);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(196, 167, 125, 0.2);
}

.footer-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: rgba(212, 175, 55, 0.8);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FORM STYLES */
.contact-form-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(196, 167, 125, 0.2);
  border-radius: 4px;
  color: var(--text-white);
  font-family: "Montserrat", sans-serif;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.contact-form button {
  background: var(--card-bg);
  color: var(--text-white);
  border: 2px solid rgba(212, 175, 55, 0.5);
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form button:hover {
  background: rgba(26, 26, 26, 0.95);
  border-color: rgba(212, 175, 55, 0.8);
}

/* SERVICES SECTION ON HOME PAGE */
.services-section {
  padding: 8rem 2rem 6rem;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.services-section .services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-section .services-header h2 {
  color: var(--accent-gold);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.view-more-container {
  text-align: center;
  margin-top: 3rem;
}

.view-more-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-light);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.8);
  border-radius: 30px;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: white;
  transform: translateY(-3px);
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(212, 175, 55, 0.2);
}

/* CTA BUTTON - ENHANCED ELITE STYLING */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-white);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.9) 0%,
    rgba(184, 151, 37, 0.9) 50%,
    rgba(212, 175, 55, 0.9) 100%
  );
  background-size: 200% 100%;
  border: none;
  border-radius: 30px;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(212, 175, 55, 0.3);
  overflow: hidden;
  transition:
    all 0.4s ease,
    background-position 0.8s ease;
  z-index: 1;
  animation: subtle-float 3s ease-in-out infinite;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(45deg);
  z-index: 2;
  animation: light-reflection 3s ease-in-out infinite;
}

.cta-button:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(212, 175, 55, 0.4);
}

.cta-button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(212, 175, 55, 0.3);
}

@keyframes light-reflection {
  0% {
    transform: rotate(45deg) translateX(-100%);
  }
  30%,
  100% {
    transform: rotate(45deg) translateX(100%);
  }
}

@keyframes subtle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* SERVICES SUBTITLE - ENHANCED ELITE STYLING */
.services-subtitle,
.gallery-subtitle {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 1.5rem;
}

.services-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--text-light);
  position: relative;
  padding-bottom: 2rem;
}

.services-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.8),
    rgba(212, 175, 55, 0.1)
  );
}

.gold-text {
  position: relative;
  color: white;
  display: inline-block;
}

.gold-text::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.8);
}

/* GALLERY CTA & SERVICES CTA - ENHANCED ELITE STYLING */
.gallery-cta,
.services-cta {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem 2rem;
  background: transparent;
  border-radius: 8px;
  position: relative;
  border: none;
  box-shadow: none;
}

.gallery-cta h2,
.services-cta h2 {
  color: var(--text-white);
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.gallery-cta h2::before,
.services-cta h2::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.8),
    rgba(212, 175, 55, 0.1)
  );
}

.gallery-cta h2::after,
.services-cta h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.1),
    rgba(212, 175, 55, 0.8),
    rgba(212, 175, 55, 0.1)
  );
}

.gallery-cta p,
.services-cta p {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 2rem auto;
}

.elite-accent {
  position: absolute;
  width: 40px;
  height: 120px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  opacity: 0.6;
}

.elite-accent.left {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.elite-accent.right {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-left: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

@media (max-width: 768px) {
  .elite-accent {
    display: none;
  }

  .gallery-cta h2,
  .services-cta h2 {
    font-size: 2rem;
  }

  .gallery-cta p,
  .services-cta p {
    font-size: 1rem;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .sticky-nav {
    padding: 0.9rem 1.4rem;
  }

  .nav-logo {
    font-size: 1.9rem;
  }

  .nav-links a {
    margin-left: 1.2rem;
    font-size: 0.88rem;
  }

  .content-container {
    margin-top: 88px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .sticky-nav {
    min-height: 0;
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-logo {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0.45rem 0.7rem;
  }

  .nav-links a {
    margin-left: 0;
    font-size: 0.82rem;
    padding: 0.35rem 0;
  }

  .nav-links a.quote-link {
    padding: 0.35rem 0.75rem;
  }

  .content-container {
    margin-top: 122px;
  }

  .before-after-section {
    padding: 0 1rem;
  }

  .hero {
    min-height: 38vh;
  }

  h1 {
    font-size: 2.5rem;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-section {
    padding: 6rem 1rem 4rem;
  }

  .gallery-header h1 {
    font-size: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .gallery-categories {
    gap: 0.8rem;
  }

  .gallery-cta {
    margin-top: 4rem;
    padding: 2.5rem 1rem;
  }

  .gallery-cta h2 {
    font-size: 2rem;
  }

  .category-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .contact-section {
    padding: 6rem 1rem;
  }

  .contact-content h2 {
    font-size: 2rem;
  }

  .contact-details {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
  }

  .image-nav {
    width: 35px;
    height: 35px;
    opacity: 0.7; /* Always visible on mobile for better UX */
  }

  .image-dots {
    bottom: 40px;
  }
}

@media (max-width: 480px) {
  .sticky-nav {
    padding: 0.65rem 0.75rem;
  }

  .nav-logo {
    font-size: 1.35rem;
  }

  .nav-links {
    gap: 0.3rem 0.55rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }

  .nav-links a.quote-link {
    font-size: 0.72rem;
    padding: 0.32rem 0.62rem;
  }

  .content-container {
    margin-top: 116px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero p {
    font-size: 1rem;
  }

  .gallery-header h1 {
    font-size: 2rem;
  }

  .gallery-subtitle {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .image-card {
    aspect-ratio: 4/3; /* Slightly shorter cards on mobile */
  }

  .image-nav {
    width: 30px;
    height: 30px;
    opacity: 0.8;
  }

  .services-grid {
    padding: 3.5rem 1rem;
  }

  .service-card,
  .process-step {
    padding: 1.5rem;
  }

  .about-content h2,
  .process-content h2 {
    font-size: 2rem;
  }

  .image-dots {
    bottom: 35px;
  }

  .image-dot {
    width: 8px;
    height: 8px;
  }
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* IMAGE MODAL STYLES */
.image-modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  z-index: 1;
  animation: zoom 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2102;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.modal-close:hover {
  color: rgba(212, 175, 55, 0.8);
  transform: scale(1.1);
}

#modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

#modal-caption {
  color: white;
  padding: 20px 0;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

#modal-counter {
  position: absolute;
  top: 20px;
  left: 30px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  border: 1px solid rgba(212, 175, 55, 0.5);
  z-index: 2100;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 2100;
  pointer-events: auto;
}

#modal-prev {
  left: 30px;
}

#modal-next {
  right: 30px;
}

.modal-nav:hover {
  background-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-50%) scale(1.1);
}

#modal-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2100;
  pointer-events: auto;
}

.modal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.modal-dot.active {
  background-color: rgba(212, 175, 55, 0.8);
  border: 2px solid white;
  transform: scale(1.2);
}

.modal-dot:hover {
  background-color: rgba(212, 175, 55, 0.5);
  transform: scale(1.2);
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Image card indicators */
.maximize-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease;
  z-index: 5;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.maximize-icon:hover {
  background-color: rgba(212, 175, 55, 0.5);
}

.image-count {
  position: absolute;
  bottom: 50px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.image-card:hover .maximize-icon,
.image-card:hover .image-count {
  opacity: 1;
}

/* ABOUT SECTION */
.about-section {
  padding: 3.25rem 2rem;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--accent-gold);
  font-size: 3rem;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
  text-align: center;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  text-align: center;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

/* PROCESS SECTION */
.process-section {
  padding: 6rem 2rem;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.process-content {
  max-width: 1200px;
  margin: 0 auto;
}

.process-content h2 {
  color: var(--accent-gold);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  text-align: center;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.process-step {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.2);
  font-family: "Playfair Display", serif;
  line-height: 1;
  align-self: flex-end;
  flex: 0 0 auto;
  margin-bottom: 1rem;
  -webkit-user-select: none;
  user-select: none;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.process-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Media Queries for About and Process Sections */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-height: 400px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 2.5rem 1.5rem;
  }

  .process-section {
    padding: 4rem 1.5rem;
  }

  .about-content h2,
  .process-content h2 {
    font-size: 2.5rem;
  }

  .process-intro {
    font-size: 1.1rem;
  }

  .step-number {
    font-size: 3rem;
  }
}
