/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #0b0b0b;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* HERO */

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #111;
}

#hero-slides-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 2rem;
}

.logo {
  font-size: 1.1rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav li a {
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav li a:hover {
  opacity: 0.72;
}

/* VAULT BUTTON */

.vault-btn {
  position: relative;
  display: inline-block;
  background: #8b0000;
  color: #ffffff;
  border: 1px solid #8b0000;
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  transition: 0.25s ease;
}

.vault-btn::before {
  content: "access the vault";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #8b0000;
  opacity: 0;
  transition: 0.25s ease;
}

.vault-btn:hover {
  color: transparent;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.9);
}

.vault-btn:hover::before {
  opacity: 1;
}

/* RED SCREEN EFFECT */

.vault-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background:
    radial-gradient(circle at center, rgba(255, 0, 0, 0.12), rgba(0, 0, 0, 0.45)),
    rgba(80, 0, 0, 0.15);
  box-shadow: inset 0 0 120px rgba(255, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.vault-active .vault-overlay {
  opacity: 1;
}

/* HERO CONTENT */

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(88vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: 760px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: #d9d9d9;
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-subtext {
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #ebebeb;
}

.btn {
  display: inline-block;
  background: #ffffff;
  color: #111111;
  padding: 0.9rem 1.4rem;
  border: 1px solid #ffffff;
  font-weight: 700;
  width: fit-content;
}

/* MAIN SECTIONS */

.portfolio-section,
.about-section,
.contact-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 4.5rem 2.5rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

/* TABS */

.portfolio-tabs {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.75rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: #ffffff;
  color: #111111;
}

.tab-section {
  display: none;
}

.tab-section.active-tab {
  display: block;
}

/* PLACE / PEOPLE / FRIENDSHIP BLOCKS */

.place-section {
  margin-bottom: 4.5rem;
}

.place-heading {
  margin-bottom: 1rem;
}

.place-heading h3 {
  font-size: 1.75rem;
  letter-spacing: 0.5px;
}

.place-dropdown {
  margin-top: 0.8rem;
  position: relative;
}

.place-dropbtn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.place-dropbtn:hover {
  background: #ffffff;
  color: #111111;
}

.place-dropdown-content {
  display: none;
  margin-top: 0.6rem;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem;
  width: 220px;
}

.place-dropdown-content button {
  width: 100%;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: left;
}

.place-dropdown-content button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.place-set {
  display: none;
}

.place-set.active-place-set {
  display: block;
}

/* IMAGE GRIDS */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.photo-card {
  background: #141414;
  overflow: hidden;
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

/* ABOUT / CONTACT */

.about-text {
  max-width: 760px;
  font-size: 1.05rem;
  color: #dddddd;
}

.contact-section p {
  margin-bottom: 0.45rem;
  color: #dddddd;
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  color: #bfbfbf;
}

/* LIGHTBOX */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card img {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-right {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: auto;
    max-height: 420px;
  }

  .place-dropdown-content {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 1.2rem 1rem;
  }

  .hero-content,
  .portfolio-section,
  .about-section,
  .contact-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-content {
    padding-top: 4rem;
  }
}
