/* ============================================
   LANDING PAGE STYLES
   Purpose: Styles specific to landing.ejs
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/IMG/BACKGROUNDS/hero1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero {
    min-height: 700px;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 800px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(30, 58, 95, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: var(--page-padding);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 40px;
  }
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 56px;
    margin-bottom: 24px;
  }
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 24px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

.hero-tagline {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .hero-tagline {
    font-size: 20px;
    margin-bottom: 48px;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    gap: 20px;
  }
}

.hero-cta .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .hero-cta .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: var(--primary-blue);
  padding: 32px 0;
}

@media (min-width: 768px) {
  .stats-bar {
    padding: 48px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .stat-item {
    gap: 20px;
  }
}

.stat-icon {
  font-size: 40px;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-icon {
    font-size: 48px;
  }
}

.stat-content {
  text-align: left;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-on-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 32px;
    margin-bottom: 6px;
  }
}

.stat-label {
  font-size: var(--font-small);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: var(--font-body);
  }
}

/* ============================================
   SECTION STYLES (REUSABLE)
   ============================================ */

.featured-services,
.featured-projects,
.why-choose-us,
.service-areas,
.testimonials {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .featured-services,
  .featured-projects,
  .why-choose-us,
  .service-areas,
  .testimonials {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .featured-services,
  .featured-projects,
  .why-choose-us,
  .service-areas,
  .testimonials {
    padding: 100px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 56px;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 64px;
  }
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 42px;
    margin-bottom: 20px;
  }
}

.section-subtitle {
  font-size: var(--font-body);
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 18px;
  }
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .section-cta {
    margin-top: 56px;
  }
}

/* ============================================
   FEATURED SERVICES
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */

.featured-projects {
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }
}

.benefit-card {
  text-align: center;
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-medium);
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .benefit-card {
    padding: 32px 24px;
  }
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

@media (min-width: 768px) {
  .benefit-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .benefit-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
}

.benefit-description {
  font-size: var(--font-small);
  color: var(--text-medium);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .benefit-description {
    font-size: var(--font-body);
  }
}

/* ============================================
   SERVICE AREAS
   ============================================ */

.service-areas {
  background: var(--bg-secondary);
}

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

@media (min-width: 768px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--pure-white);
  border-radius: var(--radius-medium);
  text-align: center;
}

@media (min-width: 768px) {
  .area-item {
    gap: 10px;
    padding: 24px 16px;
  }
}

.area-icon {
  font-size: 28px;
  line-height: 1;
}

@media (min-width: 768px) {
  .area-icon {
    font-size: 32px;
  }
}

.area-name {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .area-name {
    font-size: var(--font-body);
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

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

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.testimonial-card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  min-width: 200px;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 32px;
  }
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  font-size: 20px;
  color: var(--accent-orange);
  margin-bottom: 16px;
  line-height: 1;
}

@media (min-width: 768px) {
  .testimonial-stars {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

.testimonial-text {
  font-size: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonial-text {
    margin-bottom: 24px;
  }
}

.testimonial-author {
  border-top: 2px solid var(--border-light);
  padding-top: 16px;
}

@media (min-width: 768px) {
  .testimonial-author {
    padding-top: 20px;
  }
}

.author-name {
  font-size: var(--font-body);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .author-name {
    margin-bottom: 6px;
  }
}

.author-location {
  font-size: var(--font-small);
  color: var(--text-medium);
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  padding: 60px 0;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 80px 0;
  }
}

@media (min-width: 1024px) {
  .final-cta {
    padding: 100px 0;
  }
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 42px;
    margin-bottom: 24px;
  }
}

.cta-subtitle {
  font-size: var(--font-body);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 32px;
  }
}

.cta-buttons .btn {
  width: 100%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .cta-buttons .btn {
    width: auto;
    min-width: 220px;
  }
}

