/* 
 * Placeholder styles for testing the landing page
 * These will help style the page appropriately until real images are added
 */

/* Project placeholder images with gradients */
.project-image:empty,
.project-image img[src=""],
.project-image img:not([src]) {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image:empty::after,
.project-image img[src=""]::after,
.project-image img:not([src])::after {
  content: attr(alt, "Project Image");
  color: white;
  font-weight: 500;
  opacity: 0.8;
}

/* Ensure project card images have consistent height */
.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Testimonial avatar placeholder */
.testimonial-avatar:empty,
.testimonial-avatar img[src=""],
.testimonial-avatar img:not([src]) {
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-avatar:empty::after,
.testimonial-avatar img[src=""]::after,
.testimonial-avatar img:not([src])::after {
  content: "\f007";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  font-size: 20px;
}

/* Hero section adjustments for the new content */
.hero {
  background-color: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.05;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.05;
  z-index: 1;
}

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

/* Service card hover effects */
.service-card:hover {
  border-bottom: 3px solid var(--color-primary);
}

/* CTA gradient background fallback */
.cta-section {
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  opacity: 0.1;
  z-index: 1;
}

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

/* Button styles for light backgrounds */
.btn-light {
  background-color: white;
  color: var(--color-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE LANDING PAGE STYLES ===== */
@media (max-width: 1200px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-content {
    padding-right: 0;
  }

  .category-section .container,
  .featured-section .container {
    max-width: 960px;
  }

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

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

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

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .hero-image {
    margin-top: 30px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }

  .category-section .container,
  .featured-section .container {
    max-width: 720px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .call-to-action {
    padding: 40px 20px;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .category-section .container,
  .featured-section .container {
    max-width: 540px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .call-to-action-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

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

  .testimonial-card {
    padding: 20px;
  }

  .call-to-action {
    padding: 30px 15px;
  }

  .cta-title {
    font-size: 1.25rem;
  }
}
