/* ==========================================================================
   HOME SERVICES SECTION
   ========================================================================== */

/* Home services section container */
.home-services {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.home-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
}

/* Home services header */
.home-services-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: 0 var(--space-lg);
}

.home-services-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--primary-black);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  position: relative;
  padding-bottom: var(--space-lg);
}

.home-services-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-red);
  border-radius: var(--radius-full);
}

.home-services-subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-xl) auto 0;
  line-height: 1.6;
  padding: 0 var(--space-md);
}

/* Home service card */
.home-service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--glow-red);
  border-color: var(--accent-primary);
}

/* Home service image */
.home-service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
}

.home-service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 37, 0, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.home-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.home-service-card:hover .home-service-image::after {
  opacity: 1;
}

.home-service-card:hover .home-service-image img {
  transform: scale(1.08);
}

/* Home service icon */
.home-service-icon {
  position: absolute;
  top: 150px;
  right: var(--space-lg);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--text-white);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 2px solid var(--accent-primary);
}

.home-service-card:hover .home-service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-red-strong);
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--primary-red) 100%);
}

/* Home service content */
.home-service-content {
  padding: var(--space-2xl);
  padding-top: var(--space-3xl);
}

.home-service-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--primary-red);
  margin:  var(--space-lg) var(--space-sm);
  line-height: 1.3;
  position: relative;
  padding-left: var(--space-lg);
  padding-right: var(--space-sm);
}

.home-service-description {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  padding: var(--space-sm);
}

/* Desktop styles */
@media (min-width: 750px) {
  .home-services {
    padding: var(--space-5xl) 0;
  }

  .home-services-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-xl);
  }

  .home-services-title::after {
    width: 100px;
    height: 4px;
  }

  .home-services-subtitle {
    font-size: var(--text-xl);
    margin-top: var(--space-2xl);
    padding: 0;
  }

  .home-service-image {
    height: 240px;
  }

  .home-service-icon {
    top: 160px;
    right: var(--space-xl);
  }

  .home-service-content {
    padding: var(--space-2xl);
    padding-top: var(--space-3xl);
  }

  .home-service-name {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-lg);
    padding-right: var(--space-md);
  }

  .home-service-description {
    font-size: var(--text-base);
    padding: var(--space-md);
  }
}

/* Mobile adjustments */
@media (max-width: 749px) {
  .home-services-header {
    padding: 0 var(--space-md);
  }
  
  .home-service-card {
    margin-bottom: var(--space-2xl);
  }
  
  .home-service-card:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   WHY CHOOSE US SECTION - CARD GRID LAYOUT
   ========================================================================== */

/* Why choose us section container */
.home-why {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.home-why::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
}

.home-why-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Why choose us header */
.home-why-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.home-why-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--primary-black);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding: 0 var(--space-md);
}

.home-why-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-red);
  border-radius: var(--radius-full);
}

.home-why-subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-2xl) auto 0;
  line-height: 1.6;
  padding: 0 var(--space-md);
}

/* Why grid layout - 2x2 grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg); 
}

/* Why card */
.why-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-red);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--glow-red);
  border-color: var(--accent-primary);
}

.why-card:hover::before {
  transform: scaleX(1);
}

/* Why icon */
.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-2xl);
  color: var(--text-white);
  transition: all var(--transition-base);
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-lg);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  box-shadow: var(--glow-red-strong);
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--primary-red) 100%);
}

/* Why name */
.why-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--primary-red);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  padding: 0 var(--space-sm);
}

/* Why description */
.why-description {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  padding: 0 var(--space-sm);
}

/* Desktop styles */
@media (min-width: 750px) {
  .home-why {
    padding: var(--space-5xl) 0;
  }

  .home-why-content {
    padding: 0 var(--space-xl);
  }

  .home-why-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-xl);
  }

  .home-why-title::after {
    width: 100px;
    height: 4px;
    bottom: -16px;
  }

  .home-why-subtitle {
    font-size: var(--text-xl);
    margin-top: var(--space-2xl);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .why-card {
    padding: var(--space-md);
  }

  .why-icon {
    width: 90px;
    height: 90px;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xl);
  }

  .why-name {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
  }

  .why-description {
    font-size: var(--text-base);
  }
}

/* Large desktop styles */
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
  }
}

/* Mobile adjustments */
@media (max-width: 749px) {
  .why-card {
    margin-bottom: var(--space-xl);
  }
  
  .why-card:last-child {
    margin-bottom: 0;
  }
}


/* ==========================================================================
   SERVICE AREAS SECTION - BACKGROUND IMAGE LAYOUT
   ========================================================================== */

/* Service areas section container with background image */
.home-areas {
  padding: var(--space-4xl) 0;
  background: 
    linear-gradient(90deg, var(--bg-secondary) 0%, transparent 40%, rgba(10, 10, 10, 0.7) 100%),
    url('/imgs/light-installation-shot-tall1.webp') right center/cover;
  position: relative;
  overflow: hidden;
}

.home-areas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  z-index: 1;
}

.home-areas-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Service areas text content with glass morphism effect */
.home-areas-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 600px;
}

.home-areas-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-red);
}

.home-areas-header {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.home-areas-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--primary-black);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  position: relative;
  padding-bottom: var(--space-lg);
}

.home-areas-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--primary-red);
  border-radius: var(--radius-full);
}

.home-areas-subtitle {
  font-family: var(--font-primary);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: var(--space-xl) 0 0 0;
}

/* Service areas list - clean list items */
.home-areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.home-area-item {
  background: transparent;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-align: left;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--primary-red);
  border: none;
  transition: all var(--transition-base);
  box-shadow: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.home-area-item::before {
  content: '•';
  color: var(--accent-primary);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

.home-area-item:hover {
  background: rgba(139, 37, 0, 0.05);
  color: var(--red-dark);
  transform: translateX(4px);
  box-shadow: none;
}

/* Desktop styles */
@media (min-width: 750px) {
  .home-areas {
    padding: var(--space-5xl) 0;
    
  }

  .home-areas-content {
    padding: 0 var(--space-xl);
  }

  .home-areas-text {
    padding: var(--space-4xl);
    max-width: 550px;
    margin: 0;
    background: rgba(255, 255, 255, 0.9);
  }

  .home-areas-title {
    font-size: var(--text-4xl);
  }

  .home-areas-title::after {
    width: 100px;
    height: 4px;
  }

  .home-areas-subtitle {
    font-size: var(--text-xl);
  }

  .home-areas-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* Large desktop styles */
@media (min-width: 1024px) {
  .home-areas {
    background: 
      linear-gradient(90deg, var(--bg-secondary) 0%, transparent 50%, rgba(10, 10, 10, 0.5) 100%),
      url('/imgs/living-space-leds.webp') right center/contain no-repeat;
  }

  .home-areas-text {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
  }

  .home-areas-title {
    font-size: var(--text-4xl);
  }

 
}

/* Mobile adjustments */
@media (max-width: 749px) {
  .home-areas-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .home-areas {
    padding: var(--space-lg) 0;

      
  }
  .home-areas .container {
    padding: 0;
  }
  .home-areas-text {
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.9);
  }

  .home-areas-title {
    font-size: var(--text-2xl);
  }

  .home-areas-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .home-areas-header {
    text-align: center;
  }

  .home-areas-subtitle {
    font-size: var(--text-base);
    text-align: center;
  }

  .home-areas-list {
    grid-template-columns: 1fr;
    text-align: left !important;
  }
  .home-area-text {
    padding: 0;
    text-align: center;
  }
  .home-area-item {
    padding: var(--space-sm) 0;
    justify-content: center;
    text-align: center;
  }
}