.cta-note {
  font-size: var(--font-small);
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

@media (min-width: 768px) {
  .cta-note {
    font-size: var(--font-body);
  }
}


/* ============================================
   TESTIMONIALS - PLACEHOLDER CARDS
   ============================================ */

.testimonial-placeholder {
  background: linear-gradient(135deg, var(--bg-cream) 0%, #f5f0ea 100%);
  border: 2px dashed var(--light-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .testimonial-placeholder {
    padding: 40px 32px;
  }
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .placeholder-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }
}

.placeholder-text {
  color: var(--text-medium);
  font-size: var(--font-body);
  margin-bottom: 20px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .placeholder-text {
    font-size: 18px;
    margin-bottom: 24px;
  }
}

.testimonial-note {
  text-align: center;
  color: var(--text-medium);
  font-size: var(--font-small);
  margin-top: 32px;
}

@media (min-width: 768px) {
  .testimonial-note {
    font-size: var(--font-body);
    margin-top: 40px;
  }
}

.testimonial-note a {
  color: var(--primary-purple);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.testimonial-note a:hover {
  color: var(--dark-purple);
}

/* ============================================
   REVIEW SOURCE BADGES
   ============================================ */

.review-source {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .review-source {
    margin-bottom: 16px;
  }
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

@media (min-width: 768px) {
  .source-badge {
    padding: 8px 14px;
    font-size: 13px;
  }
}

.source-direct {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
  border: 1px solid #90caf9;
}

.source-google {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  border: 1px solid #ffb74d;
}

.source-facebook {
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  color: #283593;
  border: 1px solid #9fa8da;
}

.source-website {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #6a1b9a;
  border: 1px solid #ce93d8;
}

.source-social {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
  color: #c2185b;
  border: 1px solid #f48fb1;
}

/* ============================================
   PLACEHOLDER PREVIEW CARDS
   ============================================ */

.testimonial-placeholder-preview {
  position: relative;
  overflow: hidden;
}

.testimonial-placeholder-preview .testimonial-stars,
.testimonial-placeholder-preview .testimonial-text,
.testimonial-placeholder-preview .testimonial-author {
  opacity: 0.3;
  filter: blur(1px);
}

.placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(252, 251, 249, 0.95) 0%, rgba(245, 240, 234, 0.95) 100%);
  border: 2px dashed var(--light-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-medium);
}

@media (min-width: 768px) {
  .placeholder-overlay {
    padding: 32px;
  }
}

.placeholder-overlay .placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
  line-height: 1;
}

@media (min-width: 768px) {
  .placeholder-overlay .placeholder-icon {
    font-size: 56px;
    margin-bottom: 16px;
  }
}

.placeholder-overlay .placeholder-text {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 600;
}

@media (min-width: 768px) {
  .placeholder-overlay .placeholder-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

.placeholder-overlay .btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .placeholder-overlay .btn-small {
    padding: 12px 24px;
    font-size: 15px;
  }
}
/* ============================================
   SUBMIT REVIEW CARD
   ============================================ */

.testimonial-submit {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 2px solid #66bb6a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .testimonial-submit {
    padding: 40px 32px;
  }
}

.testimonial-submit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #4caf50;
}

.submit-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

@media (min-width: 768px) {
  .submit-icon {
    font-size: 56px;
    margin-bottom: 20px;
  }
}

.submit-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .submit-title {
    font-size: 22px;
    margin-bottom: 14px;
  }
}

.submit-text {
  font-size: var(--font-body);
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .submit-text {
    font-size: 17px;
    margin-bottom: 24px;
  }
}

.submit-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .submit-buttons {
    gap: 14px;
    justify-content: center;
  }
}

.submit-buttons .btn-small {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .submit-buttons .btn-small {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ============================================
   LINK BUTTON (FOR INLINE CTA)
   ============================================ */

.link-button {
  background: none;
  border: none;
  color: var(--primary-purple);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  transition: color var(--transition-fast);
}

.link-button:hover {
  color: var(--dark-purple);
}