body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
}
body:before {
    content: '';
    position: fixed;
    top: 0;d
    left: 0;
    width: 145%;
    height: 120%;
    background-image: url('https://riverviewcinemas8.com/images/bg.gif');
    background-repeat: repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    transform: rotate(15deg);
    transform-origin: 50% 0%;
    background-size: 15% auto;
}

        .logo-container {
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: pulse-logo 4s infinite ease-in-out;
        }
  
        
        /* Keyframes for the pulsing logo animation */
        @keyframes pulse-logo {
            0%, 100% {
                transform: scale(1);
                filter: brightness(1);
            }
            50% {
                transform: scale(1.05);
                filter: brightness(1.2);
            }
        }

.logo {
        transform: rotate(-20deg)  translateX(-22px) translateX(10px);
}

  header {
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  }

header img.logo {
  width: 300px;
  height: auto;
}    
  nav {
  display: flex;
  gap: 15px;
  }
nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
}
nav a:hover {
    border-bottom: 4px solid  #6c5ce7; 
    margin-bottom: -10px;
}  
  nav.active {
    display: flex;
    font-size: 3rem;
    text-align: center;
  }

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  }

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
}

  .main-container {
  display: flex;
  margin: 20px;
  }


.content {
  flex: 1;
  margin-left: 20px;
  }
.sidebar {
      width: 250px;
      padding: 15px;
      border-radius: 8px;
      border-top: 2px solid  #6c5ce7;
      border-right: 2px solid  #6c5ce7; 
      box-shadow: 15px 20px 10px rgba(0,0,0,0.2);
      background-image: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
      height: 100%;
    }  
.page-heading,
.page-heading a {
    margin-bottom: 12px;
    margin-bottom: 14px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #6c5ce7;
    border-bottom: 1px solid;
}

.page-heading-center {
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: bold;
  text-align: center;
}

.date-heading {
    background-color: white !important;
    margin-top: -13px;
    margin-left: -13px;
    width: 278px;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-bottom:0px;
    height: 40px;
}






.date-item {
    display: flex;
    text-align-last: center;
    position: relative;
    font-weight: 600;
    padding: 15px;
    margin-bottom: 8px;
    background-color: #f0f0f0;
    border-left: 4px solid #6c5ce7;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
}


.date-item .date-label {
position: absolute;
    top: -4px;
    left: 4px;
}

.date-item .day-name {
    flex: column;
    font-size-adjust: .6;
}
.date-item .short-date {
    flex: auto;
    font-size-adjust: .6;
    text-align-last: right;
}

.date-item:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
    background-color:  white;
    border-bottom: 4px solid  #6c5ce7; 

}

.date-item.today {
  font-weight: bold;
  color: #27ae60;
}

.special-heading {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #c0392b;
  font-weight: 600;
}

.date-item.special {
  background-color: #fff6e6;
  border-left: 4px solid #e67e22;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  }

.poster-grid img {
  width: 100%;
  border-radius: 8px;
}


.all-poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    border-top: 2px solid  #6c5ce7;
    padding-top: 20px;
  }

.all-poster-grid img {
  width: 125px;
  border-radius: 8px;
}




.welcome {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: #e74c3c;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  margin: 30px 0;
}
.gift {
    padding-top: 5px;
    margin-bottom: -20px;
}
.gift-icon {
  display: inline-block;
  background-color: #6c5ce7;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  font-style: normal;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.info-block-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background-color: #222;
  padding: 30px;
  color: #fff;
}

.info-block-column {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.info-block-column h4,
.info-block-column h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  border-bottom: 1px solid #6c5ce7;
  padding-bottom: 5px;
}

.info-block-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-block-column ul li {
  margin-bottom: 6px;
}

.info-block-column a {
  color: #ccc;
  text-decoration: none;
}

.info-block-column a:hover {
  text-decoration: underline;
}





/* COMING SOON SECTION STYLES */






.poster-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}

.poster-box {
  position: relative;
  width: 180px;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  width: 90%;
  background-color: white;
}

.poster-box a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.backdrop-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 1;
  filter: brightness(1.1) blur(.3px);
}

.poster-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 10px;
  margin-top: 10px;
}

.poster-title, .poster-date, .buy-tickets-btn {
  position: relative;
  z-index: 2;
}

.poster-title {
  font-weight: bold;
  margin-top: 8px;
  font-size: 1rem;
}

.poster-date {
    font-weight: 700;
    font-size: 1.2em;
    color: #6c5ce7;
}
.coming-soon-section {
  background-color: #fff3e0;
  border: 2px solid #6c5ce7;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
 box-shadow: 15px 20px 10px rgba(0,0,0,0.2);
}



.coming-soon-section, .poster-box, .sidebar
{
    background-color: transparent;
}
    .poster-grid a img:hover, .gift-icon:hover {
      transform: scale(1.1);
    }
    .poster-grid a img {
      transition: transform 0.2s ease;
    }







.coming-soon-section .section-title {
  font-size: 1.8rem;
  color: #d35400;
  margin-bottom: 20px;
}

.coming-soon-section .poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

.coming-soon-section .poster-grid div {
  text-align: center;
}

