/*
 * Custom Styles for Marine Consultancy Services
 * Author: Senior Frontend Developer
 * Date: 2026
 */

/* Custom animations and transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Section spacing */
.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 2rem;
  }
}

/* Hero image styling */
.hero-image {
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure hero image doesn't tile */
.hero-image img {
  object-fit: cover;
  object-position: center;
}

/* Card hover effects */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Max width constraint for content */
.max-w-screen-xl {
  max-width: 1280px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-image {
    height: 50vh;
  }
}

/* Additional responsive fixes for very small screens */
@media (max-width: 480px) {
  .hero-image {
    height: 40vh;
  }
  
  .hero-image h1 {
    font-size: 1.8rem !important;
  }
  
  .hero-image p {
    font-size: 1.1rem !important;
  }
}
