/* Complete redesign with dark theme, coral accents, and modern effects */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000000;
  color: #ffffff;
}

/* Coral color definition */
:root {
  --coral-500: #ff6b4a;
  --coral-600: #e85a3a;
  --coral-400: #ff8066;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom focus styles */
input:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* Custom scrollbar - Dark theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: var(--coral-500);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--coral-600);
}

/* Coral color utilities for Tailwind */
.bg-coral-500 {
  background-color: var(--coral-500);
}

.bg-coral-600 {
  background-color: var(--coral-600);
}

.text-coral-500 {
  color: var(--coral-500);
}

.text-coral-400 {
  color: var(--coral-400);
}

.hover\:bg-coral-600:hover {
  background-color: var(--coral-600);
}

.hover\:text-coral-500:hover {
  color: var(--coral-500);
}

.hover\:text-coral-400:hover {
  color: var(--coral-400);
}

.hover\:border-coral-500:hover {
  border-color: var(--coral-500);
}

.focus\:border-coral-500:focus {
  border-color: var(--coral-500);
}

.focus\:ring-coral-500:focus {
  --tw-ring-color: var(--coral-500);
}

.border-coral-500 {
  border-color: var(--coral-500);
}

.bg-coral-500\/10 {
  background-color: rgba(255, 107, 74, 0.1);
}

/* Glass morphism effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 74, 0.2);
}

/* Flip card animation */
.flip-card {
  perspective: 1000px;
}

.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;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Expandable card */
.expandable-card .expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable-card.expanded .expandable-content {
  max-height: 1000px;
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Image hover effect */
img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
  transform: scale(1.05);
}

/* Button ripple effect */
button,
a {
  position: relative;
  overflow: hidden;
}

/* Form input animations */
input,
textarea {
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.2);
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

/* Cookie popup animation */
#cookiePopup {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Custom shadow for cards - Dark theme */
.card-shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-shadow:hover {
  box-shadow: 0 20px 60px rgba(255, 107, 74, 0.3);
}

/* Text selection color - Coral */
::selection {
  background-color: var(--coral-500);
  color: #ffffff;
}

::-moz-selection {
  background-color: var(--coral-500);
  color: #ffffff;
}

/* Pulse animation for CTAs */
@keyframes pulse-coral {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 74, 0);
  }
}

.pulse-coral {
  animation: pulse-coral 2s infinite;
}

/* Fade in up animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scale on hover */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Transition utilities */
.transition-transform {
  transition-property: transform;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Pattern overlay */
.pattern-overlay {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.02) 20px
  );
}

/* Glow effect */
.glow-coral {
  box-shadow: 0 0 20px rgba(255, 107, 74, 0.5);
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Loading animation for images - Dark theme */
img {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

img[src] {
  animation: none;
  background: none;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea,
select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup,
  #burgerBtn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* 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 */
*:focus-visible {
  outline: 2px solid var(--coral-500);
  outline-offset: 2px;
}
