/* =====================================================
   CAROL — ONE-PAGE WEBSITE
   Replace image files inside the /images folder.
===================================================== */

:root {
  --background: #f6f2ec;
  --surface: #ffffff;
  --text: #26231f;
  --muted: #746d65;
  --accent: #8a5f58;
  --accent-dark: #68443f;
  --border: rgba(38, 35, 31, 0.12);
  --shadow: 0 18px 45px rgba(35, 29, 24, 0.12);
  --radius: 22px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 70px);
  color: white;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

/* HERO */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  justify-content: center;
  align-items: center;
   padding: 150px 24px 250px;
  color: white;
  text-align: center;
  background:
    url("images/hero.JPG")
    center / cover no-repeat;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 16, 14, 0.55) 0%,
      rgba(20, 16, 14, 0.26) 45%,
      rgba(20, 16, 14, 0.65) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.hero blockquote {
  max-width: 780px;
  margin: 30px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
   line-height: 1.5;
}

.hero blockquote .quote-author {
    display: block;
    margin-top: 18px;
    margin-bottom: 50px;   /* <-- space before the cards */
    font-size: 0.85em;
    opacity: 0.8;
    font-style: normal;
    letter-spacing: 0.03em;
}

.hero-links {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -115px;
  width: min(calc(100% - 44px), var(--max-width));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transform: translateX(-50%);
}

.feature-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  background: #ddd;
}


background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(55,73,96,.25) 58%,
    rgba(45,63,89,.65) 75%,
    rgba(29,44,67,.96) 100%
);

.feature-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card span {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.feature-card:hover img {
  transform: scale(1.05);
}

/* SHARED SECTIONS */

.section {
  padding: 110px 24px;
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.about-section {
  padding-top: 220px;
  background: var(--surface);
}

/* TRANSITION */

.transition-note {
  margin-top: 120px;
  padding: 40px 24px;
}

.transition-box {
  width: fit-content;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 34px;

  background: #fff;
  border: 2px solid #16365c;
  border-radius: 18px;

  text-align: center;
}

.transition-box p {
  margin: 0;
  color: #17365f;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-family: inherit;
}

/* ABOUT */

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
}

.portrait-wrap {
  display: flex;
  justify-content: center;
}

.portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-copy {
    max-width: 780px;
    margin: 0 auto;
}

.section-label {
  color: var(--accent);
}

.about-copy h2,
.section-heading h2 {
  margin: 12px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
}

.about-copy p:not(.section-label) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.language-selector {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 40px;
}

.language-btn {
    background: none;
    border: none;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .8rem;
    font-weight: 500;
    color: #6b6b6b;
    cursor: pointer;
    transition: color .25s ease;
}

.language-btn:hover {
    color: var(--accent);
}

.language-ribbon{

    display:flex;
    justify-content:center;
    gap:42px;

    margin-bottom:55px;

    flex-wrap:wrap;

}

.language-btn{

    background:none;
    border:none;

    cursor:pointer;

    padding:0;

    color:#777;

    text-transform:uppercase;

    letter-spacing:.22em;

    font-size:.78rem;

    font-weight:500;

    transition:.25s;

    position:relative;

}


/* SONGS */

.songs-section {
  background: var(--background);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.carousel-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.song-carousel {
  display: grid;
  grid-auto-flow: column;

  /* Exactly three cards visible */
  grid-auto-columns: calc((100% - 48px) / 3);

  gap: 24px;
  overflow-x: auto;
  padding: 5px 4px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.song-carousel {
  scroll-behavior: smooth;
}

.song-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(35, 29, 24, 0.08);
}

.song-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.song-card-content {
  padding: 25px;
}

.song-number {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.song-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.song-card-content > p:not(.song-number) {
  min-height: 76px;
  margin: 0 0 20px;
  color: var(--muted);
}

.song-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.song-card a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .song-carousel {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .song-carousel {
    grid-auto-columns: 86%;
  }
}

/* FINAL IMAGE */

.final-image-section {
  background: var(--surface);
}

.final-image {
  max-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.final-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.final-message p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* FOOTER */

.site-footer {
  padding: 28px 24px;
  color: var(--muted);
  text-align: center;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  opacity: 0.7;
}

/* RESPONSIVE */

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-bottom: 160px;
  }

  .hero-links {
    bottom: -85px;
    gap: 14px;
  }

  .feature-card span {
    left: 15px;
    bottom: 14px;
    font-size: 1rem;
  }

  .about-section {
    padding-top: 170px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-copy {
    margin: 0 auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .carousel-note {
    margin-top: -18px;
  }

  .final-message {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 22px;
  }

  .hero {
    min-height: 640px;
    padding-top: 120px;
    padding-bottom: 135px;
  }

  .hero-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 24px);
    gap: 8px;
    bottom: -58px;
  }

  .feature-card {
    border-radius: 14px;
  }

  .feature-card span {
    left: 10px;
    bottom: 9px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .section {
    padding: 78px 20px;
  }

  .about-section {
    padding-top: 125px;
  }

  .portrait {
    width: 170px;
    height: 170px;
  }

  .song-carousel {
    grid-auto-columns: 84%;
  }
}

/* ==================================================
   SUBTLE ARTS — LANGUAGE SWITCHER
================================================== */

.subtle-language-selector {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 38px;
  margin: 34px 0 54px;
}

.subtle-language-btn {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 13px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  transition: color 250ms ease;
}

.subtle-language-btn:hover,
.subtle-language-btn:focus-visible,
.subtle-language-btn.active {
  color: #8d4033;
}

.subtle-language-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 250ms ease;
}

.subtle-language-btn.active::after {
  width: 75%;
}

.subtle-language-btn:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

/*
  Hide every translation by default.
  !important prevents earlier website styles from displaying them.
*/
.subtle-language-content {
  display: none !important;
  opacity: 0;
}

/* Display only the selected language */
.subtle-language-content.active {
  display: block !important;
  opacity: 1;
  animation: subtleLanguageFade 350ms ease both;
}

.subtle-language-content h2 {
  margin-bottom: 34px;
}

.subtle-language-content p {
  text-align: left;
}

.subtle-language-mantra {
  margin: 30px 0;
  line-height: 1.8;
}

@keyframes subtleLanguageFade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .subtle-language-selector {
    gap: 22px;
    margin: 28px 0 42px;
  }

  .subtle-language-btn {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subtle-language-content.active {
    animation: none;
  }

  .subtle-language-btn,
  .subtle-language-btn::after {
    transition: none;
  }
}

.coming-soon {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(9, 38, 76, 0.25);
  border-radius: 999px;
  color: rgba(9, 38, 76, 0.45);
  background: rgba(255,255,255,0.7);
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}

.song-card-content a.coming-soon {
    color: rgba(9,38,76,.45);
    pointer-events: none;
    cursor: default;
}