.intro-overlay {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    z-index: 1000;
    transition: opacity 1.5s ease-in-out;
}
.intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}
.title-overlay { z-index: 2; }
.lewitch-title-intro {
    font-family: 'Cinzel Decorative', serif;
    font-size: 10vw;
    color: #fff;
    letter-spacing: 1.5rem;
    margin: 0;
    text-shadow: 0 0 10px #fff, 0 0 20px #d800ff, 0 0 40px #d800ff;
    animation: final-pulse 3s infinite alternate 3s;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.lewitch-title-intro span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.5);
    animation: reveal-letter 1.5s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lewitch-title-intro span:nth-child(1) { animation-delay: 0.5s; }
.lewitch-title-intro span:nth-child(2) { animation-delay: 0.65s; }
.lewitch-title-intro span:nth-child(3) { animation-delay: 0.8s; }
.lewitch-title-intro span:nth-child(4) { animation-delay: 0.95s; }
.lewitch-title-intro span:nth-child(5) { animation-delay: 1.1s; }
.lewitch-title-intro span:nth-child(6) { animation-delay: 1.25s; }
.lewitch-title-intro span:nth-child(7) { animation-delay: 1.4s; }
@keyframes reveal-letter {
    0% { opacity: 0; transform: translateY(40px) scale(0.5); text-shadow: 0 0 30px #ff00de, 0 0 60px #ff00de; }
    100% { opacity: 1; transform: translateY(0) scale(1); text-shadow: 0 0 10px #fff, 0 0 20px #d800ff, 0 0 40px #d800ff; }
}
@keyframes final-pulse {
    from { text-shadow: 0 0 10px #fff, 0 0 20px #d800ff, 0 0 40px #d800ff; }
    to { text-shadow: 0 0 15px #fff, 0 0 30px #c900e6, 0 0 55px #c900e6; color: #f0e6ff; }
}

:root {
    --primary: rgb(0, 0, 0);
    --secondary: rgb(14, 14, 14);
    --border: solid 3px;
    --bc: rgb(25, 25, 25);
}

body {
  margin: 0;
  background-image: url("../img/lwwb.png");
  background-size: cover;
  background-attachment: fixed;
  color: #333;
}

.site-wrapper {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.site-wrapper.visible {
    opacity: 1;
}

.sidebar {
  position: absolute;
  width: 14vw;
  height: 100vh;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40vh;
  box-sizing: border-box;
}

.sb-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 20px;
    margin-bottom: 20px;
    width: 80%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sb-btn:hover {
    border-color: white;
    color: white;
}

.sb-btn.active {
    border-color: #d800ff;
    color: #fff;
    text-shadow: 0 0 10px #d800ff;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.text-bg {
    background-color: rgba(14, 14, 14, 0.7);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.image-gallery {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.1);
    border-color: #d800ff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
}

.modal-content {
    display: block;
    max-width: 80vw;
    max-height: 80vh;
    animation: zoomIn 0.5s;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #d800ff;
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

.header h1 {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 4rem;
  color: #000;
}

/* === NEW STYLE FOR THE SUBTITLE === */
.header p {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.8);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* === NEW STYLES FOR TABBED CONTENT === */
.page-content {
    display: none; /* Hide all pages by default */
}

.page-content.active {
    display: block; /* Show only the active page */
    animation: fadeIn 0.5s ease-in-out; /* Add a simple fade-in */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}