/* Ankabit Farm — 100% Pure Vanilla CSS Stylesheet */

/* CSS Reset & Design Tokens */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: #F5F7FA;
  color: #0F172A;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Font Utilities */
.font-serif-heading { font-family: var(--font-serif); }
.font-heading { font-family: var(--font-sans); }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Layout & Containers */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-12 { padding: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* Display & Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Space Utilities */
.space-x-1\.5 > * + * { margin-left: 0.375rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-10 > * + * { margin-left: 2.5rem; }
.space-x-12 > * + * { margin-left: 3rem; }

.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* Grid Layouts */
.grid { display: grid; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:inline-block { display: inline-block; }
  .sm\:inline { display: inline; }
  .sm\:whitespace-nowrap { white-space: nowrap; }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* Colors */
.bg-\[\#F5F7FA\] { background-color: #F5F7FA; }
.bg-\[\#080E1E\] { background-color: #080E1E; }
.bg-\[\#050914\] { background-color: #050914; }
.bg-white { background-color: #FFFFFF; }
.bg-slate-50 { background-color: #F8FAFC; }
.bg-slate-200 { background-color: #E2E8F0; }
.bg-slate-900 { background-color: #0F172A; }
.bg-blue-50 { background-color: #EFF6FF; }
.bg-blue-500 { background-color: #3B82F6; }
.bg-blue-600 { background-color: #2563EB; }
.bg-blue-700 { background-color: #1D4ED8; }
.bg-emerald-600 { background-color: #059669; }
.bg-red-100 { background-color: #FEE2E2; }
.bg-emerald-100 { background-color: #D1FAE5; }

.text-slate-900 { color: #0F172A; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748B; }
.text-slate-400 { color: #94A3B8; }
.text-white { color: #FFFFFF; }
.text-blue-100 { color: #DBEAFE; }
.text-blue-400 { color: #60A5FA; }
.text-blue-600 { color: #2563EB; }
.text-blue-700 { color: #1D4ED8; }
.text-red-800 { color: #991B1B; }
.text-emerald-800 { color: #065F46; }

.hover\:text-slate-900:hover { color: #0F172A; }
.hover\:text-slate-300:hover { color: #CBD5E1; }
.hover\:text-blue-400:hover { color: #60A5FA; }
.hover\:text-blue-600:hover { color: #2563EB; }
.hover\:bg-slate-100:hover { background-color: #F1F5F9; }
.hover\:bg-slate-200:hover { background-color: #E2E8F0; }
.hover\:bg-blue-700:hover { background-color: #1D4ED8; }

/* Typography Sizes & Weights */
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

@media (min-width: 640px) {
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.underline { text-decoration: underline; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.08\] { line-height: 1.08; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Borders & Dimensions */
.border { border-style: solid; border-width: 1px; }
.border-t { border-top-style: solid; border-top-width: 1px; }
.border-b { border-bottom-style: solid; border-bottom-width: 1px; }
.border-y { border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; }

.border-slate-200 { border-color: #E2E8F0; }
.border-slate-300 { border-color: #CBD5E1; }
.border-slate-800 { border-color: #1E293B; }
.border-blue-200 { border-color: #BFDBFE; }
.border-blue-500\/40 { border-color: rgba(59, 130, 246, 0.4); }
.border-red-500 { border-color: #EF4444; }
.border-emerald-500 { border-color: #10B981; }

.rounded-full { border-radius: 9999px; }
.rounded-card-lg { border-radius: 0px; }

.w-1\.5 { width: 0.375rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }

.h-0\.5 { height: 0.125rem; }
.h-1\.5 { height: 0.375rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }

.min-h-\[420px\] { min-height: 420px; }
.min-h-\[580px\] { min-height: 580px; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bottom-6 { bottom: 1.5rem; }
.left-6 { left: 1.5rem; }
.right-6 { right: 1.5rem; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.opacity-95 { opacity: 0.95; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 200ms; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }

/* Custom Design Tokens & Components */
.hero-bg-section {
  background: linear-gradient(135deg, rgba(8, 14, 30, 0.45) 0%, rgba(15, 23, 42, 0.35) 100%),
              url('./images/hero-egg-bg.webp') center/cover no-repeat;
}

.hero-overlay-lighter {
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.50) 0%, rgba(8, 14, 30, 0.25) 60%, rgba(8, 14, 30, 0.65) 100%);
}

.btn-pill-blue {
  background-color: #2563EB;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-pill-blue:hover { background-color: #1D4ED8; }

.btn-pill-dark {
  background-color: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-pill-dark:hover { background-color: #1E293B; }

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border: 2px solid #FFFFFF;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-hero-secondary:hover {
  background-color: #FFFFFF;
  color: #0F172A;
}

/* Material UI Input Format */
.material-field-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.material-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-bottom: 0.35rem;
}

.material-field-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-bottom: 2px solid #64748B;
  color: #0F172A;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.material-field-input:focus {
  background-color: #FFFFFF;
  border-color: #2563EB;
  border-bottom-color: #2563EB;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

/* Auto-Scrolling Logo Ticker */
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-ticker-track {
  display: flex;
  width: 200%;
  animation: tickerScroll 25s linear infinite;
}

.logo-ticker-track:hover { animation-play-state: paused; }

/* Services Touch Slider */
.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-container::-webkit-scrollbar { display: none; }
.slider-slide {
  flex: 0 0 85%;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .slider-container { display: grid; overflow-x: visible; }
  .slider-slide { flex: none; }
}

/* Form Panes */
.step-pane { transition: opacity 0.25s ease; }
.hidden-pane { display: none; opacity: 0; }
.active-pane { display: block; opacity: 1; }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid #E2E8F0;
}

.tab-pill {
  padding: 0.6rem 1.25rem;
  background-color: #1E293B;
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #334155;
  transition: all 0.2s ease;
  cursor: pointer;
}
.tab-pill.active, .tab-pill:hover {
  background-color: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.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;
}
