/* Basic dance studio landing page style */
:root {
  --bg: #09070c;
  --surface: #12101a;
  --surface-soft: rgba(255,255,255,0.04);
  --text: #f7f2ee;
  --muted: #b6a89d;
  --accent: #FFC5D3;
  --accent-soft: rgba(228,177,105,0.16);
  --border: rgba(255,255,255,0.08);
  --shadow: 0 30px 80px rgba(0,0,0,0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.slika img{
  width: 70%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  justify-self: center;
  margin: 1.5rem auto;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #332421;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 25px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-banner img {
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

header.menu-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  text-align: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: #FFC5D3;
  text-align: center;
  width: 100%;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.6rem;
  color: #e3924a;
}

.menu a:hover,
.btn-primary:hover {
  color: var(--accent);
}

.hero {
  display: block;
}

.hero-copy {
  margin: 1.5rem;
}

.hero-copy small,
.section-heading small {
  display: block;
  color: #ADEBB3;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.hero-copy h1 {
  font-size: clamp(3.75rem, 5vw, 5.5rem);
  line-height: 0.9;
  margin: 0;
  color: #95e79d;
}

.hero-copy h1:nth-of-type(2) {
  margin-left: 35%;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.3rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  border-color: rgba(255,255,255,0.14);
  color: var(--text);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(228,177,105,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.08), transparent 18%),
              radial-gradient(circle at 80% 10%, rgba(228,177,105,0.18), transparent 12%);
}

.hero-media .media-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero-media .media-inner .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 1.6rem;
  line-height: 1.6;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.section {
  padding: 0 0 2rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2.75rem, 3vw, 3.75rem);
  margin: 0;
}

.section-heading p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.image-note-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.image-note-wrap .slika {
  flex: 0 1 48%;
  margin: 0;
}

.image-note-wrap .note-card {
  flex: 0 1 42%;
  margin: 0;
}

.quote-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.note-card {
  position: relative;
  background: rgba(255, 213, 96, 0.3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  margin: 2rem 0;
}
.quote{
  max-width: 520px;
  text-align: right;
}

.note-card small {
  margin-top:0;
}

.note-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.85rem;
}

.note-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.testimonial {
  display: grid;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.2rem;
  color: var(--text);
}

.testimonial p {
  margin: 0 0 1.5rem;
  font-size: 1.65rem;
  line-height: 1.8;
}

.testimonial strong {
  display: block;
  color: var(--accent);
}

.contact-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-panel p,
.contact-panel a {
  color: var(--muted);
}

.contact-panel a {
  display: inline-block;
}

footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media {
    min-height: 420px;
  }
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu {
    justify-content: center;
  }
  .hero-copy h1 {
    font-size: 3.4rem;
  }
  .slika img {
    width: 100%;
  }
}

/* Video gallery */
.video-lay{
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.video-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0;
}
.vg-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  width: min(70vw, calc(100vw - 96px));
  max-width: calc(100vw - 96px);
  border-radius: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
/* hide native scrollbars while preserving scrolling */
.vg-track-wrap {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.vg-track-wrap::-webkit-scrollbar { display: none; } /* WebKit */
.vg-track {
  display: flex;
  gap: 0;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding: 0;
  box-sizing: border-box;
  min-width: 100%;
  scroll-snap-align: center;
}
.embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-video-embed {
  width: min(100%, 430px);
  max-height: 900px;
  aspect-ratio: 9 / 16;
  margin: 1.5rem auto;
}
.vid-desc {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1.6rem;
}
.thumb-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.thumb-img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.play-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 999px; background: rgba(0,0,0,0.55); color: var(--text); border: 0; font-size: 2.1rem; display: grid; place-items: center; cursor: pointer; }
.play-btn:hover { background: var(--accent); color: #111; }
.open-youtube { margin-left: 0.6rem; color: var(--accent); font-weight: 600; }
.vg-btn {
  background: rgba(0,0,0,0.45);
  color: var(--text);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.vg-btn:hover { background: var(--accent); color: #111; }
.vg-dots { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 0.75rem; }
.vg-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 0; cursor: pointer; }
.vg-dot.active { background: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,0.28); }

@media (max-width: 640px) {
  /* Slightly reduce the root font-size to scale most text down on small screens */
  html { font-size: 14px; }
  .hero-copy h1:nth-of-type(2) {
    margin-left: 20%;
  }
  .menu{
    font-size: 1.2rem;
  }
  .contact-panel div{
    flex-direction: column-reverse;
    img { width: unset !important;}
  }
  .vid-desc{
    font-size: 1.2rem;
  }
  .vg-btn, .vg-track-wrap{
    width: unset;
  }

  /* Tweak some high-priority components for better mobile fit
  .vg-btn { width: 40px; height: 40px; }
  .vid-desc { font-size: 1.45rem; }
  .menu { font-size: 1.25rem; }
  .hero-copy h1 { font-size: 2.6rem; }
  .hero-copy p { font-size: 1.05rem; }
  .section-heading h2 { font-size: 2.2rem; }
  .section-heading p { font-size: 1.25rem; }
  .note-card h3 { font-size: 1.4rem; }
  .testimonial p { font-size: 1.35rem; } */
}
