@import url("./fonts.css");

.text-brand { color: #F58500; }
.bg-brand { background-color: #F58500; }
.border-brand { border-color: #F58500; }
.text-ink { color: #0f172a; }
.font-sans { font-family: 'Quicksand', system-ui, -apple-system, Roboto, sans-serif; }
.text-brand\/70 { color: rgba(245, 133, 0, 0.7); }


/* Base */
body {
  font-family: 'Quicksand', system-ui, -apple-system, Roboto, sans-serif;
  margin: 0;
  padding: 0;
  color: #0f172a;
  background-color: #ffffff;
}

/* Plain links only (avoid overriding Tailwind utility classes used on buttons) */
a:not([class]) {
  color: #F58500;
  text-decoration: none;
}
a:not([class]):hover {
  text-decoration: underline;
}

/* Use Tailwind's container utility (container mx-auto px-4) instead of a custom .site-container rule */

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0; /* nav spacing handled via Tailwind (h-16 / py classes) */
}

/* Accessible skip-link fallback (if Tailwind utilities are not present) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus,
.sr-only:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Quicksand', system-ui, -apple-system, Roboto, sans-serif;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
h1 {
  font-size: 2.5rem;
  color: #F58500;
}
h2 {
  font-size: 1.75rem;
  color: #0f172a;
}
p {
  line-height: 1.6;
  margin: 0.75rem 0;
}

/* Sections
   Prefer explicit Tailwind spacing on each section (keeps layouts predictable). */

/* Footer */
footer {
  background: #fafafa;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #475569;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
footer a {
  color: #F58500;
}

/* CTA Button (compact) */
.button {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 1.5rem;
  background: #F58500;
  color: #fff;
  font-weight: 600;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(245,133,0,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.button:hover,
.button:focus {
  background: #d46f00;
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,133,0,0.12);
  outline: none;
}
.button.outline {
  background: #fff;
  color: #F58500;
  outline: none;
}
.button.outline:hover,
.button.outline:focus {
  background: #FFF3E6;
  color: #d46f00;
  border-color: #d46f00;
}

.hero-carousel {
  --hero-focus: 50% 50%;
}

.hero-carousel .carousel-slide {
  object-position: var(--hero-focus);
}

.hero-card {
  background: rgba(0, 0, 0, 0.15);
  color: #0f172a;
  max-width: 460px;
  width: 100%;
  line-height: 1.5;
  padding: 1.5rem;
}

@supports (backdrop-filter: blur(8px)) {
  .hero-card {
    backdrop-filter: blur(10px);
  }
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}

.hero-subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: #1f2937;
}

.hero-benefits {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.hero-benefit {
  border-radius: 1rem;
  border: 1px solid rgba(245, 133, 0, 0.25);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 0.9rem;
}

.hero-benefit-title {
  font-weight: 600;
  color: #F58500;
  font-size: 0.95rem;
}

.hero-benefit-text {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #1f2937;
}

.hero-cta {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

.benefit-more {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #F58500;
  text-align: left;
}

@media (max-width: 767px) {
  .hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 360px) {
  .hero-card {
    max-width: 90vw;
    padding: 1rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  .benefit-extra {
    display: none;
  }
  .benefit-more {
    display: inline-block;
  }
}

@media (min-width: 375px) and (max-width: 414px) {
  .hero-card {
    max-width: 92vw;
    padding: 1.25rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta {
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
  }
}

@media (min-width: 430px) and (max-width: 480px) {
  .hero-card {
    max-width: 94vw;
    padding: 1.4rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

@media (min-width: 768px) {
  .hero-card {
    max-width: 460px;
    padding: 1.75rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}
/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.lightbox-overlay.hidden {
  display: none;
}
.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
  display: block;
  margin: 0 auto;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.lightbox-close {
  top: 12px;
  right: 12px;
  transform: none;
  position: fixed;
  width: 38px;
  height: 38px;
}
.lightbox-prev {
  left: 12px;
  position: fixed;
  z-index: 10000;
}
.lightbox-next {
  right: 12px;
  position: fixed;
  z-index: 10000;
}
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
}
@media (max-width: 768px) {
  .lightbox-prev {
    left: 0;
  }
  .lightbox-next {
    right: 0;
  }
}
.lightbox-caption {
  display: none;
}
@media (min-width: 1024px) {
  .lightbox-content {
    max-width: 72vw;
    max-height: 80vh;
  }
  .lightbox-img {
    max-height: 80vh;
  }
}
/* Optional: slightly smaller on very large screens */
@media (min-width: 1440px) {
  .lightbox-content {
    max-width: 64vw;
    max-height: 78vh;
  }
  .lightbox-img {
    max-height: 78vh;
  }
}
