/* ============================================
   CLOSE HITCHCOCK LLC - SWIPER HERO SLIDER
   Professional slider with parallax effects
   ============================================ */

/* Remove default spacing */
main {
  padding: 0 !important;
  margin: 0 !important;
}

.wpo-hero-slider {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .wpo-hero-slider {
    height: 550px;
  }
}

@media (max-width: 767px) {
  .wpo-hero-slider {
    height: 500px;
  }
}

.wpo-hero-slider + .practice-areas-section {
  margin-top: 0 !important;
}

.swiper-container {
  width: 100%;
  height: 650px;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .swiper-container {
    height: 550px;
  }
}

@media (max-width: 767px) {
  .swiper-container {
    height: 500px;
  }
}

.swiper-wrapper {
  margin: 0;
  padding: 0;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Inner */
.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 650px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .slide-inner {
    min-height: 550px;
  }
}

@media (max-width: 767px) {
  .slide-inner {
    min-height: 500px;
  }
}

/* Slide Background Image */
.slide-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 41, 71, 0.85) 0%, rgba(13, 41, 71, 0.65) 100%);
  z-index: 1;
}

/* Slide Content */
.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 80px 0;
}

@media (max-width: 991px) {
  .slide-content {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .slide-content {
    padding: 40px 0;
  }
}

.slide-title h2 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .slide-title h2 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .slide-title h2 {
    font-size: 32px;
  }
}

.slide-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .slide-text p {
    font-size: 16px;
    margin-bottom: 25px;
  }
}

.slide-btns .theme-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #e3b576;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  border: 2px solid #e3b576;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide-btns .theme-btn:hover {
  background: transparent;
  color: #e3b576;
  border-color: #e3b576;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(227, 181, 118, 0.4);
}

@media (max-width: 767px) {
  .slide-btns .theme-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(227, 181, 118, 0.8);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s;
}

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

.wpo-hero-slider:hover .swiper-button-next,
.wpo-hero-slider:hover .swiper-button-prev {
  opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #e3b576;
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }
}

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

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 5px !important;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background: #e3b576;
  width: 40px;
  border-radius: 6px;
}

/* Keep pagination clickable above other overlays */
.wpo-hero-slider .swiper-pagination { z-index: 10 !important; pointer-events: auto; }
/* Hide navigation arrows in hero as requested */
.wpo-hero-slider .swiper-button-next,
.wpo-hero-slider .swiper-button-prev { display: none !important; }

@media (max-width: 767px) {
  .swiper-pagination {
    bottom: 20px !important;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  
  .swiper-pagination-bullet-active {
    width: 30px;
  }
}

/* ============================================
   PRACTICE AREAS SECTION
   ============================================ */

.practice-areas-section {
  padding: 80px 0;
  background: #f8f9fa;
  margin: 0;
}

@media (max-width: 991px) {
  .practice-areas-section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .practice-areas-section {
    padding: 50px 0;
  }
}

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

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #070143;
  margin-bottom: 15px;
  font-family: "Cormorant Garamond", serif;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 32px;
  }
}

.section-subtitle {
  font-size: 18px;
  color: #687693;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .section-subtitle {
    font-size: 16px;
  }
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(7, 1, 67, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #070143;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
}

.service-card-text {
  font-size: 15px;
  color: #687693;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  color: #e3b576;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 15px;
}

.service-card-link:hover {
  color: #d19f5f;
  padding-left: 5px;
}

.service-card-link i {
  margin-left: 5px;
  font-size: 14px;
  transition: transform 0.3s;
}

.service-card-link:hover i {
  transform: translateX(5px);
}

/* Row Gap */
.g-4 {
  --bs-gutter-y: 1.5rem;
  --bs-gutter-x: 1.5rem;
}
