
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #050508;
  --bg-soft: #0c0d12;
  --accent: #d9a15a;
  --accent-soft: rgba(217,161,90,0.27);
  --text-main: #f2f2f2;
  --text-muted: #a8b0c0;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  background-image:
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.7), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 3px);
  background-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-loaded {
  opacity: 1;
}

body.page-fade-out {
  opacity: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 16px 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 18px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.main-nav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  background-image: radial-gradient(circle at top, rgba(217,161,90,0.22), transparent 70%);
}

.hero {
  position: relative;
  height: 78vh;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 50px;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.12s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0,0,0,0.08), rgba(0,0,0,0.4)),
    linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.4));
  mix-blend-mode: multiply;
}

.hero-flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(217,161,90,0.12), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.3;
  animation: flareDrift 16s ease-in-out infinite alternate;
}

@keyframes flareDrift {
  from { transform: translate3d(-8px, -4px, 0); opacity: 0.3; }
  to   { transform: translate3d(6px, 6px, 0); opacity: 0.45; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-sub {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-tagline {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  color: var(--text-main);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.btn-main {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #050407;
  background: linear-gradient(90deg, var(--accent), #b27437);
  box-shadow: 0 16px 38px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-main:hover {
  box-shadow: 0 20px 46px rgba(0,0,0,0.9);
  transform: translateY(7px);
}

body.page-loaded .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

body.page-loaded .hero-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

body.page-loaded .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

body.page-loaded .btn-main {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.section {
  padding: 48px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-inner.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.home-description-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.home-description-text {
  max-width: 640px;
}

.home-description-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.home-description-text p + p {
  margin-top: 12px;
}

.home-description-photo img {
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-inner.section-visible .home-description-photo img {
  opacity: 1;
  transform: translateY(0);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.what-item {
  padding: 16px 14px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(217,161,90,0.12), rgba(5,5,10,0.9));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 46px rgba(0,0,0,0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.what-item h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.what-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 26px;
}

.about-text-box {
  padding: 18px 16px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(217,161,90,0.18), rgba(5,5,10,0.9));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 46px rgba(0,0,0,0.9);
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-text p + p {
  margin-top: 14px;
}

.about-photo img {
  border-radius: 14px;
  filter: grayscale(70%) contrast(1.08);
  box-shadow: 0 26px 70px rgba(0,0,0,0.95);
}

.about-banner {
  margin-top: 40px;
}

.about-banner-inner {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,0.95);
}

.about-banner-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-banner-inner.banner-active img {
  opacity: 1;
  transform: scale(1.04);
}

.player-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.player-wrap p {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .gallery-item img {
    height: 140px;
  }
}


@media (max-width: 768px) {
  .gallery-item img {
    height: 180px;
  }
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox-backdrop.visible {
  display: flex;
  animation: lbFadeIn 0.25s ease-out forwards;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.9);
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.contact-block {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-block p + p {
  margin-top: 16px;
}

.contact-block a {
  color: var(--accent);
}

.contact-box {
  max-width: 480px;
  margin: 26px auto 0;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(217,161,90,0.18), rgba(5,5,10,0.9));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 46px rgba(0,0,0,0.9);
  text-align: left;
}

.contact-form {
  text-align: left;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,5,10,0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(217,161,90,0.6);
  background: rgba(5,5,10,1);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.btn-submit {
  margin-top: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-status {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-button:hover {
  background: var(--accent);
  color: #050407;
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.9);
}

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-inner {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-block;
  margin-bottom: 6px;
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-name {
    font-size: 20px;
  }
  .hero {
    height: 70vh;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .home-description-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-inner {
    padding: 0 18px;
  }
  .hero-title {
    font-size: 26px;
    letter-spacing: 0.16em;
  }
  .section {
    padding: 36px 0;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .music-layout {
    flex-direction: column;
  }

  .player-shell iframe {
    height: 300px;
  }
}

/* === FORCE MUSIC & PHOTOS GALLERY INTO A THUMBNAIL GRID === */

.page-section.music-section .gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 0.75rem !important;
  max-width: 1100px;
  margin: 2rem auto 0 auto;
  width: 100%;
  justify-items: center;
}

.page-section.music-section .gallery-item {
  width: 100% !important;
  max-width: 260px !important;
  overflow: hidden;
  border-radius: 8px;
}

.page-section.music-section .gallery-item img {
  display: block;
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .page-section.music-section .gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
  }

  .page-section.music-section .gallery-item img {
    height: 200px !important;
  }
}

.page-section.music-section .gallery-item img:hover {
  transform: scale(1.05);
}

/* === FINAL FIX: MUSIC & PHOTOS GALLERY === */
.page-section.music-section .gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 0.75rem !important;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
}

.page-section.music-section .gallery-item {
  overflow: hidden;
  border-radius: 6px;
  width: 100%;
  max-width: 260px;
}

.page-section.music-section .gallery-item img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.page-section.music-section .gallery-item img:hover {
  transform: scale(1.05);
}

@media (min-width: 600px) {
  .page-section.music-section .gallery-item img {
    height: 180px;
  }
}

@media (min-width: 900px) {
  .page-section.music-section .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .gallery-item {
    width: 100% !important;
    max-width: none !important;
  }

  .gallery-item img {
    height: 150px !important;
  }
}

/* Fix gallery stacking on mobile */
.music-layout {
  display: block !important;
}

@media (min-width: 900px) {
  .music-layout {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* === FIX: Allow gallery grid to work inside music-layout on mobile === */
.music-layout {
  display: block !important;
}

@media (min-width: 900px) {
  .music-layout {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* --- MUSIC & PHOTOS LAYOUT --- */
.music-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.player-wrap {
  flex: 1 1 350px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.player-wrap p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Gallery grid */
.gallery {
  flex: 1 1 350px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Responsive layout for mobile */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item img {
    height: 150px;
  }
}
