/* ========================================
   JKS Contracting LLC - Main Stylesheet
   Colors, Fonts, Layout from live site
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Reset & Variables */
:root {
  --contrast: #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f7f8f9;
  --base-3: #ffffff;
  --accent: #1e73be;
  --purple: #3A2CB8;
  --purple-hover: #392CB5;
  --orange: #F57600;
  --orange-hover: #E06C00;
  --red: #D63031;
  --dark-blue: #1A4B84;
  --gray-btn: #55555e;
  --gray-btn-hover: #3f4047;
  --top-bar-bg: #636363;
  --footer-bg: #1a1a2e;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Lato', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--contrast);
  background: var(--base-3);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--contrast);
}

h1 { font-size: 45px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--contrast-2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  background: var(--base-3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo img {
  width: 100px;
  height: auto;
  transition: width 0.2s ease;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  justify-content: center;
}

/* CTA inside nav drawer - mobile only */
.nav-cta-li {
  display: none;
}

/* CTA outside nav - desktop only */
.nav-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--purple);
}

.main-nav > li > a .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

/* Dropdown Menus */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--base-3);
  min-width: 240px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.main-nav > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--contrast);
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: var(--base-2);
  color: var(--purple);
  padding-left: 25px;
}

/* Sub-dropdown for Areas */
.dropdown .has-sub {
  position: relative;
}

.dropdown .has-sub .sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--base-3);
  min-width: 220px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.12);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.dropdown .has-sub:hover .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* CTA Button in Nav */
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 12px 22px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.3s ease !important;
  margin-left: 10px;
}

.nav-cta:hover {
  background: var(--orange-hover) !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--contrast);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 28, 100, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 25px;
  line-height: 1.7;
}

.hero-two-col {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Hero with contact form on the right */
.hero-form {
  background: var(--base-3);
  padding: 30px;
  border-radius: 8px;
  min-width: 380px;
  max-width: 420px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-form h3 {
  color: var(--contrast);
  font-size: 22px;
  margin-bottom: 5px;
  text-align: center;
}

.hero-form .form-subtitle {
  color: var(--contrast-2);
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover {
  background: var(--purple-hover);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

.btn-gray {
  background: var(--gray-btn);
  color: #fff;
}
.btn-gray:hover {
  background: var(--gray-btn-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast);
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: var(--base-3);
  color: var(--contrast);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}

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

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

.form-submit {
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.form-submit:hover {
  background: var(--orange-hover);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: var(--contrast);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--contrast-2);
  font-size: 16px;
}

.section-title.text-left {
  text-align: left;
}

.section-title.text-left p {
  margin: 0;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--base-3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card .card-image {
  height: 200px;
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-card .card-content {
  padding: 20px;
}

.service-card .card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card .card-content p {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 15px;
}

.service-card .card-content .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* ========================================
   WHY CHOOSE US / FEATURE CARDS
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--base-3);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 0;
}

/* Feature cards on colored backgrounds */
.features-on-dark .feature-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.features-on-dark .feature-card h3 {
  color: #fff;
}

.features-on-dark .feature-card p {
  color: rgba(255,255,255,0.85);
}

.features-on-dark .feature-icon {
  background: rgba(255,255,255,0.2);
}

/* Why Choose Layout with Image */
.why-choose-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.why-choose-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
}

.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Reviews Slider */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.reviews-slider .review-card {
  min-width: 100%;
  padding: 40px 60px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.reviews-slider .review-card p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 20px;
}

.reviews-slider .review-author {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.reviews-slider .review-stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.3);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #fff;
}

@media (max-width: 768px) {
  .why-choose-layout {
    grid-template-columns: 1fr;
  }

  .why-choose-image img {
    min-height: 300px;
  }

  .reviews-slider .review-card {
    padding: 30px 20px;
  }

  .reviews-slider .review-card p {
    font-size: 16px;
  }
}

/* ========================================
   REVIEWS / TESTIMONIALS
   ======================================== */
.reviews-section {
  background: var(--purple);
  padding: 80px 0;
}

.reviews-section .section-title h2,
.reviews-section .section-title p {
  color: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 25px;
  color: #fff;
}

.review-stars {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-hero {
  background: var(--purple);
  padding: 80px 0;
  text-align: center;
}

.gallery-hero h1 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 15px;
}

.gallery-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 25px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.2);
}

