/*
  Custom stylesheet for the Naples.Now static site.
  This file reproduces the visual appearance of the original React/Tailwind
  application without relying on any JavaScript or build tools.
*/

/* Reset default margins and ensure consistent box sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: #000;
  color: #fff;
}

/* Page wrapper uses flex layout to allow footer to stick to the bottom */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #000;
}

/* Header positioning and styling */
.header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  background-color: transparent;
}

.container {
  max-width: 72rem; /* Equivalent to Tailwind's max-w-6xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Specific container padding for header and footer */
.header .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.explore-footer .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Brand link (site logo) */
.brand {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.6));
  font-size: 1.5rem; /* Tailwind text-2xl */
  line-height: 2rem;
}
@media (min-width: 768px) {
  .brand {
    font-size: 1.875rem; /* Tailwind text-3xl */
    line-height: 2.25rem;
  }
}

/* Hero section and image handling */
.hero {
  position: relative;
  flex: 1 1 0%;
  overflow: hidden;
}
.hero picture,
.hero img {
  width: 100%;
  height: 100%;
}
.hero img {
  object-fit: contain;
  object-position: center;
  user-select: none;
}

/* Overlay for the hero message */
.hero-overlay {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s;
  animation: fadeIn 0.7s 0.3s forwards;
}

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

/* Styling for the “Coming Soon” label */
.hero-message {
  padding: 0.5rem 1.25rem; /* py-2 px-5 */
  border-radius: 0.5rem;   /* rounded-lg */
  background-color: rgba(0, 0, 0, 0.5); /* bg-black/50 */
  color: #ffffff;
  font-size: 1.25rem;      /* text-xl */
  line-height: 1.75rem;
  backdrop-filter: blur(4px); /* backdrop-blur-sm */
}
@media (min-width: 768px) {
  .hero-message {
    font-size: 1.5rem; /* text-2xl on md and above */
    line-height: 2rem;
  }
}

/* Explore Florida footer */
.explore-footer {
  width: 100%;
  background-color: #171717; /* neutral-900 */
  color: #ffffff;
}

.explore-footer h2 {
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em; /* tracking-widest */
  color: rgba(255, 255, 255, 0.7); /* text-white/70 */
}

.top-link {
  margin-top: 0.75rem; /* mt-3 */
}

.top-link a {
  font-weight: 600; /* font-semibold */
  text-decoration: none;
  color: inherit;
}
.top-link a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* City list styling */
.city-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem; /* gap-x-6 */
  row-gap: 0.5rem;    /* gap-y-2 */
  margin-top: 1rem;    /* mt-4 */
  list-style: none;
  color: rgba(255, 255, 255, 0.9); /* text-white/90 */
  padding-left: 0;
}

.city-links li {
  list-style: none;
}
.city-links a {
  text-decoration: none;
  color: inherit;
}
.city-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hide elements visually but keep them accessible to assistive technologies */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Copyright bar */
.copyright {
  width: 100%;
  background-color: #171717; /* neutral-900 */
  color: #ffffff;
  text-align: center;
}
.copyright p {
  font-size: 0.75rem; /* text-xs */
  line-height: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  opacity: 0.8;
}
@media (min-width: 768px) {
  .copyright p {
    font-size: 0.875rem; /* text-sm on md and above */
    line-height: 1.25rem;
  }
}