@layer {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    background-repeat: no-repeat;
  }

  * {
    padding: 0;
    margin: 0;
  }

  html {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    block-size: 100%;
  }

  body {
    min-block-size: 100%;
  }

  img,
  iframe,
  audio,
  video,
  canvas {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
  }

  svg {
    max-inline-size: 100%;
  }

  svg:not([fill]) {
    fill: currentColor;
  }

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

  textarea {
    resize: vertical;
  }

  fieldset,
  iframe {
    border: none;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }

  p {
    text-wrap: pretty;
    font-variant-numeric: proportional-nums;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-variant-numeric: lining-nums;
  }

  p,
  blockquote,
  q,
  figcaption,
  li {
    hanging-punctuation: first allow-end last;
  }

  input,
  label,
  button,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.1;
  }

  math,
  time,
  table {
    font-variant-numeric: tabular-nums lining-nums slashed-zero;
  }

  code {
    font-variant-numeric: slashed-zero;
  }

  table {
    border-collapse: collapse;
  }

  abbr {
    font-variant-caps: all-small-caps;
    text-decoration: none;

    &[title] {
      cursor: help;
      text-decoration: underline dotted;
    }
  }

  sup,
  sub {
    line-height: 0;
  }

  :disabled {
    opacity: 0.8;
    cursor: not-allowed;
  }

  :focus-visible {
    outline-offset: 0.2rem;
  }
}

.wrapper {
  height: 100vh;
  width: 100%;
  background-color: #b22024;
  position: relative;
}

.wrapper img.main-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrapper img.mobile-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.explore-area {
  position: absolute;
  z-index: 1;
  width: 33%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding: 0 32px;
  flex-direction: column;
}

.explore-area h1 {
  color: #fff;
  font-size: 36px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.gallery-section {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.gallery-section a {
  border-radius: 8px;
  border: 3px solid transparent;
  transition: 0.3s ease-in-out all;
  overflow: hidden;
  position: relative;
}

.gallery-section a:hover {
  border-color: #e7c46e;
}

.gallery-section a img {
  height: 100px;
  width: auto;
}

.gallery-section.vertical a img {
  height: 180px;
  width: auto;
}

.photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {
  .explore-area {
    width: 100%;
    padding: 0 16px;
  }

  .explore-area h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .gallery-section {
    gap: 12px;
    margin-bottom: 24px;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
  .wrapper {
    height: auto;
    min-height: 100vh;
  }

  .wrapper img.main-bg {
    display: none;
  }

  .wrapper img.mobile-bg {
    display: block;
    position: relative;
    height: auto;
    width: 100%;
  }

  .explore-area {
    position: static;
    width: 100%;
    padding: 24px 16px;
    height: auto;
  }

  .gallery-section {
    flex-wrap: wrap;
    gap: 8px;
  }

  .gallery-section.vertical a img {
    height: 160px;
  }
}
