/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

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

.nav {
  display: flex;
  align-items: center;
}

.download-btn {
  background: #22c55e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: url('../grass_backdrop.png') center center/cover no-repeat;
  color: white;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
}

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

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: white;
  color: #22c55e;
}

.btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #22c55e;
  transform: translateY(-2px);
}

/* Song Ticker */
.ticker-section {
  background: #1f2937;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.ticker-container {
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 120s linear infinite;
}

.ticker-item {
  color: #22c55e;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ticker-separator {
  color: #6b7280;
  font-size: 1rem;
  margin: 0 4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Striped Sections */
.section {
  padding: 80px 0;
}

.section-light {
  background: #ffffff;
}

.section-dark {
  background: #f8fafc;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-text-content {
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
  line-height: 1.2;
}

.section-text {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
}

.section-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image {
  width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.placeholder-graphic {
  width: 400px;
  height: 300px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placeholder-graphic:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.3);
}

.placeholder-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* Specific graphic variations */
.songbook-graphic {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.practice-graphic {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.jam-graphic {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.founding-graphic {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.organizer-graphic {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Download Section */
.download-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Founding Jammers Section */
.founding-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.founding-button-container {
  margin-top: 30px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.download-apple-button img {
  width: 120px;
  height: auto;
}

.download-google-button img {
  width: 135px;
  height: auto;
}

/* Modal Styles */
.email-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

.email-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.email-modal-content h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.5rem;
}

.email-modal-content p {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.email-input {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: #22c55e;
}

.email-textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.email-textarea:focus {
  outline: none;
  border-color: #22c55e;
}

.instrument-section {
  margin: 15px 0;
}

.instrument-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

.instrument-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.submit-btn {
  background: #22c55e;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: #16a34a;
}

.submit-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.error-message {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 10px;
  border-radius: 6px;
  display: none;
  margin-top: 10px;
}

.success-message {
  color: #059669;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px;
  border-radius: 6px;
  display: none;
  margin-top: 10px;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content p {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-text-content {
    text-align: center;
  }

  .placeholder-graphic {
    width: 300px;
    height: 225px;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: 60px 0 40px;
    min-height: 50vh;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .ticker-item {
    font-size: 0.9rem;
  }

  .ticker-separator {
    font-size: 0.8rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for sections */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}
