/* styles.css */
/* Custom styles that can't be easily converted to Tailwind utility classes */
body {
    font-family: 'Inter', system-ui, sans-serif;
    padding-top: 64px;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.section-spacing {
    margin-top: 64px;
    margin-bottom: 64px;
}

@media (min-width: 1024px) {
    .section-spacing {
        margin-top: 96px;
        margin-bottom: 96px;
    }
}

#headpicture {
    background-image: url('../images/splash/pawel-nolbert-4u2U8EO9OzY-unsplash.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 360px;
    position: relative;
    color: white;
}

#headpicture::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../images/splash/pawel-nolbert-4u2U8EO9OzY-unsplash.jpg);
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    transition: transform 0.3s ease-out;
    z-index: -1;
}

#headpicture:hover::before {
    transform: translateZ(-10px) scale(1.05);
}

.hero-overlay {
    background: rgba(192, 48, 53, 0.8) 100%;
    backdrop-filter: blur(5px);
    padding: 32px;
    border-radius: 16px;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 80px;
}

@media (min-width: 768px) {
    .hero-overlay {
        margin-top: 120px;
    }
}

.content-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 32px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-img {
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");
    filter: gray;
    -webkit-filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-img:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}

html {
    scroll-behavior: smooth;
}

.team-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Add the scale utility since it's not in default Tailwind */
.hover\:scale-102:hover {
    transform: scale(1.02);
}

/* Add additional spacing to the team section */
#who .team-card p {
    margin-bottom: 0;
}

/* Add these animations to your styles.css file */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { 
    opacity: 0;
    transform: translateX(-50px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from { 
    opacity: 0;
    transform: translateX(50px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Initial state - hidden */
.initially-hidden {
  opacity: 0;
}

/* Animation delay utilities */
.delay-100 {
  animation-delay: 100ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-500 {
  animation-delay: 500ms;
}

/* Logo carousel styles */
.client-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: all 0.4s ease;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-track {
    animation-duration: 20s;
  }
  
  .client-logo {
    height: 60px;
  }
}

/* Add these styles to align bullet points properly */
.team-card ul li {
  display: flex;
  align-items: baseline;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.team-card ul li::before {
  content: "•";
  margin-right: 0.5rem;
  flex-shrink: 0;
}
