/* ============================================================
   AUDYCJE MUZYCZNE — style.css
   ============================================================ */

/* ---- Google Fonts loaded in HTML ---- */

/* ---- CSS Custom Properties ---- */
:root {
  --yellow:  #FFD93D;
  --coral:   #FF6B6B;
  --purple:  #A855F7;
  --cyan:    #4ECDC4;
  --white:   #ffffff;

  --hero-bg:    #1a1a2e;
  --about-bg:   #ffffff;
  --text:       #1a1a2e;
  --text-muted: #6b7280;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Nunito', system-ui, -apple-system, sans-serif;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);

  --max-w: 1100px;
  --pad-x: 24px;
  --section-py: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */

@keyframes floatNote {
  0%,100% { transform: translateY(0)   rotate(0deg);  }
  30%      { transform: translateY(-22px) rotate(6deg);  }
  65%      { transform: translateY(10px)  rotate(-4deg); }
}

@keyframes floatSlow {
  0%,100% { transform: translateY(-50%) translateX(0);    }
  50%      { transform: translateY(calc(-50% - 18px)) translateX(6px); }
}

@keyframes floatGentle {
  0%,100% { transform: translateY(0);      }
  50%      { transform: translateY(-16px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes pulse {
  0%,100% { transform: scale(1);    }
  50%      { transform: scale(1.05); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px var(--pad-x) 130px;
}

/* ---- Hero container: two-column ---- */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ---- Hero text ---- */
.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.90);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero h1 .highlight {
  color: var(--yellow);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin-bottom: 38px;
  line-height: 1.75;
}

/* ---- Primary CTA button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              background 0.2s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--hero-bg);
}

.btn-primary:hover {
  background: #ffc400;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 36px rgba(255, 217, 61, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

/* ---- Hero contact details ---- */
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 22px;
  margin-bottom: 32px;
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 11px 20px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.hero-contact-item:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* ---- Guitar illustration ---- */
.hero-illustration {
  flex-shrink: 0;
  align-self: center;
  animation: floatGentle 6s ease-in-out infinite;
}

.guitar-svg {
  width: clamp(130px, 16vw, 210px);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35));
}

/* ---- Floating notes background ---- */
.notes-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* bg icons positioned entirely by JS */

/* ---- Wave bottom ---- */
.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.wave-bottom svg {
  width: 100%;
  height: 90px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-py) var(--pad-x);
  background: var(--about-bg);
  position: relative;
  overflow: hidden;
}

.about .container { position: relative; z-index: 1; }

/* ---- Section background icons (about + contact) ---- */
.section-bg-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}


/* ---- Section header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--text);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag--light {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.section-header h2 em {
  color: var(--purple);
  font-style: italic;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ---- Cards grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* ---- About CTA ---- */
.about-cta {
  text-align: center;
  padding: 40px 24px;
  background: #f8f8fc;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.04);
}

.about-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-cta {
  background: var(--purple);
  color: #fff;
}

.btn-cta:hover {
  background: #9333ea;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(168,85,247,0.35);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.045);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(140deg, #7c3aed 0%, #3b82f6 50%, #4ECDC4 100%);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

/* Ambient light blobs */
.contact::before,
.contact::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,217,61,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.contact::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,107,0.15) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.contact-wave-top {
  line-height: 0;
  position: relative;
  z-index: 1;
}

.contact-wave-top svg {
  width: 100%;
  height: 90px;
  display: block;
}

.contact-inner {
  padding-top: 50px;
  position: relative;
  z-index: 2;
}

/* ---- Contact header ---- */
.contact-header {
  text-align: center;
  margin-bottom: 52px;
  color: #fff;
}

.contact-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 10px;
}

.contact-header h2 em {
  color: var(--yellow);
  font-style: italic;
}

.contact-header p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}

/* ---- Contact grid ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  align-items: start;
}

/* ---- Contact info column ---- */
.contact-info { position: relative; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.contact-detail a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s;
}
.contact-detail a:hover { color: var(--yellow); }

/* ---- Contact form ---- */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

/* Honeypot — visually hidden but present in DOM so bots find it */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 17px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b7c0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.12);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,107,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.field-error {
  display: block;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 5px;
  min-height: 18px;
}

/* ---- Submit button ---- */
.btn-submit {
  width: 100%;
  background: var(--purple);
  color: #fff;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  margin-top: 6px;
  border-radius: var(--radius-sm);
}

.btn-submit:hover {
  background: #9333ea;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(168,85,247,0.42);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---- Success message ---- */
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #d1fae5;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 12px;
  border: 1px solid #a7f3d0;
}

.form-success.is-visible {
  display: flex;
  animation: fadeSlideUp 0.4s ease;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--hero-bg);
  color: rgba(255,255,255,0.65);
  padding: 52px 0 28px;
}

.footer-inner {
  display: flex;
  gap: 60px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-note-icon {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-contact h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact a {
  display: block;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cards */
.cards-grid .card:nth-child(1) { transition-delay: 0s;     }
.cards-grid .card:nth-child(2) { transition-delay: 0.12s;  }
.cards-grid .card:nth-child(3) { transition-delay: 0.24s;  }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet ---- */
@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Mobile ---- */
@media (max-width: 720px) {
  :root {
    --section-py: 60px;
    --pad-x: 20px;
  }

  .hero {
    padding: 80px var(--pad-x) 120px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-illustration { display: none; }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-contact {
    justify-content: center;
  }


  .contact-form {
    padding: 28px 22px;
  }

  .footer-inner {
    gap: 32px;
  }
}

/* ---- Small mobile ---- */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .btn {
    padding: 13px 24px;
    font-size: 0.95rem;
  }
}
