/* ==========================
   Explore Page
========================== */

.explore-page {
  background: #fff;
  color: #222;
}

.explore-inner {
  width: min(1280px, calc(100% - 60px));
  margin: 0 auto;
}

.explore-section {
  padding: 110px 0;
}

.explore-label {
  margin: 0 0 12px;
  color: #a4814e;
  font-family: serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.explore-heading {
  max-width: 720px;
  margin: 0 auto 55px;
  text-align: center;
}

.explore-heading h2,
.explore-intro h2 {
  margin: 0;
  font-family: serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.35;
}

.explore-heading > p:last-child {
  margin: 22px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 2;
}


/* ==========================
   Hero
========================== */

.explore-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.explore-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 30, 35, 0.35), rgba(20, 30, 35, 0.35)),
    url("../img/explore.webp") center center / cover no-repeat;
}

.explore-hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  padding: 100px 0 80px;
}

.explore-hero-sub {
  margin: 0 0 20px;
  font-family: serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.explore-hero h1 {
  margin: 0;
  font-family: serif;
  font-size: clamp(50px, 8vw, 86px);
  font-weight: 400;
  line-height: 1.15;
}

.explore-hero-lead {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 2;
}

.explore-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 42px;
}

.explore-anchor-nav a {
  min-width: 130px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.explore-anchor-nav a:hover {
  background: #fff;
  color: #222;
}


/* ==========================
   Introduction
========================== */

.explore-intro {
  padding: 90px 0;
  background: #f6f3ed;
}

.explore-intro-inner {
  max-width: 850px;
  text-align: center;
}

.explore-intro p:last-child {
  margin: 28px 0 0;
  color: #555;
  font-size: 15px;
  line-height: 2.2;
}


/* ==========================
   Area
========================== */

.explore-area-section {
  background: #fff;
}

.explore-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.explore-area-card {
  position: relative;
  min-height: 390px;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.explore-area-image {
  position: absolute;
  inset: 0;
}

.explore-area-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.explore-area-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 15%,
      rgba(0, 0, 0, 0.38) 100%
    );
}

.explore-area-body {
  position: absolute;
  right: 35px;
  bottom: 32px;
  left: 35px;
}

.explore-area-body h3 {
  margin: 0 0 10px;
  font-family: serif;
  font-size: 32px;
  font-weight: 500;
}

.explore-area-body p {
  max-width: 500px;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
}

.explore-area-body span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.explore-area-card:hover .explore-area-image img {
  transform: scale(1.06);
}


/* ==========================
   Category
========================== */

.explore-category-section {
  background: #f6f3ed;
}

.explore-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.explore-category-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 220px;
  padding: 35px 30px;
  border: 1px solid #ddd6ca;
  background: #fff;
  color: #222;
  text-decoration: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.explore-category-icon {
  flex: 0 0 55px;
  font-size: 34px;
  line-height: 1;
}

.explore-category-body {
  padding-right: 25px;
}

.explore-category-body h3 {
  margin: 0 0 14px;
  font-family: serif;
  font-size: 23px;
  font-weight: 500;
}

.explore-category-body p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

.explore-category-arrow {
  position: absolute;
  right: 25px;
  bottom: 22px;
  color: #a4814e;
  font-size: 20px;
  transition: transform 0.3s;
}

.explore-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.explore-category-card:hover .explore-category-arrow {
  transform: translateX(5px);
}


/* ==========================
   Theme
========================== */

.explore-theme-section {
  background: #252525;
}

.explore-heading-light h2 {
  color: #fff;
}

.explore-heading-light > p:last-child {
  color: #bbb;
}

.explore-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.explore-theme-card {
  position: relative;
  min-height: 500px;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.explore-theme-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.explore-theme-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.05) 20%,
      rgba(0, 0, 0, 0.82) 100%
    );
}

.explore-theme-body {
  position: absolute;
  right: 30px;
  bottom: 32px;
  left: 30px;
}

.explore-theme-body h3 {
  margin: 0 0 12px;
  font-family: serif;
  font-size: 29px;
  font-weight: 500;
}

.explore-theme-body p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.8;
}

.explore-theme-body span {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.explore-theme-card:hover img {
  transform: scale(1.06);
}


/* ==========================
   Popular Places
========================== */

.explore-popular-section {
  background: #fff;
}

.explore-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}

.explore-popular-card a {
  display: block;
  color: #222;
  text-decoration: none;
}

.explore-popular-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.explore-popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.explore-popular-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 3px 0;
}

.explore-popular-body h3 {
  margin: 0;
  font-family: serif;
  font-size: 20px;
  font-weight: 500;
}

.explore-popular-body span {
  font-size: 20px;
  transition: transform 0.3s;
}

.explore-popular-card:hover .explore-popular-image img {
  transform: scale(1.05);
}

.explore-popular-card:hover .explore-popular-body span {
  transform: translateX(5px);
}


/* ==========================
   Map CTA
========================== */

.explore-map-cta {
  padding: 110px 30px;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("../images/explore/explore-map.jpg") center / cover no-repeat;
  color: #fff;
}

.explore-map-cta-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.explore-map-cta-content {
  max-width: 620px;
  padding: 55px;
  background: rgba(20, 20, 20, 0.82);
}

.explore-map-cta-content h2 {
  margin: 0;
  font-family: serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.explore-map-cta-content > p:not(.explore-label) {
  margin: 22px 0 30px;
  color: #ddd;
  font-size: 14px;
  line-height: 2;
}

.explore-map-cta-content a {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 24px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.explore-map-cta-content a:hover {
  background: #fff;
  color: #222;
}


/* ==========================
   Tablet
========================== */

@media screen and (max-width: 900px) {

  .explore-section {
    padding: 85px 0;
  }

  .explore-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .explore-theme-grid {
    grid-template-columns: 1fr;
  }

  .explore-theme-card {
    min-height: 420px;
  }

  .explore-popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================
   Smartphone
========================== */

@media screen and (max-width: 600px) {

  .explore-inner {
    width: min(100% - 36px, 1200px);
  }

  .explore-section {
    padding: 65px 0;
  }

  .explore-heading {
    margin-bottom: 38px;
  }

  .explore-heading h2,
  .explore-intro h2 {
    font-size: 30px;
  }

  .explore-heading > p:last-child {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .explore-hero {
    min-height: 560px;
  }

  .explore-hero h1 {
    font-size: 48px;
  }

  .explore-hero-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .explore-anchor-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .explore-anchor-nav a {
    min-width: 0;
  }

  .explore-intro {
    padding: 65px 0;
  }

  .explore-intro p:last-child {
    font-size: 14px;
    line-height: 2;
  }

  .explore-intro br {
    display: none;
  }

  .explore-area-grid,
  .explore-category-grid,
  .explore-popular-grid {
    grid-template-columns: 1fr;
  }

  .explore-area-card {
    min-height: 360px;
  }

  .explore-area-body {
    right: 24px;
    bottom: 25px;
    left: 24px;
  }

  .explore-area-body h3 {
    font-size: 28px;
  }

  .explore-category-card {
    min-height: 190px;
    padding: 28px 24px;
  }

  .explore-theme-card {
    min-height: 410px;
  }

  .explore-map-cta {
    padding: 65px 18px;
  }

  .explore-map-cta-content {
    padding: 35px 25px;
  }
}
