/* Color palette */
:root {
  --dark: #333333;
  --light: #F0F0F0;
  --accent1: #BA375C;
  --accent2: #C898AE;
  --accent3: #83A88D;
  --accent4: #3D3257;
}
/* HEADER BASE */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--dark);
  color: var(--light);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: dropIn 0.6s ease forwards;
}

@keyframes dropIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--light);
  letter-spacing: 0.05em;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent1);
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--dark);
    width: 100%;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  .nav-links.open {
    max-height: 300px;
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  /* Animate hamburger into “X” */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Space below header */
main {
  margin-top: 80px;
}
.main-header {
  transition: all 0.3s ease;
}

/* When scrolled down */
.main-header.shrink {
  background: rgba(51, 51, 51, 0.95);
  padding: 0.4rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}

.main-header.shrink .logo {
  font-size: 1.1rem;
}

.main-header.shrink .nav-bar {
  padding: 0.5rem 1.5rem;
}


body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--dark);
  color: var(--light);
}

h1 {
  margin: 0;
  font-weight: 600;
}

#gallery {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tabs button {
  background: var(--accent4);
  color: var(--light);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--accent1);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.photo-card {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.photo-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--dark);
  color: var(--light);
  margin-top: 3rem;
}
.sub-header {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent4);
  border-bottom: 3px solid var(--accent1);
  display: inline-block;
  padding-bottom: 0.5rem;
}

#photo-gallery, #video-gallery {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
}