/* Gallery large items */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ========================================
   PROCESS / STEPS
   ======================================== */
.process-section {
  background: var(--base-2);
  padding: 80px 0;
}

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

.process-card {
  background: var(--base-3);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 15px;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 0;
}

/* ========================================
   ABOUT SECTION (with image)
   ======================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 15px;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, #2a1f99 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 15px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 25px;
}

/* Dark background CTA */
.cta-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
}

.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.cta-dark .container {
  position: relative;
  z-index: 2;
}

.cta-dark h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 10px;
}

.cta-dark h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 400;
}

.cta-dark p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 25px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-block {
  padding: 20px 0;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.contact-info-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-info-item a {
  color: var(--purple);
  font-weight: 600;
  font-size: 16px;
}

.contact-info-item a:hover {
  color: var(--orange);
}

.contact-info-item p {
  margin-bottom: 3px;
  font-size: 15px;
}

.contact-form-wrapper {
  background: var(--base-3);
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* ========================================
   BLOG
   ======================================== */
.blog-hero {
  background: var(--purple);
  padding: 80px 0;
  text-align: center;
}

.blog-hero h1 {
  color: #fff;
  font-size: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.blog-card {
  background: var(--base-3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card .card-image {
  height: 280px;
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .card-content {
  padding: 25px;
}

.blog-card .card-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card .card-content h2 a:hover {
  color: var(--purple);
}

.blog-card .card-content p {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 15px;
}

.blog-card .card-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--contrast-3);
  margin-top: 15px;
}

.read-more {
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  color: var(--orange);
}

/* Blog Single Post */
.blog-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-single .post-meta {
  margin-bottom: 15px;
}

.blog-single .post-meta .category {
  background: var(--orange);
  color: #fff;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-single h1 {
  font-size: 36px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.blog-single .author-info {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 30px;
}

.blog-single .author-info strong {
  color: var(--contrast);
}

.blog-single .featured-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.blog-single .featured-image img {
  width: 100%;
}

.blog-single .post-content h2 {
  font-size: 26px;
  margin: 30px 0 15px;
}

.blog-single .post-content h3 {
  font-size: 22px;
  margin: 25px 0 12px;
}

.blog-single .post-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.blog-single .post-content ul,
.blog-single .post-content ol {
  margin: 15px 0 15px 25px;
}

.blog-single .post-content li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--contrast-2);
  list-style: disc;
}

.blog-cta {
  background: var(--base-2);
  border-left: 4px solid var(--purple);
  padding: 25px 30px;
  border-radius: 4px;
  margin: 30px 0;
}

.blog-cta h3 {
  margin-bottom: 10px;
}

.blog-cta p {
  margin-bottom: 15px;
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.social-share span {
  font-weight: 700;
  font-size: 16px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  transition: opacity 0.3s;
}

.share-btn:hover {
  opacity: 0.85;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.reddit { background: #ff4500; }
.share-btn.pinterest { background: #e60023; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.email { background: #555; }

/* Related posts sidebar */
.related-sidebar {
  background: var(--base-2);
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
}

.related-sidebar h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.related-post-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.related-post-link:last-child {
  border-bottom: none;
}

.related-post-link img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.related-post-link span {
  font-size: 14px;
  font-weight: 600;
  color: var(--contrast);
  line-height: 1.3;
}

.related-post-link:hover span {
  color: var(--purple);
}

/* ========================================
   LOCATION PAGES
   ======================================== */
.location-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.location-services-grid.has-four {
  grid-template-columns: 1fr;
}

.location-services-grid.has-four .location-service-card:first-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-services-grid.has-four .location-service-card:first-child .card-image {
  height: 100%;
  min-height: 280px;
}

.location-services-grid.has-four .location-service-card:first-child .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.location-services-grid.has-four .location-service-card:first-child .card-content p {
  font-size: 15px;
}

.location-services-grid .bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  grid-column: 1 / -1;
}

.location-service-card {
  background: var(--base-3);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.location-service-card .card-image {
  height: 200px;
  overflow: hidden;
}

.location-service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-service-card .card-content {
  padding: 20px;
}

.location-service-card .card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.location-service-card .card-content p {
  font-size: 14px;
  color: var(--contrast-2);
  margin-bottom: 15px;
}

/* Location Contact Split */
.location-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.location-contact-split .contact-left h2 {
  font-size: 30px;
  margin-bottom: 25px;
}

.location-contact-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.location-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .location-contact-split {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-section {
  padding: 60px 0;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--contrast);
  background: var(--base-3);
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--base-2);
}

.faq-question .faq-toggle {
  font-size: 20px;
  color: var(--purple);
  transition: transform 0.3s;
}

.faq-item.active .faq-question .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  color: var(--contrast-2);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ========================================
   IMAGE GALLERY (Service pages)
   ======================================== */
.image-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.image-showcase .showcase-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1;
}

.image-showcase .showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.image-showcase .showcase-item:hover img {
  transform: scale(1.08);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-col ul li a::before {
  content: '\203A';
  font-weight: 700;
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item .icon-small {
  color: var(--orange);
  font-size: 16px;
  min-width: 20px;
}

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-contact-item a:hover {
  color: var(--orange);
}

.footer-cta-btn {
  margin-top: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: var(--orange);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ========================================
   MODAL / POPUP
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--base-3);
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--contrast-2);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--contrast);
}

.modal-content h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.modal-content .form-subtitle {
  color: var(--contrast-2);
  margin-bottom: 20px;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 94vw;
  max-height: 94vh;
  object-fit: contain;
  border-radius: 0;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ========================================
   BUTTON VARIANTS
   ======================================== */
.btn-outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--purple);
}

/* ========================================
   BLOG SINGLE WITH SIDEBAR
   ======================================== */
.blog-single-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  align-items: start;
}

.blog-single-wrapper .blog-single {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.back-to-all {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.back-to-all:hover {
  background: var(--orange-hover);
}

.post-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-weight: 600;
  font-size: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-nav-link:hover {
  color: var(--orange);
}

/* Contact Hero with bg image */
.contact-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 650px;
  color: #fff;
}

.contact-hero-content h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.contact-hero-content h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 15px;
}

.contact-hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }

  .header-inner {
    padding: 10px 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--base-3);
    flex-direction: column;
    padding: 60px 20px 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    align-items: flex-start;
    gap: 0;
  }

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

  .main-nav > li {
    width: 100%;
  }

  .main-nav > li > a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 15px;
    display: block;
    text-align: center;
  }

  .nav-cta-li {
    display: block;
  }

  .nav-cta-btn {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--base-2);
    display: none;
  }

  .main-nav > li.dropdown-open > .dropdown {
    display: block;
  }

  .dropdown .has-sub .sub-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
  }

  .dropdown .has-sub.dropdown-open .sub-dropdown {
    display: block;
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-two-col {
    flex-direction: column;
  }

  .hero-form {
    min-width: 100%;
    max-width: 100%;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-services-grid {
    grid-template-columns: 1fr;
  }

  .location-services-grid.has-four .location-service-card:first-child {
    grid-template-columns: 1fr;
  }

  .location-services-grid .bottom-row {
    grid-template-columns: 1fr;
  }

  .image-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 50px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-single h1 {
    font-size: 28px;
  }

  .blog-single-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }

  .hero-content h1 {
    font-size: 26px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
