* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Added serif font family for headings */
.font-serif {
  font-family: "Playfair Display", Georgia, serif;
}

.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-popup-content {
    flex-direction: column;
    text-align: center;
  }
}

html {
  scroll-behavior: smooth;
}

input.border-red-500,
textarea.border-red-500 {
  border-color: #ef4444 !important;
}

.text-red-500 {
  color: #ef4444;
}

/* Added flip card 3D effect */
.flip-card {
  perspective: 1000px;
  cursor: pointer;
  height: 320px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Service card expandable details animation */
.service-card {
  transition: all 0.3s ease;
}

.service-details {
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.service-details.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

/* Smooth image hover effects */
img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.group:hover img {
  transform: scale(1.05);
}

/* Custom scrollbar styling for luxury feel */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
  background: #a8a29e;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #78716c;
}

/* Elegant button hover effects */
button,
a {
  transition: all 0.3s ease;
}

/* Grayscale to color transition for team photos */
.grayscale {
  filter: grayscale(100%);
}

.grayscale-0 {
  filter: grayscale(0%);
}

/* Smooth animations for all interactive elements */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
  .font-serif {
    letter-spacing: 0.02em;
  }
}

/* Enhanced shadow effects for depth */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Animate bounce for scroll indicator */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}
