@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import "header.css";
@import "footer.css";

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

:root {
  --primary-color: #ffc400;
  /* Metallic Gold */
  --primary-dark: #1a1a1a;
  --secondary-color: #ac8402;
  /* Darker Gold */
  --third-color: #e5c158;
  /* Lighter Gold (Darkened) */
  --accent-cyan: #00d2ff;
  --glass-bg: rgba(22, 22, 26, 0.7);
  --glass-border: rgba(48, 40, 13, 1);

  --heading-font: "Open Sans", sans-serif;
  --paragraph-font: Roboto, "Roboto Slab", sans-serif;

  --gold-gradient: linear-gradient(135deg, #1a1a1a 0%, #d4af37 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
}



/* {
    box-sizing: border-box;
    border: 1px solid red;
} */




body {
  background-color: black;
  color: white;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-attachment: fixed;
  font-family: var(--paragraph-font);
}

body,
html {
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

main {
  margin-top: 80px;
  /* Offset for fixed header */
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.appointments-section .section-card {
  text-align: left;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)), url("../images/piano_hands.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.appointments-section {
  position: relative;
  z-index: 5;
}

.appointments-section .pricing {
  text-align: left;
}

.appointments-section .book_now a,
.repertoire-section .book_now a {
  margin-left: 0;
}

h1 {
  font-size: clamp(2.5rem, 9.375vw, 6.25rem);
  /* 40px to 100px, 1066px transition */
  letter-spacing: 5px;
}

h2 {
  font-size: clamp(2.25rem, 3.8vw, 3.125rem);
  /* 36px to 50px, slower scale starting at 1066px */
  font-weight: 500;
  color: var(--primary-color);
}

h3 {
  font-size: clamp(1rem, 1.875vw, 1.25rem);
  /* 16px to 20px, starting at 1066px */
}

p {
  font-family: var(--paragraph-font);
  line-height: 1.5;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  /* 16px to 20px, starting at 1066px */
}





.transition0 {
  background-color: black;
  color: black;
  height: 100px;
  z-index: 2;
}










.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: calc(80vh - 140px);
  /* Reduced by another 50px to pull main content further up into view */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: black;
}

.hero-section {
  background-image: url("../images/grand_piano1realistic_resized.webp");
  background-position: center -130px;
  background-size: auto 100%;
}


.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(to top, black 0%, transparent 75px),
    linear-gradient(to right,
      black 0%,
      black calc(50% - 50vh),
      transparent calc(50% - 50vh + 200px),
      transparent calc(50% + 50vh - 200px),
      black calc(50% + 50vh),
      black 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 175px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  /* Grid anchoring for stats and CTA, flexible flow for header */
  display: grid;
  grid-template-rows: 190px 150px 100px;
  align-items: center;
}

.hero-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.glow-text {
  font-size: clamp(4rem, 12vw, 8rem);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin: 0;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(80, 80, 80, 0.3);
  line-height: 1;
}

.subtitle {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: white;
  margin-top: 5px;
  /* Restored for proportional scaling */
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: none;
  line-height: 1;
  text-shadow: 0 0 5px rgb(0, 0, 0), 0 0 5px rgb(0, 0, 0);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  /* Handled by grid row height */
}

.hero-stats p {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  opacity: 1;
  text-shadow: 0 0 5px rgb(0, 0, 0), 0 0 5px rgb(0, 0, 0);
}

.hero-stats span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
}


.hero-cta {
  margin: 0;
  /* Handled by grid row height */
}


.content-section {
  padding: 50px 0;
}

.content-section.appointments-section {
  padding-top: 100px;
}

.content-section:last-of-type {
  padding-bottom: 100px;
}

.grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  /* Vertical spacing handled by section padding */
}

.section-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 60px 50px;
  width: 90%;
  max-width: 900px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Changed from center to ensure consistent top padding */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.section-card h2 {
  margin-top: 0;
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

.about-card {
  text-align: left;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/music_image2original.jpg");
  background-size: cover;
  background-position: center;
}

/* Moving Border Glow Effect */
.section-card {
  position: relative;
}

.section-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: conic-gradient(from var(--angle),
      transparent 0%,
      var(--primary-color) 8%,
      transparent 16%,
      transparent 55%,
      var(--primary-color) 63%,
      transparent 71%,
      transparent 100%);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  opacity: 0.7;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: blur(1.5px);
  z-index: 10;
  /* Start animation but keep it paused so it's static */
  animation: borderTrace 4s linear infinite paused;
  animation-delay: var(--random-delay, 0s);
}