.coming-soon-section .poster-grid img {
  max-width: 150px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.coming-soon-section .poster-grid span {
  font-size: 0.9rem;
  color: #555;
}

.buy-tickets-btn {
  display: inline-block;
  width: 200px;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 6px 12px;
  background-color: #e67e22;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.buy-tickets-btn:hover {
  background-color: #d35400;
}

.advance-poster-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.advance-poster-small:hover {
  transform: scale(1.05);
}

.advance-date-flexbox {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.advance-date-right {
  max-width: 140px;
}

.advance-poster-small {
  width: 120px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.orange-button {
  background: #F77D24;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Sans-serif;
  font-size: 14px;
  padding: 10px;
}

.orange-button:hover {
    background-color: #e68a00;
}

.movie-poster {
  width: 100%;
  max-width: 220px;
  margin-bottom: 15px;
  border-radius: 6px;
}        

.movie-runtime,
.movie-rating,
.movie-genre {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.movie-synopsis {
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.5;
  border-bottom: 1px solid #ccc;
}

.movie-times {
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.viewing-times {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}
.singleoverview>a {
        color: #6c5ce7;
}

.showtime-block {
  display: inline-block;
  margin: 4px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  background-color: #D1FFBD;
  text-align: center;
  min-width: 90px;
  transition: transform 0.2s ease;
}
.showtime-block:hover {
    transform: scale(1.1);
}

.showtime-block a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.movie-info:hover {
    position: relative;
    width: 500px;
    background-color: white;
    z-index: 2;
    padding: 20px;
}

.showtime-time {
  font-weight: bold;
}

.showtime-status {
  font-size: 0.75rem;
}

.showtime-block.expired {
  background-color: #eee;
  color: #999;
  pointer-events: none;
}

.showtime-block.limited {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffe8a1;
}
.limited {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  border: 1px solid #ffe8a1;
}

.showtime-block.matinee {
  background-color: #fff9d6;
  color: #8a6d3b;
  border: 1px solid #ffe8a1;
}
.matinee {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
  border: 1px solid #ffe8a1;
}

.showtime-block.sold-out {
  background-color: #ccc;
  color: pink;
  border: 1px solid #ffe8a1;
}

.sold-out {
  background-color: #ccc;
  color: pink;
  border: 1px solid #ffe8a1;
}



.movie-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.movie-row:has(.viewing-header) .viewing-header {
  color: black;
  margin-top: 0;
  font-size: 1.3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  border-bottom: 1px solid;
}

.viewing-header:not(.movie-row) {
  color: #6c5ce7;
  margin-top: 0;
  font-size: 1.3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  border-bottom: 1px solid;
}

.movie-row {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #ccc;
  gap: 20px;
}
.movie-block {
    text-align: center;
    transition: transform 0.2s ease;
}
.movie-block:hover {
    transform: scale(1.75);
}

.left-column {
  flex: 0 0 auto;
  width: 180px;
  padding-right: 20px;
}


.right-column {
  flex: 1;
  min-width: 0;
}

.date-label {
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.day-name {
  font-size: 1.1rem;
  color: #2c3e50;
}

.short-date {
  font-size: 0.9rem;
  color: #555;
}









.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  box-sizing: border-box;
}

.gallery-grid img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}


.map-section {
      padding: 20px;
}
.map-wrapper {
      width: 100%;
      height: 600px;
      max-width: 100%;
      border: none;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-address {
      font-size: 1rem;
      color: #555;
      margin-bottom: 20px;
}


























  @media (max-width: 768px) {
      
  .hidden {
      display: none;
  }

.logo-container {
    animation: none;
}

.movie-row {
  flex-direction: column;
  align-items: center;
}

.left-column,
.right-column {
  width: 100%;
  padding: 10px 0;
}

.left-column {
  order: -1;
}

.welcome {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: #e74c3c;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  margin: 30px 0;
  transform: scale(1);
}

.gift {
    text-align-last:  center !important;
    width: 100% !important;
}

  .buy-tickets-btn {
    width: 90%;     /* take full width on small screens */
    max-width: none;
    padding: 2px;   /* more padding for finger tap */
    font-size: 1.1rem;
  }

.movie-poster {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}       
.movie-block:hover {
    transform: none;
}
.showtime-block:hover {
    transform: none;
}

header img.logo {
  width: 100%;
}    
    
.menu-toggle {
    position: absolute;
    right: 5px;
    display: block;
  }
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  nav.active {
    display: flex;
    font-size: 3rem;
    text-align: center;
  }
  .main-container {
    flex-direction: column-reverse;
    margin: 10px;
  }
  .content {
    margin-left: 0;
  }
  .sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  
.date-heading {
    font-size: 2.2rem;
    width: 100%;
    text-align-last: center;
    padding-bottom: 15px;
}  

.date-item {
display: flex;
    text-align-last: center;
    position: relative;
}

.date-item .date-label {
position: absolute;
    top: -2px;
}

.date-item .day-name {
    flex: column;
    font-size-adjust: 1;
}
.date-item .short-date {
    flex: auto;
    font-size-adjust: 1;
    text-align-last: right;
    padding-right: 30px;
}

.sidebar>img {
width: 90% !important;
}
  
  .info-block-container {
    flex-direction: column;
    gap: 20px;
  }
  .poster-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .gallery-grid {
    padding: 10px;
    gap: 10px;
  }

  .gallery-grid img {
    max-width: 100%;
    height: auto;
  }
.map-section {
        padding: 15px;
      }

.map-wrapper {
        height: 300px;
      } 
  
}




.pi-link {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  color: #000;
  text-decoration: none;
  z-index: 9999;
  font-family: 'Arial', sans-serif;
  transition: opacity 0.3s;
}

.pi-link:hover {
  opacity: 0.7;
}



