/* Custom CSS - Supplements compiled Tailwind CSS with arbitrary values and overrides */

/* ===== ARBITRARY COLOR CLASSES ===== */
.text-\[\#17292C\] { color: #17292C; }
.bg-\[\#17292C\] { background-color: #17292C; }
.hover\:bg-\[\#17292C\]:hover { background-color: #17292C; }
.hover\:bg-\[\#5E6C5A\]:hover { background-color: #5E6C5A; }
.hover\:border-\[\#5E6C5A\]:hover { border-color: #5E6C5A; }
.hover\:text-\[\#17292C\]:hover { color: #17292C; }
.hover\:text-white:hover { color: #fff; }
.group-hover\:text-\[\#17292C\]:is(:where(.group):hover *) { color: #17292C; }
.group-hover\:text-white:is(:where(.group):hover *) { color: #fff; }
.border-\[\#17292C\] { border-color: #17292C; }

.text-\[\#B0B0B0\] { color: #B0B0B0; }
.bg-\[\#B0B0B0\] { background-color: #B0B0B0; }

.bg-\[\#EAEAEA\] { background-color: #EAEAEA; }
.ring-\[\#EAEAEA\] { --tw-ring-color: #EAEAEA; }
.bg-\[\#E8F5E9\] { background-color: #E8F5E9; }

.text-\[\#5e6c5a\] { color: #5E6C5A; }
.text-\[\#5E6C5A\] { color: #5E6C5A; }
.bg-\[\#5E6C5A\] { background-color: #5E6C5A; }
.bg-\[\#5e6c5a1a\] { background-color: rgba(94, 108, 90, 0.1); }
.bg-\[\#000\] { background-color: #000; }

/* ===== ARBITRARY SIZE CLASSES ===== */
.text-\[7rem\] { font-size: 7rem; }
.text-\[10px\] { font-size: 10px; }

.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.pl-\[0px\] { padding-left: 0px; }
.pr-\[0px\] { padding-right: 0px; }

.h-\[50vh\] { height: 50vh; }
.h-\[60vh\] { height: 60vh; }
.h-\[70vh\] { height: 70vh; }
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.w-\[1px\] { width: 1px; }

.min-h-\[280px\] { min-height: 280px; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[120px\] { min-height: 120px; }

.max-w-\[80\%\] { max-width: 80%; }
.max-w-\[90vw\] { max-width: 90vw; }
.max-h-\[85vh\] { max-height: 85vh; }

.z-\[100\] { z-index: 100; }

.-bottom-\[3rem\] { bottom: -3rem; }

.leading-\[1\.1\] { line-height: 1.1; }

/* ===== RESPONSIVE ARBITRARY VALUES ===== */
@media (min-width: 768px) {
  .md\:text-\[7rem\] { font-size: 7rem; }
  .md\:h-\[60vh\] { height: 60vh; }
  .md\:h-\[70vh\] { height: 70vh; }
}

@media (min-width: 1024px) {
  .lg\:max-w-\[80\%\] { max-width: 80%; }
}

/* ===== FONT FAMILIES ===== */
.font-geist { font-family: 'Geist Sans', 'Geist', system-ui, sans-serif; }
.font-ibm { font-family: 'Newsreader', serif; }
.font-serif { font-family: 'Instrument Serif', 'Playfair Display', serif; }

/* ===== CUSTOM ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Elements waiting for scroll animation */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: blur(5px);
}

[data-animate="left"] {
  transform: translateX(-20px);
  filter: none;
}

[data-animate="right"] {
  transform: translateX(20px);
  filter: none;
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0px);
}

/* Staggered animation delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }
[data-delay="7"] { transition-delay: 0.7s; }
[data-delay="8"] { transition-delay: 0.8s; }

/* Hero-specific animations (play immediately, not on scroll) */
[data-hero-animate] {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

[data-hero-animate="1"] { animation-delay: 0.1s; }
[data-hero-animate="2"] { animation-delay: 0.2s; }
[data-hero-animate="3"] { animation-delay: 0.3s; }

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-height: 85vh;
  max-width: 90vw;
  width: auto;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ===== FORM STYLES ===== */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #17292C;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #5E6C5A;
  box-shadow: 0 0 0 1px #5E6C5A;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #d4d4d8;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #71717a;
  margin-bottom: 0.5rem;
}

/* Radio pill buttons */
.radio-pill {
  cursor: pointer;
  border-radius: 9999px;
  border: 1px solid #e4e4e7;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
  transition: all 0.2s;
  display: inline-block;
}

.radio-pill:hover {
  background-color: #f4f4f5;
}

.radio-pill.active {
  border-color: #5E6C5A;
  background-color: #5E6C5A;
  color: white;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
  background: white;
  border-radius: 1rem;
  width: 100%;
  min-height: 400px;
}

.form-success.active {
  display: flex;
}

/* ===== NO SCROLLBAR UTILITY ===== */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== SCROLL SMOOTH ===== */
html { scroll-behavior: smooth; }

/* ===== SELECTION ===== */
::selection {
  background-color: #fde68a;
  color: #78350f;
}