.section-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderTrace {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.repertoire-card {
  text-align: left;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url("../images/grand_piano3realistic.png");
  background-size: cover;
  background-position: center;
}

.bio-text {
  max-width: 600px;
  margin: 0;
}

.about-me {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  margin: 0px 10px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-card p {
  margin-bottom: 20px;
}

.bio-text p {
  margin-bottom: 15px;
}

.video-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  display: block;
  border: none;
}




/* Fees Table Styling (Matching Scheduling Page) */
.table-container {
  overflow-x: auto;
  width: fit-content;
  margin: 40px 0 0;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  padding: 5px 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fees-table {
  width: auto;
  border-collapse: separate;
  border-spacing: 0;
  color: white;
  font-family: var(--paragraph-font);
}

.fees-table td {
  padding: 15px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  text-align: left;
  font-size: clamp(1.1rem, 2.25vw, 1.5rem);
}

.fees-table td:first-child {
  padding-right: 40px;
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table td:nth-child(2) {
  font-weight: bold;
  color: var(--primary-color);
  text-align: right;
}

.fees-table tr:hover td {
  background: rgba(212, 175, 55, 0.05);
  transition: background 0.3s ease;
}

.free-price,
.studio-price,
.home-price {
  display: block;
  font-size: clamp(1.1rem, 2.25vw, 1.5rem);
  /* 17.6px to 24px, starting at 1066px */
  margin-bottom: 15px;
  opacity: 1;
  letter-spacing: 1px;
}

.pricing strong {
  color: var(--primary-color);
}

.pricing span:last-child {
  margin-bottom: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Removing old clutter */










/* The hero image */
.hero-image {
  background-image: url("../images/grand_piano3original.jpg");
  min-height: 80vh;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Brighter (was 0.7) */
}


/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}


/*linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), */



.transition1 {
  background-color: black;
  color: black;
  height: 300px;
  z-index: 2;
}


.transition {
  background: transparent;
  color: white;
  padding: 0;
  position: relative;
  z-index: 1;
}


.hero-text2 {
  text-align: center;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}



/* Removing old clutter */






.book_now a {
  text-decoration: none;
  background-color: white;
  color: black;
  font-family: var(--heading-font);
  padding: 12px 30px;
  font-size: clamp(1rem, 2.25vw, 1.5rem);
  /* 16px to 24px, starting at 1066px */
  display: block;
  margin: 50px auto 0;
  width: fit-content;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.book_now a:hover {
  background-color: var(--primary-color);
  color: black;
  border-color: black;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.4);
}




























/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
  background: #333;
  /* Neutral gray for a professional look */
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Responsiveness */
@media (max-width: 600px) {
  .hero-section {
    /* Locks size to static hardware height so the URL bar opening/closing doesn't bounce the image */
    background-size: auto 100vh;
  }

  .hero-content {
    grid-template-rows: 40% 30% 30%;
    height: calc(90svh - 140px);
    top: 0;
    align-items: center;
  }

  .hero-header {
    justify-content: flex-end;
  }

  .glow-text {
    line-height: 1;
  }

  .hero-stats {
    flex-direction: row;
    padding-top: 0px;
    margin-top: -10px;
  }

  .hero-stats span {
    font-size: clamp(1.8rem, 6.66vw, 2.5rem);
  }

  .hero-stats p {
    font-size: clamp(0.9rem, 2.93vw, 1.1rem);
  }

  .subtitle {
    margin-top: 20px;
    /* Bigger gap for mobile as requested */

  }

  h2 {
    margin-bottom: 20px;
  }

  .content-section {
    padding: 50px 0;
  }

  .grid-container {
    padding: 0 20px;
  }

  .section-card {
    padding: 30px;
    width: 95%;
  }

  .section-card::before {
    opacity: 1;
    animation: borderTrace 10s linear infinite running;
  }

  .hero-cta {
    align-self: start;
  }

  .book_now a {
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    flex-direction: column;
    gap: 0px;
    margin: 0px auto;
  }

  .hero-stats span {
    font-size: clamp(1.2rem, 10vw, 1.8rem);
  }

  .hero-stats p {
    font-size: clamp(0.75rem, 10vw, 0.9rem);
    /* Tightens the vertical space between the three stats */
    line-height: 1.1;
  }

  .hero-image {
    min-height: 90svh;
  }

  .parallax {
    min-height: calc(90svh - 140px);
  }


  .hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
  }

  .book_now a {
    margin: 0 auto;
    /* Ensured centering for block-level elements */
  }


  .glow-text {
    font-size: clamp(40px, 12.8vw, 64px);
  }

}

/* Fix iOS Background Attachment Bug */
@media (max-width: 500px) {
  @supports (-webkit-touch-callout: none) {
    .parallax, .hero-section, .hero-image {
      background-attachment: scroll !important;
    }
  }
}