/* =========================================
   HOME PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  /* Parallax effect */
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  z-index: 10;
  align-items: center;
}

.hero-text-area {
  padding-right: 40px;
}

.hero-visual {
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(80%) contrast(1.2);
  transition: var(--transition-smooth);
}

.hero-visual:hover img {
  opacity: 1;
  filter: grayscale(0%) contrast(1.1);
}

.hero-heading {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-subheading {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--text-body);
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  animation: bounce 2s infinite;
  opacity: 1;
  transition: opacity 0.3s;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}



/* Services Preview */
.services-preview {
  background-color: var(--bg-primary); /* Changed to dark */
  color: var(--text-dark);
  padding: 60px 0 100px 0;
}

.section-header {
  text-align: left; /* Changed from center */
  margin-bottom: 80px;
}

.section-subtitle {
  color: var(--accent-orange);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  color: #fff; /* Changed to white */
  font-size: 48px; /* Increased */
  font-weight: 800;
  letter-spacing: -0.03em;
}

.decor-line {
  width: 80px;
  height: 2px;
  background-color: var(--accent-orange);
  margin: 24px 0 0; /* Left aligned */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px; /* Increased gap */
}

.service-card {
  background: transparent; /* Removed white bg */
  border: none; /* Removed border */
  border-radius: 0;
  overflow: visible;
  height: auto;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: none; /* Removed shadow */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(255,255,255,0.05); /* Minimal separator */
  padding-left: 30px;
}

.service-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent-orange);
}

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

.service-img {
  height: 240px; /* Fixed height instead of % */
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: grayscale(100%);
}

.service-card:hover .service-img {
  transform: scale(1.02);
  filter: grayscale(0%);
}

.service-content {
  flex: 1;
  padding: 30px 0 0 0; /* Removed side padding */
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-icon {
  color: var(--accent-orange);
  width: 32px; /* Smaller */
  height: 32px;
  position: static; /* Removed absolute positioning */
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 16px;
}

.service-content h3 {
  color: #fff;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-muted);
  font-size: 16px;
  flex-grow: 1;
}

.service-link {
  color: var(--accent-orange);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.service-link:hover {
  color: var(--accent-amber);
  transform: translateX(5px);
}

/* Featured Projects */
.featured-projects {
  background-color: var(--bg-primary);
  padding: 120px 0;
}

.projects-grid-asym {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 5%;
}

.project-hero-card {
  position: relative;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  cursor: none;
}

.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.project-hero-card:hover .project-bg {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(15, 20, 25, 0.95), transparent);
  color: #fff;
}

.badge {
  background: var(--accent-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  display: inline-block;
}

.project-overlay h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.project-meta {
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.project-meta i {
  width: 16px;
  height: 16px;
}

.project-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-orange);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-list h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.mini-project {
  position: relative;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.mini-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.mini-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: background 0.3s;
}

.mini-project:hover .mini-img {
  transform: scale(1.05);
}

.mini-project:hover .mini-overlay {
  background: rgba(234, 88, 12, 0.8);
}

.mini-overlay h5 {
  font-size: 18px;
  margin: 0;
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-accent);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 100%;
    text-align: center;
  }

  .hero-text-area {
    padding-right: 0;
  }

  .hero-actions {
    justify-content: center;
  }


  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .projects-grid-asym {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 28px;
  }

  .hero-cta,
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    align-items: center;
  }

  .hero-cta .btn,
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary,
  .hero-actions .btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin: 0;
  }

  .section-title {
    font-size: 28px;
    word-wrap: break-word;
  }

  .project-list {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
    gap: 16px;
  }

  .mini-project {
    min-width: 100%;
    height: 110px;
  }

  .mini-overlay h5 {
    font-size: 16px;
  }

  .project-list .btn-secondary {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px !important;
  }
}