Nuttertweede website CSS
/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
    padding: 20px;
}

nav {
    background-color: #ffffff;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 1rem 0;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #000;
}

.menu li a {
  position: relative;
  display: inline-block;
  padding: 0.5em 1em;
  color: #222;
  text-decoration: none;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.menu li a:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 10;
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.menu li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.menu li a:hover::before {
  animation: shine 1s forwards;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}


header {
    text-align: center;
    padding: 4rem 0 2rem;
    background: #f4f4f4;
}

header h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.container-bio {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.container-bio img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container-bio h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.container-bio p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
/* Reset some default spacing */
body {
    margin: 0;
    font-family: "Georgia", serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

/* Basic container style */
.container-bio {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Biography image styling */
.container-bio img {
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Text next to image */
.container-bio p {
    margin-bottom: 1rem;
}

/* Responsive layout for wider screens */
@media (min-width: 768px) {
    .container-bio {
        flex-direction: row;
    }

    .container-bio img {
        margin-right: 2rem;
        flex-shrink: 0;
    }

    .container-bio div {
        flex: 1;
    }
}

/* Hidden by default */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When in view */
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.section-one {
    background-image: url("img/Headshot Elenora Hu_2022_NO&B_0110_Bram Schilling.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; /* full screen height */
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header {
    background: rgba(0, 0, 0, 0.4); /* optional: dark overlay for better text readability */
    padding: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
}
.section-one {
    background-image: url("img/Headshot Elenora Hu_2022_NO&B_0110_Bram Schilling.jpg");
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background-position 0.2s ease;
    will-change: background-position;
    overflow: hidden;
}

.section-one::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, black 100%);
    pointer-events: none;
    z-index: 2;
    opacity: var(--overlay-opacity, 0);
    transition: opacity 0.3s ease;
}


@media (min-height: 1000px) {
    .section-one {
        height: 60vh;
    }
}

.carousel-container.layered {
  position: relative;
  max-width: 700px;
  height: 400px;
  margin: 0 auto;
}

.carousel-img {
  position: absolute;
  top: 0;
  left: 50%;
  max-height: 100%;
  width: auto;
  height: auto;
  max-width: 80%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 2;
}

/* Left image slightly back and left */
.carousel-img.left {
  transform: translateX(-120%) scale(0.85);
  opacity: 0.4;
  z-index: 1;
}

/* Right image slightly back and right */
.carousel-img.right {
  transform: translateX(20%) scale(0.85);
  opacity: 0.4;
  z-index: 1;
}

/* Center image: full opacity and in front */
.carousel-img.center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}


.performance-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.performance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.date-box {
  background-color: #800020; /* Burgundy red */
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-radius: 6px;
  min-width: 55px;
  line-height: 1.2;
}

.performance-details {
  flex: 1;
  font-size: 1rem;
}

.performance-details a {
  color: #800020;
  text-decoration: none;
  font-weight: 500;
}

.performance-details a:hover {
  text-decoration: underline;
}

.performance-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.date-box {
  background-color: #800020;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  min-width: 70px;
  text-align: center;
  font-size: 1rem;
}

.performance-title {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.performance-item.hidden {
  display: none;
}

.toggle-button-wrapper {
  display: flex;
  justify-content: flex-start; /* change to center if you want the button centered */
  margin-top: 1rem;
}

.toggle-button {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: bold;
  font-size: 1rem;
  background-color: #800020;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 0.75rem;
  text-align: center;
  transition: background-color 0.3s ease;
  width: auto;
}

.toggle-button:hover {
  background-color: #a32030;
}

.performance-list a {
  color: #800020; /* Burgundy red */
  text-decoration: none;
  font-weight: 500;
}

.performance-list a:hover {
  text-decoration: underline;
  color: #a32030; /* Slightly lighter/darker burgundy on hover */
}

/* Contact Section */
/* Contact section fade */
body.fade-to-black {
  background-color: black;
  color: white;
  transition: background-color 1s ease, color 1s ease;
}

/* Performance section text fades to white */
.performance-text {
  transition: color 1s ease;
}

.performance-text.fade-to-white {
  color: white !important;
}

/* Contact header fade in */
#contact-header {
  transition: opacity 1s ease;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 700px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-half {
    width: 100%;
    margin-bottom: 1.5rem;
    flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;

  }
}

#contact {
  min-height: 450px;
  padding-bottom: 6rem;
  transition: min-height 0.3s ease, padding-bottom 0.3s ease;
}

@media (max-width: 700px) {
  #contact {
    min-height: 350px;
    padding-bottom: 4rem;
  }
}

/* Reduce nav height */
.menu {
    padding: 0.5rem 0;  /* smaller vertical padding */
    gap: 1.5rem;        /* tighter spacing */
}

/* Hamburger button styling - hidden by default */
/* Make nav background transparent, keep sticky */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;  /* transparent background */
    border-bottom: none;       /* remove bottom border */
}

/* Hamburger floating top-left, no background */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;

    position: fixed;  /* float on top */
    top: 1rem;
    left: 1rem;

    padding: 0;          /* no padding */
    margin: 0;
    background: transparent;
    z-index: 1100;       /* above everything */
}

/* Hamburger bars */
.hamburger span {
    display: block;
    height: 3px;
    background-color: #444;
    border-radius: 2px;
}

/* Responsive: below 700px width */
@media (max-width: 700px) {
    .hamburger {
        display: flex;
    }

    /* Menu styling stays the same but we add a white bg and shadow */
    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
        padding: 0.5rem 0;
        background-color: #fff;   /* white bg behind menu */
        position: fixed;          /* fixed so it stays under toggle */
        top: 3.5rem;              /* below toggle */
        left: 0;
        border-top: 1px solid #ccc;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1050;            /* below hamburger */
    }

    .menu.show {
        display: flex;
    }
    
}


