/* Harry Jackson Travel — deliberately tacky travel-agent theme */

:root {
  --pink: #ff2d78;
  --hot-orange: #ff7a1a;
  --sun-yellow: #ffd400;
  --teal: #00c2a8;
  --deep-purple: #1a0733;
  --deep-purple-2: #3a0d5c;
  --cream: #fff6e5;

  --font-display: "Bungee", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --shadow-text: 0 2px 12px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--deep-purple);
  color: var(--cream);
  font-family: var(--font-body);
  min-height: 100svh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Hero (index.html) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 12%,
    var(--sun-yellow) 0%,
    var(--hot-orange) 28%,
    var(--pink) 56%,
    var(--deep-purple-2) 82%,
    var(--deep-purple) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 2px,
    transparent 2px,
    transparent 14px
  );
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding: 0;
}

.hero-top,
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 5vw, 3rem);
  text-align: center;
}

.hero-top {
  background: linear-gradient(
    to bottom,
    rgba(26, 7, 51, 0.88) 0%,
    rgba(26, 7, 51, 0.5) 65%,
    transparent 100%
  );
}

.hero-bottom {
  background: linear-gradient(
    to top,
    rgba(26, 7, 51, 0.92) 0%,
    rgba(26, 7, 51, 0.55) 70%,
    transparent 100%
  );
  padding-bottom: clamp(1.5rem, 5vw, 3rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 2.4vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun-yellow);
  text-shadow: var(--shadow-text);
  margin: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.5vw, 4.25rem);
  line-height: 1.05;
  margin: 0;
  text-shadow: var(--shadow-text);
  max-width: 18ch;
}

.hero-lead {
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  line-height: 1.5;
  max-width: 42ch;
  margin: 0;
  text-shadow: var(--shadow-text);
  font-weight: 500;
}

.cta-button {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  color: var(--deep-purple);
  text-decoration: none;
  background: linear-gradient(135deg, var(--teal), var(--sun-yellow));
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 3px solid var(--cream);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 212, 0, 0.55);
  display: inline-block;
  margin-top: 0.5rem;
  animation: pulse 1.8s ease-in-out infinite;
  text-align: center;
}

.cta-button:hover,
.cta-button:focus-visible {
  animation-play-state: paused;
  transform: scale(1.06);
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 212, 0, 0.55);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.045);
  }
}

.site-footer {
  background: var(--deep-purple);
  color: var(--cream);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 0.9rem 1rem;
}

/* ---------- Gallery page ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  background: rgba(26, 7, 51, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--sun-yellow);
}

.back-link {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--sun-yellow);
  white-space: nowrap;
}

.site-header .brand {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.8vw, 1.15rem);
  margin: 0;
  text-align: right;
  letter-spacing: 0.03em;
}

.gallery-intro {
  text-align: center;
  padding: clamp(1.5rem, 5vw, 2.5rem) 1rem 1rem;
  background: linear-gradient(180deg, var(--deep-purple-2), var(--deep-purple));
}

.gallery-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.gallery-intro p {
  margin: 0 auto;
  max-width: 40ch;
  opacity: 0.85;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  padding: 1rem clamp(0.75rem, 3vw, 1.5rem);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--deep-purple-2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-sentinel {
  height: 1px;
}

.gallery-status {
  text-align: center;
  padding: 1rem;
  opacity: 0.75;
  font-size: 0.9rem;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 2, 20, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 480px) {
  .lightbox-prev,
  .lightbox-next {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }
}
