:root {
    --coffee: #362516;
    --copper: #8A5B32;
    --stone:  #8C8F98;
    --slate:  #617A8F;
    --teal:   #2C404D;
    --white:  #ffffff;
    --off-white: #f9f9f9;
    --tab-height: 70px;
}

html, body {
    margin: 0; padding: 0; height: 100%; overflow: hidden;
    font-family: "Century Gothic", 'Lato', sans-serif;
    background-color: var(--white); color: var(--coffee);
}

#about, #lessons {
    background-color: #ddd;
}

#about p {
    text-align: left;
}

.teaching-statement {
    background: var(--off-white);
    padding: 30px;
    border-left: 5px solid var(--copper);
    border-radius: 10px;
    line-height: 1.7;
    max-height: 500px;
    overflow-y: auto;
}


.teaching-statement h3 {
    margin-top: 0;
    color: var(--teal);
}

.teaching-statement p {
    margin-bottom: 15px;
}



/* --- SMOOTHER SCROLL CONTAINER --- */
.scroll-container {
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: var(--tab-height);
  /* remove scroll snap */
  scroll-snap-type: none;
}

.et-slide {
  min-height: 100vh;
  width: 100%;
  /* remove scroll snap */
  scroll-snap-align: none;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  position: relative;

  padding-top: calc(var(--tab-height) / 2);
  box-sizing: border-box;
}

/* --- NAVIGATION --- */
.et-hero-tabs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--tab-height);
    background-color: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-inner {
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.nav-brand {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.15rem;
    color: var(--coffee);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--coffee);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
    position: relative;
}

.et-hero-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 18px;
    height: 100%;
    color: var(--stone);
    text-decoration: none;
    letter-spacing: 0.1rem;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
    white-space: nowrap;
}

.et-hero-tab:hover {
    color: var(--copper);
}

.et-hero-tab-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    border: 3px solid var(--copper);
    box-sizing: border-box;
    transition: left 0.3s ease, width 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.wallpaper{
    position: relative;
  background-image: url("assets/Victorian\ Wallpaper.png"); /* <-- change filename */
  background-repeat: repeat;           /* for a repeating wallpaper */
  background-size: auto;               /* keep pattern native size */
  background-position: top left;
}

.wallpaper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7); /* adjust: 0.75–0.9 */
  pointer-events: none;
}


.wallpaper > * {
  position: relative;
  z-index: 1;
}

/* --- SECTIONS --- */
/* .et-slide {
    min-height: 100vh; /* changed to min-height for safety
    width: 100%;
    scroll-snap-align: start;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; position: relative;
    padding-top: var(--tab-height); box-sizing: border-box;
} */

/* Hero */
#hero {
    /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.unsplash.com/photo-1514117445516-2ec13cb48e8e?auto=format&fit=crop&w=1350&q=80'); */
    background-size: cover; background-position: center;
}
.hero-content h1 { font-size: 4rem; margin: 0; letter-spacing: 0.5rem; color: var(--coffee); border-bottom: 4px solid var(--copper); padding-bottom: 10px; }
.hero-content h3 { font-size: 1.2rem; letter-spacing: 0.2rem; color: var(--slate); margin-top: 20px; }

/* Content Generic */
.content-container { max-width: 900px; width: 90%; }
h2 { font-size: 2.5rem; color: var(--teal); margin-bottom: 40px; }
p { line-height: 1.8; font-size: 1.1rem; }

/* --- PERFORMANCES (Split Layout) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
}
.col-recordings h2, .col-events h2 { text-align: left; font-size: 1.8rem; margin-bottom: 25px; border-bottom: 1px solid var(--stone); padding-bottom: 10px; }

/* Video Cards */
.video-card { margin-bottom: 20px; cursor: pointer; }
.video-placeholder {
    background: var(--stone); height: 180px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem; transition: background 0.3s;
}
.video-placeholder:hover { background: var(--copper); }
.caption { margin-top: 5px; font-weight: bold; font-size: 0.9rem; color: var(--teal); }

/* Event Cards */
.event-card {
    display: flex; align-items: center; gap: 15px;
    background: var(--off-white); padding: 15px; border-radius: 8px;
    margin-bottom: 15px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--copper);
}
.date-badge {
    background: var(--teal); color: white; padding: 10px; border-radius: 6px;
    display: flex; flex-direction: column; align-items: center; min-width: 50px;
}
.month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.day { font-size: 1.2rem; font-weight: bold; }
.event-info h3 { margin: 0; font-size: 1rem; color: var(--coffee); }
.location { margin: 5px 0 0 0; font-size: 0.85rem; color: var(--slate); }

/* --- MODAL (Pop Up) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
    align-items: center; justify-content: center;
}
.modal-content {
    background-color: var(--white); padding: 40px; border-radius: 8px;
    width: 90%; max-width: 500px; position: relative;
    border-top: 6px solid var(--copper);
    animation: slideDown 0.3s ease;
}
@keyframes slideDown { from {transform: translateY(-20px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--stone); }
.close-btn:hover { color: var(--coffee); }
.modal-meta { color: var(--slate); font-style: italic; margin-bottom: 20px; }
.modal-content h4 { margin-top: 20px; margin-bottom: 5px; color: var(--teal); }

/* --- LESSONS --- */
#lessons .content-container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  text-align: left;
  align-items: start;
}

#lessons h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 10px;
}
.rate-card { background: var(--off-white); padding: 30px; border-left: 5px solid var(--copper); border-radius: 4px; }
.price { font-size: 3rem; font-weight: bold; color: var(--coffee); margin: 10px 0; }
.per { font-size: 1rem; color: var(--stone); font-weight: normal; }
form { display: flex; flex-direction: column; gap: 15px; }
input, textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 0.95rem;
}

textarea {
  min-height: 110px; /* smaller than default */
  resize: vertical;
}
button[type="submit"] { padding: 15px; background-color: var(--teal); color: var(--white); border: none; font-weight: bold; cursor: pointer; text-transform: uppercase; }
#contact-form {
  width: 100%;
  max-width: 360px;           /* keeps it from feeling huge */
  justify-self: center;       /* centers inside its column */
  align-self: center;         /* vertically centers in the grid row */
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px; /* tighter than 15px */
}
/* --- FOOTER --- */

.site-footer {
    background-color: var(--teal);
    color: var(--white);
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    margin: 0;
    letter-spacing: 0.2rem;
    font-size: 1.4rem;
}

.footer-brand p {
    margin: 8px 0 30px;
    color: var(--off-white);
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.6;
}

.footer-social {
    margin-bottom: 30px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0 10px;
    transition: transform 0.2s ease, opacity 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--off-white);
    margin: 0;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    html, body {
        overflow: auto;
    }

    .scroll-container {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .et-slide {
        min-height: auto;
        padding: 110px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: 0.2rem;
    }

    .hero-content h3 {
        font-size: 1rem;
        letter-spacing: 0.1rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    p {
        font-size: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid rgba(0,0,0,0.08);

        display: flex;
        flex-direction: column;
        align-items: stretch;

        height: auto;          /* important */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open {
        max-height: 320px;
    }

    .et-hero-tab {
        width: 100%;
        height: auto;
        padding: 18px 20px;
        justify-content: flex-start;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .et-hero-tab-slider {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #lessons .content-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #lessons h2 {
        grid-column: auto;
        margin-bottom: 0;
    }

    .teaching-statement {
        max-height: none;
        overflow: visible;
    }

    #contact-form {
        max-width: 90%;
        width: 100%;
        justify-self: stretch;
        align-self: stretch;
    }

    .footer-links a {
        display: inline-block;
        margin: 8px 10px;
    }
}