/* === Color Palette (from Immaculate Heart branding) === */
:root {
  --blue:      #0a2757;
  --night:     #0559a9;
  --sky:       #26b3e8;
  --dark-rose: #ce0f69;
  --rose:      #ed1978;
  --study:     #a4123f;
  --pop:       #dffe00;
  --wind:      #dfdad7;
  --white:     #ffffff;
  --gray-1:    #3a3a3a;
  --gray-2:    #666666;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--gray-1);
  background: var(--white);
  line-height: 1.6;
}

/* === Password Gate === */
#password-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue) 0%, var(--night) 50%, var(--dark-rose) 100%);
  padding: 1.5rem;
}

.gate-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
}

.gate-header {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 2rem 2rem;
}

.heart-icon {
  font-size: 2.5rem;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.gate-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gate-subtitle {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.gate-form {
  padding: 2rem;
}

.gate-form label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--blue);
}

.gate-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--wind);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.gate-form input:focus {
  border-color: var(--night);
}

.error-message {
  color: var(--dark-rose);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.gate-form button {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--blue);
  background: var(--pop);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gate-form button:hover {
  opacity: 0.88;
}

/* === Header === */
header {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.header-inner h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 1.15rem;
  margin-top: 0.5rem;
  color: var(--pop);
  font-weight: 500;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2rem;
  color: var(--dark-rose);
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--gray-1);
}

.hero-detail {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--night);
  font-size: 1.05rem;
}

/* === Cards === */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card--tickets  { background: var(--night); }
.card--tshirt   { background: var(--dark-rose); }
.card--saturday { background: var(--study); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  opacity: 0.9;
  flex-grow: 1;
}

.card-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pop);
}

/* === Details === */
.details {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
}

.details h2 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

.details ul {
  list-style: none;
}

.details li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wind);
  font-size: 1rem;
}

.details li:last-child {
  border-bottom: none;
}

/* === Photo Callout === */
.photo-callout {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--wind);
  border-radius: 12px;
  border-left: 4px solid var(--sky);
  margin-bottom: 1.5rem;
}

.photo-callout h2 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.photo-callout p {
  font-size: 1.05rem;
  color: var(--gray-1);
}

.photo-callout a {
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--sky);
  transition: color 0.2s, border-color 0.2s;
}

.photo-callout a:hover {
  color: var(--dark-rose);
  border-color: var(--dark-rose);
}

/* === Video Callout === */
.video-callout {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--wind);
  border-radius: 12px;
  border-left: 4px solid var(--rose);
  margin-bottom: 2rem;
}

.video-callout h2 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.video-callout p {
  font-size: 1.05rem;
  color: var(--gray-1);
}

.video-callout a {
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--rose);
  transition: color 0.2s, border-color 0.2s;
}

.video-callout a:hover {
  color: var(--dark-rose);
  border-color: var(--dark-rose);
}

/* === Check Back / Back Link === */
.check-back {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--dark-rose);
  font-size: 1.05rem;
}

.back-link {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.back-link a {
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--wind);
  color: var(--gray-2);
  font-size: 0.875rem;
}

/* === Responsive === */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }

  header { padding: 2rem 1.5rem; }
  .header-inner h1 { font-size: 1.75rem; }
  .hero h2 { font-size: 1.5rem; }
}
