/* Complete redesign with pastel colors and organic shapes */

/* Custom Pastel Color Palette */
:root {
  --cream: #f5f1e8;
  --mint: #c8d5b9;
  --yellow: #f4d35e;
  --coral: #e07a5f;
  --pink-light: #f4e4e4;
  --blue-gray: #8b9daf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: var(--cream);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Pastel Background Colors */
.bg-cream {
  background-color: var(--cream);
}

.bg-mint {
  background-color: var(--mint);
}

.bg-yellow {
  background-color: var(--yellow);
}

.bg-coral {
  background-color: var(--coral);
}

.bg-pink-light {
  background-color: var(--pink-light);
}

.bg-blue-gray {
  background-color: var(--blue-gray);
}

/* Text Colors */
.text-coral {
  color: var(--coral);
}

.text-yellow {
  color: var(--yellow);
}

/* Organic Blob Shapes */
.blob-shape {
  position: relative;
}

.blob-shape img,
.rounded-blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blob-shape-small {
  position: relative;
  max-width: 400px;
}

.blob-shape-small img {
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Decorative Doodles */
.doodle-heart,
.doodle-arrow,
.doodle-sparkle,
.doodle-crown,
.doodle-cup,
.doodle-x {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Flip Cards */
.flip-card {
  perspective: 1000px;
  height: 280px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Expandable Case Cards */
.case-card {
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-card-full {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

/* Team Cards */
.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-card-image img {
  transition: all 0.3s ease;
}

.team-card:hover .team-card-image img {
  filter: brightness(1.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--coral);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

/* Form input focus states */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.1);
}

/* Button hover effects */
button,
a {
  transition: all 0.3s ease;
}

/* Image loading */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Cookie popup animation */
#cookiePopup {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease;
}

/* Text selection */
::selection {
  background-color: var(--yellow);
  color: #000;
}

::-moz-selection {
  background-color: var(--yellow);
  color: #000;
}

/* Responsive typography */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .blob-shape img,
  .rounded-blob {
    border-radius: 20% 80% 60% 40% / 40% 30% 70% 60%;
  }
}

/* Loading state for images */
img[src*="placeholder.svg"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup,
  #burgerBtn {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Additional spacing utilities */
.leading-relaxed {
  line-height: 1.75;
}

/* Rounded corners for modern look */
.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}
