/* Services Page Styles */

/* General Layout */
.services-content {
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

h1,
h2,
h3 {
  color: var(--primary-color-dark);
  font-weight: 400;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* Hero Section */
.services-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../../../assets/img/services/hero-background.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0 80px;
  position: relative;
  color: var(--text-color-light);
}

.services-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(
    to right bottom,
    transparent 49%,
    var(--background-color-light) 50%
  );
}

.services-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-intro p {
  font-size: 1.3rem;
  color: var(--text-color-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-title {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.services-title h1 {
  font-size: 3.5rem;
  color: var(--light-color);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  text-transform: uppercase;
}

/* Services Grid */
.services-grid-section {
  background-color: var(--background-color-light);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--background-color);
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-header {
  background-color: var(--primary-color-dark);
  padding: 25px 30px;
  display: flex;
  align-items: center;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.service-icon i {
  font-size: 2rem;
  color: var(--light-accent-color);
}

.service-header h3 {
  margin: 0;
  color: var(--text-color-light);
  font-size: 1.6rem;
  font-weight: 500;
}

.service-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.service-description {
  padding: 30px;
  flex-grow: 1;
}

.service-description p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Pricing Section */
.pricing-section {
  background-color: var(--background-color-dark);
  color: var(--text-color-light);
  padding: 80px 0;
  position: relative;
  text-align: center;
}

.pricing-section::before,
.pricing-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
}

.pricing-section::before {
  top: 0;
  background: linear-gradient(
    to right bottom,
    var(--background-color-light) 49%,
    transparent 50%
  );
}

.pricing-section::after {
  bottom: 0;
  background: linear-gradient(
    to left bottom,
    transparent 49%,
    var(--background-color-light) 50%
  );
}

.pricing-content {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-section h2 {
  color: var(--text-color-light);
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.pricing-option {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-option:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pricing-option h3 {
  color: var(--light-accent-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.pricing-option p {
  color: var(--text-color-light);
  font-size: 1.2rem;
  line-height: 1.6;
}

.pricing-note {
  max-width: 800px;
  margin: 20px auto 0;
}

.pricing-note p {
  color: var(--text-color-light);
  font-size: 1.2rem;
  font-style: italic;
}

/* CTA Section */
.cta-section {
  background-color: var(--background-color);
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(
    to left bottom,
    var(--background-color-light) 49%,
    transparent 50%
  );
}

.cta-section h2 {
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .pricing-options {
    grid-template-columns: 1fr;
  }

  section {
    padding: 40px 0;
  }

  .services-hero {
    padding: 60px 0 40px;
  }

  .service-header {
    padding: 20px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-header h3 {
    font-size: 1.3rem;
  }

  .service-description {
    padding: 20px;
  }
}
