/* ============================================
   LOUNGE BABY BAND - Main Stylesheet
   Colours: Teal #009999, Orange #FF9900
   Font: Lobster (headings), Lato (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Lato:wght@300;400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --teal:        #009999;
  --teal-light:  #33CCCC;
  --teal-dark:   #006666;
  --teal-deep:   #003333;
  --orange:      #FF9900;
  --orange-bright:#FF6600;
  --orange-dark: #CC6600;
  --brown:       #663300;
  --cream:       #FFCC99;
  --white:       #FFFFFF;
  --dark:        #1a1a1a;
  --mid-dark:    #2a2a2a;
  --grey:        #555555;
  --light-grey:  #f5f5f5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--orange); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--teal-light); }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Lobster', cursive;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: #cccccc; }

/* ---- Layout Helpers ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-dark  { background: var(--dark); }
.section-mid   { background: var(--mid-dark); }
.section-teal  { background: var(--teal-deep); }
.section-brown { background: var(--brown); }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  color: var(--orange);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--cream);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--orange-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,153,0,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--teal-light);
  border: 2px solid var(--teal-light);
}
.btn-secondary:hover {
  background: var(--teal-light);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.97);
  border-bottom: 2px solid var(--teal-dark);
  padding: 0.8rem 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(255,153,0,0.1);
}

.nav-links .btn-nav {
  background: var(--orange);
  color: var(--dark) !important;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-left: 0.5rem;
}
.nav-links .btn-nav:hover {
  background: var(--orange-bright);
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,51,51,0.3) 0%,
    rgba(26,26,26,0.1) 50%,
    rgba(26,26,26,0.95) 100%
  );
  z-index: 1;
}

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

.hero-logo {
  width: min(220px, 50vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6));
}

.hero-tagline {
  font-family: 'Lobster', cursive;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--teal-light);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

/* ---- Social Bar ---- */
.social-bar {
  background: var(--teal-deep);
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid var(--teal-dark);
  border-bottom: 1px solid var(--teal-dark);
}

.social-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.3rem 1rem;
  transition: color 0.3s;
}
.social-bar a:hover { color: var(--orange); }
.social-bar svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--mid-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,153,153,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,153,153,0.2);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 { color: var(--orange); margin-bottom: 0.5rem; }
.card-body p  { color: #aaa; font-size: 0.95rem; margin: 0; }

/* ---- Band Members ---- */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.member-card {
  background: var(--mid-dark);
  border: 1px solid rgba(255,153,0,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  width: 160px;
  transition: transform 0.3s;
}
.member-card:hover { transform: translateY(-4px); }

.member-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Lobster', cursive;
  font-size: 1.6rem;
  color: var(--white);
}

.member-card h4 { color: var(--orange); font-size: 1rem; margin-bottom: 0.2rem; }
.member-card p  { color: var(--teal-light); font-size: 0.85rem; margin: 0; }

/* ---- Gig Listings ---- */
.gig-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--mid-dark);
  border-radius: 10px;
  border-left: 4px solid var(--teal);
  margin-bottom: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}
.gig-item:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}

.gig-date {
  text-align: center;
  background: var(--teal-deep);
  border-radius: 8px;
  padding: 0.5rem;
}
.gig-date .day   { font-family: 'Lobster', cursive; font-size: 1.8rem; color: var(--orange); line-height: 1; }
.gig-date .month { font-size: 0.75rem; text-transform: uppercase; color: var(--teal-light); letter-spacing: 1px; }

.gig-info h4 { color: var(--white); margin-bottom: 0.2rem; }
.gig-info p  { color: #888; font-size: 0.9rem; margin: 0; }

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---- Video Grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid rgba(0,153,153,0.3);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ---- Press Kit ---- */
.press-download {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--mid-dark);
  border: 1px solid rgba(0,153,153,0.3);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.press-download:hover { border-color: var(--orange); }
.press-download .icon {
  font-size: 2rem;
  min-width: 40px;
  text-align: center;
}
.press-download .info h4 { color: var(--white); margin-bottom: 0.2rem; }
.press-download .info p  { color: #888; font-size: 0.85rem; margin: 0; }
.press-download .dl-btn  { margin-left: auto; }

/* ---- Contact Form ---- */
.contact-form {
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--teal-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--mid-dark);
  border: 1px solid rgba(0,153,153,0.4);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,153,0,0.15);
}

