@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";

* {
  box-sizing: border-box;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

: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);
  --glass-border-purple: rgba(45, 25, 65, 1);
  /* Muted purple border */

  --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);
}

/*
* {
    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;
}

h1 {
  font-size: 100px;
  letter-spacing: 5px;
}

h2 {
  font-size: 50px;
  font-weight: 500;
}

h3 {
  font-size: 20px;
}

p {
  font-family: var(--paragraph-font);
  line-height: 1.5;
}










.transition0 {
  background-color: black;
  color: black;
  height: 100px;
  z-index: 2;
}




.book_now a {
  text-decoration: none;
  background-color: white;
  color: black;
  font-family: var(--heading-font);
  padding: 12px 30px;
  border: 1px solid transparent;
  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-size: 24px;
  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);
}











.hero-image {
  background-image: url("../images/grand_piano2realistic.webp");
  min-height: calc(80vh - 90px);
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 170px;
  /* Aligned with Index.html title */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: auto 100%;
  position: relative;
  background-color: black;
}

.hero-image::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-text {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(1.5rem, 8vw, 100px);
  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;
}

.hero-text p {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: white;
  margin-top: 15px;
  font-weight: 300;
  letter-spacing: 2px;
}


.song-title {
  line-height: 1;
}

.firstlist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.firstlist li {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.875rem;
}

/* Shared background class for audio track cards */
.sample-card-bg {
  background-size: cover;
  background-position: left center;
  min-height: 350px;
  justify-content: flex-start;
  gap: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
}

.sample-card-bg::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);
}

.sample-card-bg:hover::before,
.sample-card-bg.playing::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderTrace {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.sample-card-bg .audio-player {
  margin-top: auto;
  margin-bottom: auto;
}

.waterfall-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Waterfall.jpg") !important;
}

.nuvole-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/White Clouds.png") !important;
}

.allofme-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/All of Me.png") !important;
}

.broken-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Broken.png") !important;
}

.garden-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/samples/Garden Waltz.png") !important;
}

.moon-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Moon.png") !important;
}

.moon2-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Moon2.png") !important;
}

.orchestra-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Orchestra.png") !important;
}

.opus1-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/Opus1.png") !important;
}

.raindrop-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("../images/samples/Raindrop.png") !important;
}

.river-item {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/samples/River.png") !important;
}

.firstlist li:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

/* Custom Audio Player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 15px 30px;
  border-radius: 40px;
  width: 100%;
  max-width: 100%;
  margin-top: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .audio-player {
    padding: 12px 15px;
    gap: 12px;
  }
}

.firstlist li:hover .audio-player,
.ul2 li:hover .audio-player {
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.play-pause-btn {
  background: var(--primary-color);
  border: 2px solid transparent;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.play-pause-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  background: #000;
  border-color: var(--primary-color);
}

@media (max-width: 600px) {
  .play-pause-btn {
    width: 45px;
    height: 45px;
  }

  .play-pause-btn svg {
    width: 22px;
    height: 22px;
  }
}

.play-pause-btn:hover svg {
  fill: var(--primary-color);
}

.play-pause-btn svg {
  width: 38px;
  height: 38px;
  fill: #000;
  transition: fill 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.waveform-container {
  flex-grow: 1;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  /* Prevents container from pushing out siblings */
}

@media (max-width: 600px) {
  .waveform-container {
    gap: 1px;
  }
}

.waveform-bar {
  flex: 1;
  background: rgba(212, 175, 55, 0.2);
  /* Muted gold base */
  border-radius: 2px;
  height: var(--height, 20%);
  transition: all 0.2s ease;
  align-self: center;
}

.waveform-bar.active {
  background: var(--primary-color);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.audio-seek {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.audio-time {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  color: var(--primary-color);
  min-width: 45px;
  text-align: right;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: auto;
}

.firstlist li,
.ul2 li {
  padding: 40px 30px;
  overflow: hidden;
}








.hero-image2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url("../images/music_imageoriginal.jpg");
  min-height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.hero-text2 {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 1200px;
  padding: 40px 30px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.hero-text2 h1 {
  font-size: clamp(2.5rem, 7vw, 100px);
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(80, 80, 80, 0.3);
  margin: 0;
  white-space: nowrap;
  justify-self: center;
}

.hero-text2 p {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: white;
  margin-top: 10px;
  font-weight: 300;
  letter-spacing: 2px;
}

.ul2 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.ul2 li {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.875rem;
}

.ul2 li:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

/* Handled by .ul2 iframe above */

.thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}


















/* Responsiveness */
@media (max-width: 900px) {
  /* Removed h1 font-size override */
}

@media (max-width: 1300px) {

  .firstlist,
  .ul2 {
    grid-template-columns: 1fr;
    max-width: 850px;
    gap: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 700px) {

  .hero-text h1,
  .hero-text2 h1 {
    white-space: normal;
  }

  .firstlist li,
  .ul2 li {
    padding: 20px;
    font-size: 1.25rem;
  }

  .firstlist,
  .ul2 {
    padding: 0 10px;
    gap: 20px;
  }
}

@media (max-width: 600px) {

  .hero-text h1 {
    font-size: clamp(1.5rem, 14vw, 100px);
    /* Doubled the 7vw and made both titles the same size */
  }

  .hero-text2 p {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    /* Increased padding between title and subtitle */
  }

  .hero-text,
  .hero-text2 {
    max-width: 100%;
    box-sizing: border-box;
  }

  .title-break {
    display: block;
  }
}

/* Global mobile overflow fix */
html {
  overflow-x: hidden;
}

@media (max-width: 400px) {
  .hero-text2 h1 {
    font-size: clamp(10px, 7vw, 1.5rem);
    /* Doubled the 7vw and made both titles the same size */
  }
}

/* Fix iOS Background Attachment Bug */
@media (max-width: 400px) {
  @supports (-webkit-touch-callout: none) {
    .parallax, .hero-section, .hero-image {
      background-attachment: scroll !important;
    }
  }
}