@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
  font-family: 'Inter', Arial, sans-serif;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: #FFFAF0;
  color: black;
  line-height: 1.6;
}

header {
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  background-color: #FFFAF0;
  z-index: 1000;
}

header h1 {
  font-size: 2.5em;
  margin: 0;
  color: black;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo-link {
  display: inline-block;
}

.logo-image {
  height: 100px; 
  width: auto;
}

nav {
  margin-bottom: 20px;
}

nav a {
  font-size: 1.2em;             
  padding: 10px 15px;           
  margin-left: 5px;             
  text-decoration: none;
  color: black;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:first-child {
  margin-left: 0;
}

nav a:hover,
nav a:focus {
  background-color: #CF413D; 
  color: white;
}

main {
  background-color: #FFFAF0;
  padding: 25px;
  border-radius: 5px;
}

h2 {
  color: #CF413D;
  margin-top: 0;
}

footer {
  margin-top: 30px;
  font-size: 0.9em;
  color: black;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  text-align: center;
}

.footer-button {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 5px;
  background-color: #CF413D; 
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background-color 0.3s;
}

.footer-button:hover,
.footer-button:focus {
  background-color: #640909;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav a {
    margin-left: 0;
    margin-top: 10px;
    display: block;
    color: black;
  }
  nav a:hover,
  nav a:focus {
    background-color: #CF413D;
    color: white;
  }
}
nav a.active {
  background-color: #CF413D;
  color: white;
}
.event {
  display: flex;
  gap: 20px;            
  margin-bottom: 40px;
  align-items: flex-start;
}

.event-poster {
  width: 150px;          
  height: auto;
  border-radius: 5px;
  flex-shrink: 0;        
  box-shadow: 0 0 8px rgba(0,0,0,0.15); 
}

.event-content {
  flex: 1;               
  max-width: calc(100% - 150px - 20px); 
}

.event-date-type {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 4px;
  font-style: italic;
}

.event h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1.2;
}

.event p {
  margin-bottom: 16px;
  font-size: 1em;
  line-height: 1.5;
}


.event h3 a {
  color: inherit;
  text-decoration: none;
}

.event h3 a:hover,
.event h3 a:focus {
  text-decoration: underline; 
}
.event-detail-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-template-rows: auto auto;
  grid-gap: 20px 30px;
  margin-top: 20px;
}

.event-detail-poster {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.event-detail-content {
  grid-column: 2 / 3;
  grid-row: 1 / 3; 
  font-size: 1.1em;
  line-height: 1.5;
}

.ticket-button {
  display: inline-block;
  margin-bottom: 20px;
  padding: 12px 24px;
  background-color: #CF413D;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.ticket-button:hover,
.ticket-button:focus {
  background-color: #a6312b;
}
.back-button {
  display: inline-block;
  margin: 2px 0 20px 0; 
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: color 0.3s;
}

.back-button:hover,
.back-button:focus {
  color: #CF413D;
  text-decoration: underline;
}
.featured-event-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 15px; 
}

.featured-event-poster {
  width: 250px;          
  height: 350px;         
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  overflow: hidden;      
  display: block;        
}

.featured-event-info {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
}
.nav-forward-button {
  color: black;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 20px;
}

.nav-forward-button:hover,
.nav-forward-button:focus {
  color: #CF413D;
  text-decoration: underline;
}
.event-link {
  color: inherit;           
  text-decoration: none;    
  font-weight: bold;
}

.event-link:hover,
.event-link:focus {
  text-decoration: underline;  
  color: #CF413D;               
}
.additional-images {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap; 
}

.additional-images h3 {
  flex-basis: 100%; 
  margin-bottom: 15px;
}

.additional-images img {
  width: 45%;        
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  height: auto;
}
@media (max-width: 600px) {
  body {
    padding: 10px;
    max-width: 100%; 
    margin: 0 auto;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
  display: flex;           
  justify-content: center; 
  gap: 10px;               
  flex-wrap: wrap;         
}

nav a {
  display: inline-block;  
  margin: 0;              
  padding: 6px 10px;      
  font-size: 0.9em;      
  border-radius: 3px;
  color: black;
}


  nav a:hover,
  nav a:focus {
    background-color: #CF413D;
    color: white;
  }

  .event-detail-container {
    display: block; 
  }

  .event-detail-poster {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
    grid-column: unset !important;
    grid-row: unset !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
  }

  .event-detail-content {
    grid-column: unset !important;
    grid-row: unset !important;
    font-size: 1em;
    line-height: 1.4;
  }

 .ticket-button {
    width: 100%;              
    padding: 14px 0;          
    font-size: 1.1em;
    text-align: center;       
    display: inline-block;    
    box-sizing: border-box;   
  }

  
  .featured-event-container {
    flex-direction: column;
    align-items: center;
  }

  .featured-event-poster {
    width: 100% !important;
    height: auto !important;
    max-width: 350px;
  }

  
  .additional-images {
    flex-direction: column !important; 
    gap: 15px;
  }

  .additional-images img {
    width: 100% !important;
    max-width: 100% !important;
  }

  
  .back-button {
    display: block;
    margin: 10px auto 20px auto;
  }
}
  .slideshow-wrapper {
    float: left;
    width: 500px; 
    margin-right: 20px;
  }

  input[type="radio"] {
    display: none;
  }

  .slides {
    position: relative;
  }

  .slide {
    display: none;
  }

  .slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  #slide1:checked ~ .slides #s1,
  #slide2:checked ~ .slides #s2,
  #slide3:checked ~ .slides #s3,
  #slide4:checked ~ .slides #s4,
  #slide5:checked ~ .slides #s5 {
    display: block;
  }

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

  .nav-btn {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
   #slide1:checked ~ .navigation label[for="slide1"],
  #slide2:checked ~ .navigation label[for="slide2"],
  #slide3:checked ~ .navigation label[for="slide3"],
  #slide4:checked ~ .navigation label[for="slide4"],
  #slide5:checked ~ .navigation label[for="slide5"] {
    background-color: #717171;
  }

  .event-detail-content {
    overflow: hidden;
  }
@media (max-width: 600px) {
  .slideshow-wrapper {
    float: none !important;  
    width: 100% !important;   
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
  .event-detail-content {
    overflow: visible !important;
  }
}
