/* Field Section Styles */
.field-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(
    135deg,
    var(--background-color) 0%,
    var(--surface-color) 100%
  );
  position: relative;
  overflow: hidden;
}

.field-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,10 25,20 15,25 5,20 5,10" fill="%23ff6b9d" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
  opacity: 0.2;
  z-index: 1;
}

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

.field-section h2 {
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xl);
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-out;
}

.field-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  align-items: center;
  animation: fadeIn 1s ease-out 0.3s both;
}

.field-text {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.field-text h3 {
  color: var(--secondary-color);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--primary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.field-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  animation: slideInUp 1s ease-out 0.6s both;
}

.field-features {
  list-style: none;
  padding: 0;
  margin: var(--spacing-lg) 0;
  display: grid;
  gap: var(--spacing-sm);
}

.field-features li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--secondary-color);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  animation: slideInUp 1s ease-out 0.8s both;
}

.field-features li:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.field-image {
  position: relative;
  max-width: 800px;
  width: 100%;
  animation: slideInUp 1s ease-out 0.9s both;
}

.field-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  border: 3px solid transparent;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  background-clip: padding-box;
}

.field-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.field-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: var(--border-radius-lg);
  z-index: -1;
  opacity: 0.3;
  animation: fieldGlow 4s ease-in-out infinite;
}

@keyframes fieldGlow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

/* Field description highlights */
.field-text strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.field-text em {
  color: var(--primary-color);
  font-style: italic;
}

/* Responsive design */
@media (max-width: 767px) {
  .field-section {
    padding: var(--spacing-xl) 0;
  }

  .field-content {
    gap: var(--spacing-lg);
  }

  .field-text p {
    font-size: 1rem;
    padding: 0 var(--spacing-sm);
  }

  .field-image {
    margin: 0 var(--spacing-sm);
  }
}

@media (min-width: 768px) {
  .field-content {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xxl);
  }

  .field-text {
    flex: 1;
    text-align: left;
    max-width: none;
  }

  .field-image {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .field-content {
    gap: var(--spacing-xxl);
  }
}

/* Hover effects */
.field-image:hover::before {
  animation: fieldGlowHover 2s ease-in-out infinite;
}

@keyframes fieldGlowHover {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1.02);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

/* Additional animations */
.field-section .bounce {
  animation: bounce 2s infinite 1.5s;
}

.field-section .pulse {
  animation: pulse 3s infinite 2s;
}

/* Text highlight animation */
.field-text strong {
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  }
}
