/* ------------- Shared Styles (Across All Pages) -------------- */
*, *::before, *::after{box-sizing: border-box;}
html,body{height: 100%;}
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #2C3E50 ;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

/*Header Styles*/
.site-header{
    padding: 10px 15px;
    background-color: #caf880;
    border-radius: 12px;
    margin: 20px;
   }

.topbar{
    display: flex;
    justify-content: space-between;
    margin: 20px;
    background-color: #caf880;
    border-radius: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.topbar h1{
    margin: 0;
}
.site-title {
    margin: 0;
    font-size: 42px;
    color: #2C3E50;
  }
.site-title .sub{font-size: 20px; color: #234; }

/* Navigation Styles */
.main-nav{
    display: flex;
    gap: 12px;
    align-items: center;
    color: #2C3E50;
}

.main-nav a{
    color:#2C3E50;
    text-decoration: none;
    font-size: 25px;
    font-family: Arial, sans-serif;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.18s, transform 0.12s;
}
.main-nav a:hover{background:rgba(44,62,80,0.06); transform: translateY(-2px);}
.main-nav a:active{background:rgba(44,62,80,0.12); font-weight: 700;}
.main-nav a[aria-current="page"]{font-weight: 700; text-decoration: underline; text-underline-offset: 6px;}

.topbar button{
    background-color:#E9FFF5;
    color: #2C3E50;
    border-radius: 15px;
    height:auto;
    width: 150px;
    padding: 15px;
    font-size: 20px;
    font-family: Arial, sans-serif;
    margin-right: 10px;
}
/* Page Layout Styles */
.main{
    max-width: 1200px;
    margin: 22px auto;
    padding: 0 18px 60px;
}
.page-intro {
    text-align: center;
    padding: 20px 24px;
    margin-bottom: 32px;
}
.page-intro h2 { margin: 0 0 8px; color: #E9F8EF; font-size: 32px;}
.page-intro p { margin: 0 0 16px; color: #E6F5EA; font-size: 24px}

/* Responsiveness */
@media (max-width: 900px) {
    .topbar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .main-nav { width: 100%; justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
    .artist-card img { height: 200px; }
    form#ticket-form { padding: 14px; }
}

/* Footer Styles */
footer{
    
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 12px 0;
    margin-top: 30px;
}

/* ------------------- Home Page Styles -------------------*/

.main-layout{
    display: flex;
    gap: 20px;
    margin: 25px ;
}

/* All Right Column Styles */

.right-column{flex:1;}

.Artists-Container{
    width : 100%;
    max-width: fit-content;
    min-height : 910px;
    background-color: #E9FFF5;
    margin: 25px ;
    border-radius: 8px;
}
.Artists-Text{
    font-family: Arial, sans-serif;
    margin: 10px ;
    padding: 10px;
    padding-top: 40px;
    color: #2C3E50;
    font-size: 20px;
}
.Artists-Text h3{font-size: 45px; text-align: center;}

.gallery{
    display: grid;
    grid-template-columns: repeat(3,180px);
    gap: 30px 40px;
    justify-content: center;
    margin-top: 75px;
}

.artist{text-align: center;}
.artist img{
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;

}
.artist p{text-align: center; margin-top: 10px;}

/* All Left Column Styles */
.left-column{
    min-width: 0;
    flex:2;
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.left-column .Overview-Container, .left-column .Theme-Container, .right-column .Artists-Container{
    width: auto;
}

iframe{
    max-width: 100%;
    flex-shrink: 1;
    min-width: 0;
    padding: 20px;
    height:300px;
    width :300px ;
}

.Overview-Container{
    font-family: Arial, sans-serif;
    width : 100%;
    min-height : 500px;
    background-color: #1ABC9C;
    margin: 25px;
    display: flex;
    align-items: flex-start;
    gap : 20px;
    border-radius: 8px;
    
}
.Overview-Text{
    font-family: Arial, sans-serif;
    margin-left: 20px;
    flex: 1;
    color: #2C3E50;
    font-size: 18px;
}

.Overview-Text h3{font-size: 32px; margin-left: 20px;}

.Theme-Container{
    font-family: Arial, sans-serif;
    width : auto;
    min-height : 340px;
    background-color: #1ABC9C;
    margin: 25px ;
    border-radius: 8px;
}

.Theme-Text{
    font-family: Arial, sans-serif;
    margin: 25px ;
    padding: 10px;
    color: #2C3E50;
    font-size: 25px;
    text-align: center;
}

.Theme-Text h3{font-size: 32px; margin-left: 20px;}

/* ---------------------Lineup Page Styles -------------------*/

.lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  .artist-card {
    background: #E9FFF5;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
  }
  .artist-card:hover { transform: translateY(-6px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
  .artist-card figure { margin: 0; }
  .artist-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }
  .artist-card figcaption {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .artist-card h3 { margin: 0 0 6px; font-size: 18px; color: #214; }
  .artist-card .genre { font-size: 13px; margin: 0; color: #2C3E50; opacity: 0.85; }
  .artist-card .bio { padding: 12px 14px; font-size: 14px; color: #213; }

  /*----------------- Tickets Page Styles ------------------*/

  .form-section {
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 0 16px;
  }
  form#ticket-form {
    background: #E9FFF5;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    gap: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    width: 100%;
  }

  /*Inputs*/

  label { font-weight: 600; font-size: 14px; color: #163B34; }
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    width: 95%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 14px;
    background: #fff;
  }
  input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(27,188,155,0.18);
    border-color: rgba(27,188,155,0.45);
  }
  
  /*Fieldset*/ 

  fieldset { border: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
  legend { font-weight: 700; margin-bottom: 6px; }
  
  /*Terms*/
  label.terms { display: flex; align-items: center; gap: 8px; font-size: 14px; }
  
  /*Buttons*/
  .form-actions { display: flex; gap: 12px; align-items: center; }
  button[type="submit"], button[type="reset"], .main-nav a.button {
    background: #2C3E50;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.12s, opacity 0.12s;
  }
  button[type="reset"] { background: rgba(44,62,80,0.14); color: #142; font-weight: 600; }
  button:hover { transform: translateY(-3px); opacity: 0.98; }
  
  /*Form Messages*/
  #form-messages { padding: 8px 10px; border-radius: 8px; min-height: 32px; font-weight: 700; }
  #form-messages.error { background: #FFE8E8; color: #8E1B1B; }
  #form-messages.success { background: #E9FFF5; color: #0B6A3E; }
  
  .required { color: #B22222; margin-left: 4px; }

  /*--------------- Schedule Page ---------------*/

  .filter-buttons { margin: 10px 0 ; display: flex; gap: 8px; flex-wrap: wrap; margin-left: 5%;  }
  .filter-btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: #E9FFF5;
    cursor: pointer;
    font-weight: 700;
  }
  .filter-btn[aria-selected="true"], .filter-btn:focus { outline: 2px solid rgba(27,188,155,0.18); transform: translateY(-2px);}
  
  .schedule-table {
    width: 90%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    margin-left: 5%;
  }
  .schedule-table thead th {
    background: #caf880;
    text-align: left;
    padding: 12px;
    font-size: 14px;
    color: #2C3E50;
  }
  .schedule-table tbody td {
    padding: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: #233;
  }

/* Small screens: stack the home page columns (kept last so it overrides the page styles above) */
@media (max-width: 900px) {
    .site-title { font-size: 32px; }
    .site-title .sub { display: block; font-size: 16px; margin-top: 6px; }
    .main-nav a { font-size: 20px; }
    .main-layout { flex-direction: column; margin: 12px; }
    .Artists-Container, .Overview-Container, .Theme-Container { margin: 12px 0; min-height: 0; }
    .Artists-Container { max-width: none; }
    .gallery { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; margin-top: 24px; }
    .artist img { width: 100%; height: auto; aspect-ratio: 1; }
    .Overview-Container { flex-direction: column; }
    iframe { width: 100%; }
    .Theme-Text { margin: 12px; font-size: 20px; }
    .Artists-Text h3 { font-size: 32px; }
    .schedule-section { overflow-x: auto; }
}