.form-group select option { background: var(--mid-dark); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- Merch ---- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.merch-card {
  background: var(--mid-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,153,0,0.15);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.merch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255,153,0,0.2);
}

.merch-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--teal-deep), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.merch-body { padding: 1.2rem; }
.merch-body h4 { color: var(--white); margin-bottom: 0.3rem; }
.merch-body .price { color: var(--orange); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }

/* ---- Weddings/Events ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--mid-dark);
  border-radius: 12px;
  border-top: 3px solid var(--teal);
  transition: border-color 0.3s, transform 0.3s;
}
.feature-item:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 { color: var(--orange); margin-bottom: 0.5rem; }
.feature-item p  { color: #aaa; font-size: 0.95rem; margin: 0; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--mid-dark);
  border-left: 4px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial p { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.5rem; }
.testimonial cite { color: var(--teal-light); font-size: 0.85rem; font-style: normal; font-weight: 700; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--dark) 60%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,153,153,0.15) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--orange); margin-bottom: 0.5rem; }
.page-hero p  { color: var(--cream); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---- Footer ---- */
footer {
  background: #111;
  border-top: 2px solid var(--teal-dark);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col p,
.footer-col a {
  color: #888;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-col a:hover { color: var(--teal-light); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mid-dark);
  border: 1px solid rgba(0,153,153,0.3);
  color: var(--white);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--dark);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 1.5rem;
  text-align: center;
  color: #555;
  font-size: 0.85rem;
}

/* ---- Divider ---- */
.divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--orange), transparent);
  border: none;
  margin: 0;
}

/* ---- Highlight text ---- */
.text-orange { color: var(--orange); }
.text-teal   { color: var(--teal-light); }
.text-cream  { color: var(--cream); }
.text-center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--teal-dark);
    gap: 0.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0.5rem; font-size: 0.9rem; }
  .nav-toggle { display: flex; }

  .gig-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
  }
  .gig-item .btn { grid-column: 1 / -1; text-align: center; }

  .hero-buttons { flex-direction: column; align-items: center; }

  /* Stack all 2-column grids to single column on mobile */
  .two-col-stack,
  .mobile-stack {
    display: block !important;
  }
  .two-col-stack > div,
  .mobile-stack > div {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  /* Reverse order on mobile so image comes first */
  .about-text-first {
    order: 2;
  }
  .about-img-first {
    order: 1;
  }

  /* Hero image — better mobile cropping */
  .hero-bg {
    background-position: center 20% !important;
    background-size: cover !important;
  }

  /* Hero content padding */
  .hero-content {
    padding: 1rem 1rem;
  }

  .hero-logo {
    width: min(160px, 45vw);
  }

  /* About page bio grid */
  .bio-grid {
    grid-template-columns: 1fr !important;
  }

  /* Card grid mobile */
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  /* Members grid */
  .members-grid {
    gap: 1rem;
  }
  .member-card {
    width: 130px;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
  }

  /* Social bar wrap */
  .social-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
  }
  .social-bar a {
    font-size: 0.8rem;
    margin: 0.2rem 0.5rem;
  }

  /* Section padding */
  .section { padding: 3rem 0; }

  /* Typography scale down */
  p { font-size: 0.95rem; }

  /* Form card padding */
  .form-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 0; }
  .page-hero { padding: 7rem 0 2.5rem; }

  /* Footer single column on very small screens */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero tagline smaller */
  .hero-tagline {
    font-size: 1.2rem;
  }

  /* Container padding */
  .container {
    padding: 0 1rem;
  }
}