* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #222;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-container {
    width: 100%;
    text-align: center;
    padding: 20px;
   
     background-color: #fbe67e;
}

.logo-container img {
    height: 60px;
    max-width: 90%;
    object-fit: contain;
}

@media (min-width: 801px) {
    .logo-container img {
        height: 120px;
    }
}


/* =========================================================
   EVENTS CONTAINER
   ========================================================= */

/*
   Contains all of the individual event rows.
*/

.events-container {
    width: 100%;
    padding: 0 125px 80px 125px;
}

/* Middle stays centred */
.middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0 25px 10px 25px;
}
/* =========================================================
   INDIVIDUAL EVENT ROW
   ========================================================= */

/*
   Each event consists of:

   LEFT  = show information
   RIGHT = ticketing information

   Each event is its own visual block.
*/

.event-row {
    display: grid;

    grid-template-columns: 55% 45%;

    width: 100%;
    margin-bottom: 20px;

    border-radius: 8px;
    overflow: hidden;

    border: 1px solid #ddd;

    /*
       Prevents content in one event from affecting
       the width of another event.
    */

    min-width: 0;
}


/* =========================================================
   SECTION 1 - SHOW INFORMATION
   ========================================================= */

.event-info {
    width: 100%;
    min-width: 0;

    padding: 25px 30px;

    /*
       Subtle background for show information.
    */

    background: #f5f8ff;
}


/* =========================================================
   EVENT CONTENT

   The order is:

       PHOTO
       DATE
       INFORMATION
       OTHER DETAILS
   ========================================================= */

.event-details {
    display: flex;
    flex-direction: column;

    width: 100%;
}


/* =========================================================
   EVENT IMAGE
   ========================================================= */

.image-container {
    width: 100%;
    margin-bottom: 15px;
}

.image-container img {
    display: block;

    width: 340px;
    max-width: 100%;
    height: auto;

    border-radius: 8px;
}


/* Multiple images */

.image-container.multi-image {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   EVENT DATE / HEADING
   ========================================================= */

.event-details strong {
    display: block;

    margin: 0 0 7px 0;

    font-size: 20px;
    line-height: 1.3;

    color: #222;
}


/* =========================================================
   EVENT TEXT
   ========================================================= */

.event-details p {
    margin: 5px 0;

    font-size: 16px;
    line-height: 1.5;

    color: #222;
}


/* =========================================================
   SECTION 2 - TICKETING
   ========================================================= */

/*
   This belongs specifically to the event on its left.
*/

.event-tickets {
    width: 100%;
    min-width: 0;

    padding: 25px 20px;

    /*
       Slightly different shade makes it clear that
       this is the ticketing section for this event.
    */

    background: #edf3ff;

    border-left: 1px solid #d5deef;
}


/* Ticket heading */

.event-tickets h2,
.event-tickets h3 {
    margin-top: 0;
    margin-bottom: 15px;
}


/* =========================================================
   TICKETING ROW
   ========================================================= */

.ticket-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid rgba(0,0,0,0.10);
}


.ticket-name {
    flex: 1;

    min-width: 0;

    font-size: 15px;
}


.ticket-price {
    white-space: nowrap;

    font-weight: bold;
}


/* Ticket quantity input */

.ticket-input {
    width: 50px;

    padding: 5px;

    text-align: center;

    font-size: 16px;
}


/* =========================================================
   AVAILABILITY
   ========================================================= */

.availability {
    font-size: 13px;

    color: #666;

    margin-top: 4px;
}


/* =========================================================
   SOLD OUT
   ========================================================= */

.sold-out {
    color: #b00020;

    font-weight: bold;
}


/* =========================================================
   SECTION 3 - BASKET
   ========================================================= */

/*
   Basket is completely separate from the event rows.
*/

.basket-section {
    width: 100%;

    padding: 25px 30px;

    background: #fafafa;

    border-top: 1px solid #ddd;
}


.basket {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    padding: 20px;

    background: #fff;

    border-radius: 8px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


.basket h2 {
    margin-top: 0;
}


/* =========================================================
   MOBILE BASKET BUTTON
   ========================================================= */

.basket-toggle {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {


    /* =====================================================
       EVENTS CONTAINER
       ===================================================== */

    .events-container {
        padding: 0 15px 30px 15px;
    }


    /* =====================================================
       EVENT ROW

       Desktop:
          show | tickets

       Mobile:
          show
          tickets
    ===================================================== */

    .event-row {
        display: flex;

        flex-direction: column;

        width: 100%;

        margin-bottom: 20px;
    }


    /* =====================================================
       SHOW INFORMATION
       ===================================================== */

    .event-info {
        width: 100%;

        padding: 20px 22px;

        background: #f5f8ff;
    }


    /* =====================================================
       TICKETING
       ===================================================== */

    .event-tickets {
        width: 100%;

        padding: 20px 22px;

        background: #edf3ff;

        border-left: none;

        border-top: 1px solid #d5deef;
    }


    /* =====================================================
       IMAGE
       ===================================================== */

    .image-container {
        text-align: center;

        margin-bottom: 12px;
    }


    .image-container img {
        width: 120px;

        margin: 0 auto;
    }


    /* =====================================================
       EVENT DETAILS
       ===================================================== */

    .event-details {
        width: 100%;

        text-align: left;
    }


    .event-details strong {
        font-size: 18px;
    }


    .event-details p {
        font-size: 15px;

        line-height: 1.5;
    }


    /* =====================================================
       TICKET ROW
       ===================================================== */

    .ticket-row {
        gap: 8px;

        padding: 10px 0;
    }


    .ticket-name {
        font-size: 14px;
    }


    /* =====================================================
       BASKET

       On mobile the basket becomes a slide-in panel.
    ===================================================== */


   /* Make right-side a slide-in panel on mobile, off-canvas by default */
    .right-side{
      position:fixed;
      top:0;
      right:0;
      width:94%;
      max-width:420px;
      height:100vh;
      background:white;
      box-shadow: -8px 0 24px rgba(0,0,0,0.12);
      transform: translateX(100%);
      transition: transform 0.28s ease;
      z-index:1200;
      border-left: none;
      padding:18px;
    }

    .right-side.open{
      transform: translateX(0);
    }

    /* Toggle button visible on mobile only */
    .basket-toggle{
      display:block;
      position:fixed;
      top:14px;
      right:14px;
      z-index:1300;
      width:48px;
      height:48px;
      border-radius:50%;
      background:#111;
      color:white;
      display:flex;
      align-items:center;
      justify-content:center;
      font-size:20px;
      cursor:pointer;
      box-shadow:0 6px 18px rgba(0,0,0,0.18);
    }

    /* hide desktop basket inside document flow so the left side can fill */
    .right-placeholder{
      display:none;
    }
  }

  /* Desktop: hide the floating toggle */
  @media (min-width:801px){
    .basket-toggle{ display:none; }
  }


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .events-container {
        padding-left: 10px;
        padding-right: 10px;
    }


    .event-info {
        padding-left: 18px;
        padding-right: 18px;
    }


    .event-tickets {
        padding-left: 18px;
        padding-right: 18px;
    }


    .basket-section {
        width: 94%;
    }

}



/* Form container */

.form-container {
   margin-top: 0px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}



.fixed-button {
     
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #007bff; /* Adjust color as needed */
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 18px;
    border: none;
    cursor: pointer;
    z-index: 1000; /* Keeps it above other elements */
}


.pretty-button {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 18px 45px;
  border: none;
  border-radius: 50px;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.35);
  transition: 0.2s ease;
}

.pretty-button:hover {
  background: #c92f3b;
  transform: scale(1.04);
}
 