@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Helvetica', 'Inter', sans-serif;
    color: #111111;
    background-color: #F9F9F9; /* Offwhite */
  }

  h1, h2, h3, h4, h5, h6, .font-ivy {
    font-family: 'Ivy Journal', 'Playfair Display', serif;
    letter-spacing: -0.02em;
  }
}

@layer components {
  .btn-primary {
    @apply inline-block border border-[#111111] text-white bg-[#111111] px-10 py-4 uppercase tracking-[0.2em] text-xs font-medium hover:bg-[#800020] hover:border-[#800020] transition-all duration-500;
  }
  
  .btn-secondary {
    @apply inline-block border border-white text-white bg-transparent px-10 py-4 uppercase tracking-[0.2em] text-xs font-medium hover:bg-[#800020] hover:border-[#800020] transition-all duration-500;
  }

  .nav-link {
    @apply text-[10px] uppercase tracking-[0.2em] font-medium transition-colors duration-500;
  }
}

/* Custom Styles */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.3) 100%);
}

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 50;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Form Styles */
.input-premium {
  @apply w-full bg-white border border-gray-200 py-4 px-4 text-sm focus:outline-none focus:border-[#800020] transition-colors duration-500 placeholder-gray-400 text-[#111111];
}

/* Header scroll effect */
.header-scrolled {
  background-color: rgba(249, 249, 249, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05) !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  transition: all 0.5s ease-in-out;
}

.header-scrolled .nav-link {
  color: #111111 !important;
}

.header-scrolled .nav-link:hover {
  color: #800020 !important;
}

.header-scrolled .lang-switcher {
  border-color: #111111 !important;
  color: #111111 !important;
}

.header-scrolled .lang-switcher:hover {
  background-color: #111111 !important;
  color: white !important;
}

.header-scrolled #mobileMenuBtn {
  color: #111111 !important;
}

.header-scrolled #logo-white,
.header-scrolled #logo-white-mobile {
  opacity: 0;
}

.header-scrolled #logo-black,
.header-scrolled #logo-black-mobile {
  opacity: 1;
}

/* Infinite Scroll Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.animate-marquee-reverse {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite reverse;
}

.marquee-container:hover .animate-marquee,
.marquee-container:hover .animate-marquee-reverse {
  animation-play-state: paused;
}
