/* Services Page Styles */
@import url("../css/main.css");
@import url("../css/contact-footer.css");

/* Page-specific hero overrides if needed */

/* Services Section */
.services-section {
  padding: 80px 0 0 0;
  background: #1a1a1a;
  position: relative;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 20px;
  background: rgba(26, 26, 26, 0.8);
  position: relative;
}

/* Steps strip */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 0 2.5rem 0;
  justify-items: center;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d9d9d9;
  border: 1px solid rgba(255, 215, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.step-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.step-icon i {
  font-size: 28px;
}

.step-meta {
  display: flex;
  flex-direction: column;
}

.step-title {
  color: #ffd700;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-text {
  color: #cfcfcf;
  font-size: 0.9rem;
}

.service-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Tab styles are now in shared-components.css */
.tab-btn:hover {
  background-color: #f59506;
  border-radius: 20px;
}

.tab-btn.active {
  color: #ffd700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
  grid-auto-rows: auto;
}

.service-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.4s ease, z-index 0.1s ease;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.service-card.expanded {
  z-index: 10;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  margin-bottom: 3rem;
}

.card-top {
  background: #ffffff;
  border-radius: 15px 15px 0 0;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 15px 15px 0 0;
}

.service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3 {
  color: #333;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.service-description {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  height: 4.48rem;
  overflow: hidden;
}

.read-more-btn:hover {
  color: #f59506;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  text-align: right;
}

.service-footer .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
  background-size: cover;
}

/* Remove duplicate styles - they are defined in the collapsible section */

.view-all-container {
  text-align: center;
  margin-top: 2rem;
}

/* Footer styles are handled by contact-footer.css */

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .steps-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-container {
    margin: 0 20px;
    padding: 30px 15px;
  }

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

  .steps-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-items: center;
    text-align: center;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .step-meta {
    text-align: center;
  }

  .explore-packages {
    text-align: center;
    margin: 2rem 0;
  }

  .explore-packages .section-title {
    text-align: center;
    margin-bottom: 1rem;
  }

  .explore-packages .title-underline {
    margin: 0 auto 1.5rem auto;
  }

  .section-description {
    text-align: center;
    padding: 0 20px;
    margin: 0 auto 2rem auto;
  }

  .service-tabs {
    justify-content: center;
    text-align: center;
  }

  .service-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .service-footer .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 40px 0;
  }

  .services-container {
    margin: 0 15px;
    padding: 20px 15px;
  }

  .steps-strip {
    gap: 1.5rem;
  }

  .step-item {
    gap: 0.75rem;
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon img {
    width: 30px;
    height: 30px;
  }

  .explore-packages {
    margin: 1.5rem 0;
  }

  .section-description {
    font-size: 0.9rem;
    padding: 0 15px;
    line-height: 1.5;
  }

  .service-tabs {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .tab-separator {
    display: none;
  }

  .service-card img {
    height: 200px;
  }

  .service-content {
    padding: 1rem;
    text-align: left;
  }
}

/* Typography styles are now in shared-components.css */

/* Explore Packages Section */
.explore-packages {
  text-align: center;
  margin: 3rem 0;
}

.explore-packages .section-title {
  font-family: "Bayon", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}

.explore-packages .title-underline {
  width: 30%;
  height: 3px;
  background: #ffd700;
  margin: 0 auto 2rem auto;
}

.section-description {
  font-size: 1rem;
  color: #cfcfcf;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.package-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Package tab styles are now in shared-components.css */

@media (max-width: 768px) {
  .section-description {
    font-size: 0.9rem;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .package-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* Mobile Text Positioning Fixes */
@media (max-width: 768px) {
  /* Ensure hero content is properly centered */
  .hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
  }

  .hero .hero-content .container {
    width: 100%;
    max-width: 90%;
    text-align: center;
  }

  .hero .hero-title {
    text-align: center;
    margin: 0 auto 1.5rem auto;
    width: 100%;
  }

  .hero .hero-description {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 85%;
  }

  /* Services section text alignment */
  .services-section .explore-packages .section-title {
    text-align: center;
    width: 100%;
  }

  .services-section .section-description {
    text-align: center;
    width: 100%;
    max-width: 90%;
    margin: 0 auto 2rem auto;
  }
}

@media (max-width: 480px) {
  .hero .hero-content .container {
    max-width: 95%;
    padding: 0 10px;
  }

  .hero .hero-description {
    max-width: 90%;
    font-size: 0.9rem;
  }

  .services-section .section-description {
    max-width: 95%;
    padding: 0 10px;
  }
}

/* Collapsible Package Styles - Fixed Design */
.service-card {
  margin-bottom: 2rem;
}

.card-bottom {
  background: #1a1a1a;
  border-radius: 0 0 15px 15px;
  overflow: visible;
  position: relative;
}

.package-header {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 1rem;
  background: #1a1a1a;
  transition: all 0.3s ease;
  border-radius: 0 0 15px 15px;
}

.package-header:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

.package-arrow {
  color: #ffd700;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  font-weight: bold;
}

.package-content {
  background: #1a1a1a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, box-shadow 0.3s ease;
  border-radius: 0 0 15px 15px;
  position: relative;
}

.package-content.expanded {
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbar while keeping scroll functionality */
.package-content::-webkit-scrollbar {
  display: none;
}

.package-content {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.package-header.expanded .package-arrow {
  transform: rotate(180deg);
}

.package-content h4 {
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.package-content-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Fade effect at bottom to indicate scrollable content */
.package-content.expanded::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(transparent, #1a1a1a);
  pointer-events: none;
  border-radius: 0 0 15px 15px;
}

.package-content {
  position: relative;
}

.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inclusions-list li {
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding-left: 0;
}

/* Mobile responsive adjustments for collapsible */
@media (max-width: 768px) {
  .package-header {
    padding: 1rem;
  }

  .package-arrow {
    font-size: 1.3rem;
  }

  .package-content.expanded {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .package-content.expanded {
    max-height: 300px;
    padding: 1rem;
  }

  .inclusions-list li {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
  }
}
