/* styles.css */

/* Root Variables */
:root {
    --main-orange: #ff6600;
    --main-black: #191919;
    --main-white: #f8f8f8;
  }
  
  /* ---------------------- */
  /* General Body & Headers */
  /* ---------------------- */
  body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--main-black);
    color: var(--main-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  h1 {
    color: var(--main-orange);
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
  }
  
  h2 {
    color: var(--main-orange);
    margin-bottom: 1.2rem;
    font-size: 2rem;
  }
  
  p {
    color: var(--main-white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  /* ---------------------- */
  /* Navbar Styles */
  /* ---------------------- */
  .navbar {
    width: 100%;
    background: #191919;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 1rem 0 0.7rem 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
  }
  
  .navbar a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.07rem;
    transition: color 0.2s;
  }
  .navbar a:hover {
    color: #fff;
  }
  
  /* ---------------------- */
  /* Shared UI Components */
  /* ---------------------- */
  .logo {
    width: 70px;
    margin-bottom: 1.3rem;
    filter: drop-shadow(0 2px 10px #ff660080);
  }
  
  .cta-btn,
  .submit-btn {
    background: var(--main-orange);
    color: var(--main-white);
    font-size: 1.15rem;
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
    text-decoration: none;
    display: inline-block;
  }
  .cta-btn:hover,
  .submit-btn:hover {
    background: #ff8800;
    transform: translateY(-2px) scale(1.04);
  }
  .submit-btn {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    margin-top: 0.5rem;
    transition: background 0.2s, transform 0.2s;
  }
  .submit-btn:hover {
    transform: translateY(-1px) scale(1.03);
  }
  
  /* ---------------------- */
  /* Landing Page Styles */
  /* ---------------------- */
  .container {
    max-width: 480px;
    padding: 2rem;
    background: rgba(25, 25, 25, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.7);
    text-align: center;
  }
  
  /* ---------------------- */
  /* Signup Page Styles */
  /* ---------------------- */
  .form-container {
    background: rgba(25,25,25,0.97);
    border-radius: 1.5rem;
    box-shadow: 0 6px 32px rgba(0,0,0,0.7);
    padding: 2rem 2.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  
  label {
    text-align: left;
    font-weight: bold;
    color: var(--main-white);
    margin-bottom: 0.3rem;
    font-size: 1rem;
  }
  
  input,
  select {
    padding: 0.7rem;
    border-radius: 0.7rem;
    border: none;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    background: #232323;
    color: var(--main-white);
  }
  
  input:focus,
  select:focus {
    outline: 2px solid var(--main-orange);
  }
  
  .thank-you {
    display: none;
    color: var(--main-orange);
    font-size: 1.3rem;
    margin-top: 2rem;
  }
  
  /* ---------------------- */
  /* Schedule Table Styles */
  /* ---------------------- */
  .schedule-table {
    margin: 2rem 0 1.5rem 0;
    overflow-x: auto;
  }
  .schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(25,25,25,0.97);
    border-radius: 1.2rem;
    overflow: hidden;
  }
  .schedule-table th, .schedule-table td {
    padding: 0.95rem 0.5rem;
    text-align: center;
  }
  .schedule-table th {
    background: var(--main-orange);
    color: var(--main-white);
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  .schedule-table tr:nth-child(even) {
    background: #222;
  }
  .schedule-table tr:nth-child(odd) {
    background: #191919;
  }
  .schedule-table td {
    color: var(--main-white);
    font-size: 1.04rem;
  }
  
  /* ---------------------- */
  /* Media Queries */
  /* ---------------------- */
  @media (max-width: 540px) {
    .container {
      padding: 1rem;
      max-width: 94vw;
    }
    h1 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 500px) {
    .form-container {
      padding: 1rem;
      max-width: 97vw;
    }
  }
  
  @media (max-width: 600px) {
    .schedule-table th, .schedule-table td {
      padding: 0.6rem 0.25rem;
      font-size: 0.98rem;
    }
  }
  

  .image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  /* -------- Grouped Schedule Layout -------- */
.schedule-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 1.5rem 0;
}

/* 2 columns on larger screens for faster scanning */
@media (min-width: 820px) {
  .schedule-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Day card */
.day-card {
  position: relative;
  background: rgba(25,25,25,0.97);
  border-radius: 1.2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
  overflow: hidden;
  border-left: 6px solid var(--main-orange); /* accent bar for instant grouping */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.65);
}

/* Day header */
.day-title {
  background: linear-gradient(90deg, var(--main-orange), #ff8800);
  color: var(--main-white);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
}

/* Class list inside each day */
.class-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0.75rem 0.9rem 0.75rem;
}

.class-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid #222;
}

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

.time {
  font-weight: 700;
  color: var(--main-orange);
  text-align: left;
  letter-spacing: 0.3px;
}

.class-name {
  color: var(--main-white);
  text-align: left;
}

/* Make rows tighter on small screens */
@media (max-width: 420px) {
  .class-list li {
    grid-template-columns: 95px 1fr;
    padding: 0.55rem 0.35rem;
  }
}

