/* Service Menu Layout - Multi-Column Design */

/* Service Menu Container */
.service-menu-section {
  background: #ffffff;
  padding: 4rem 0 2rem;
  border-top: 1px solid #e5e7eb;
}

.service-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main Grid Layout */
.service-menu-grid {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Service Cards Section */
.service-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

.service-card-image {
  width: 100%;
  height: 120px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-card-icon {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.service-card-illustration {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  text-align: center;
}

/* Service Lists */
.service-list-column {
  display: flex;
  flex-direction: column;
}

.service-list-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3b82f6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-item:hover {
  background: #f8fafc;
  padding-left: 0.5rem;
}

.service-item.active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  padding-left: 0.5rem;
}

.service-item.active::after {
  content: '→';
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.1rem;
}

.service-item-text {
  font-size: 0.95rem;
  color: #374151;
  transition: color 0.3s ease;
}

.service-item.active .service-item-text {
  color: #1d4ed8;
}

/* Sub-categories */
.sub-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-category-item {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.3s ease;
  cursor: pointer;
}

.sub-category-item:hover {
  color: #3b82f6;
}

/* Engagement Models */
.engagement-models-column {
  display: flex;
  flex-direction: column;
}

.engagement-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.engagement-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.engagement-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.engagement-description {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
}

/* What We Do Section */
.what-we-do-column {
  display: flex;
  flex-direction: column;
}

.what-we-do-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3b82f6;
}

.what-we-do-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.what-we-do-item:hover {
  background: #f8fafc;
  padding-left: 0.5rem;
}

.what-we-do-item:last-child {
  border-bottom: none;
}

.what-we-do-content {
  flex: 1;
}

.what-we-do-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.what-we-do-item-description {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
}

.what-we-do-arrow {
  color: #3b82f6;
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 1rem;
}

/* Newsletter Footer */
.newsletter-footer {
  background: #1f2937;
  padding: 2rem 0;
  margin-top: 3rem;
}

.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #4b5563;
  padding: 0.5rem 0;
  color: white;
  font-size: 0.9rem;
  min-width: 200px;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-bottom-color: #3b82f6;
}

.newsletter-input::placeholder {
  color: #9ca3af;
}

.newsletter-button {
  background: transparent;
  color: #3b82f6;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.newsletter-button:hover {
  color: #60a5fa;
}

.newsletter-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.newsletter-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.newsletter-link:hover {
  color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .service-menu-grid {
    grid-template-columns: 250px 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .service-cards-column {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .service-card {
    flex: 1;
    margin: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .service-menu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-cards-column {
    flex-direction: column;
  }
  
  .service-card {
    margin: 0;
  }
  
  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  
  .newsletter-input {
    min-width: auto;
    width: 100%;
  }
  
  .newsletter-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-menu-section {
    padding: 2rem 0 1rem;
  }
  
  .service-menu-container {
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-card-image {
    height: 100px;
  }
  
  .newsletter-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animation Effects */
.service-item,
.what-we-do-item,
.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover States */
.service-item:hover .service-item-text,
.sub-category-item:hover {
  color: #3b82f6;
}

.what-we-do-item:hover .what-we-do-item-title {
  color: #3b82f6;
}

/* Active States */
.service-item.active {
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
}

/* Focus States */
.newsletter-input:focus,
.newsletter-button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading States */
.service-item.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .service-item,
  .what-we-do-item,
  .service-card {
    transition: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card {
    border: 2px solid #000;
  }
  
  .service-item.active {
    background: #000;
    color: #fff;
  }
  
  .newsletter-input {
    border-bottom: 2px solid #fff;
  }
}

/* Custom Illustrations */
.illustration-people {
  position: relative;
  width: 100%;
  height: 100%;
}

.illustration-person {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #3b82f6;
  border-radius: 50%;
}

.illustration-person-1 {
  top: 20px;
  left: 20px;
}

.illustration-person-2 {
  top: 20px;
  right: 20px;
}

.illustration-desk {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #6b7280;
  border-radius: 4px;
}

.illustration-laptop {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 25px;
  background: #1f2937;
  border-radius: 2px;
}

.illustration-code {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: #3b82f6;
  font-weight: bold;
}

.illustration-controller {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 20px;
  height: 15px;
  background: #ef4444;
  border-radius: 8px;
}

.illustration-cabinet {
  position: absolute;
  bottom: 20px;
  left: 15px;
  width: 15px;
  height: 40px;
  background: #6b7280;
  border-radius: 2px;
}

