/* General Reset and Base Styles */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Navigation Bar Styles */
.nav-bar {
  background-color: #0a0a0a;
  padding: 5px 15px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  font-size: 14px; /* Decrease text size */
  padding: 5px 10px; /* Reduce padding */
}

.logo-img {
  border-radius: 8px;
  width: 150px; /* Adjust size */
  height: auto; /* Maintain aspect ratio */
}

.nav-links a:hover {
  color: #00bfa5;
  font-weight: bold;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
/* Hide icons by default */
.nav-icon {
  display: none;
  margin-right: 10px;
  font-size: 18px;
}

/* Show icons when the menu is active */
.nav-links.active .nav-icon {
  display: inline-block;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #00bfa5;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

/* Responsive Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a0a0a;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .logo-container {
    text-align: left; /* Ensures the container aligns left */
  }

  .logo-img {
    margin-left: -30px;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  border-radius: 30%;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}
/* Scroll Up Button Styles */
#scrollUpBtn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: #00bfa5; /* Button color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Initially hidden */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollUpBtn:hover {
  background-color: #008c73; /* Darker color on hover */
}

/* Intro Section */
.intro {
  padding: 150px 20px;
  background-color: #f9f9f9;
  text-align: center;
  background-image: url(../images/cinehp1.jpg);
  background-size: cover;
  background-position: center;
}

.intro h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #efe8e8;
}

.intro p {
  font-size: 1.5rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
/* For tablets and smaller screens */
@media (max-width: 1024px) {
  .intro {
    padding: 120px 20px;
  }

  .intro h1 {
    font-size: 2.5rem;
  }

  .intro p {
    font-size: 1.3rem;
    max-width: 500px;
  }
}

/* For mobile phones */
@media (max-width: 768px) {
  .intro {
    padding: 100px 20px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1.1rem;
    max-width: 400px;
  }
}

/* For very small mobile phones */
@media (max-width: 480px) {
  .intro {
    padding: 80px 10px;
  }

  .intro h1 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
    max-width: 90%; /* Ensure the paragraph takes most of the width */
  }
}
/* Featured Movies and Cinema List */
.movie-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.movie-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cinema {
  margin-bottom: 20px;
}

/* Cinema Content Layout */
.cinema-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  background-color: #fff;
  margin-top: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid #ddd;
}

.cinema-image {
  flex: 0 0 40%; /* Adjust width of the image */
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
  margin-left: 10px;
}

/* For mobile phones */
@media (max-width: 768px) {
  .cinema-image {
    max-width: 100%; /* Ensure the image doesn't exceed the container width */
    margin-left: 0; /* Remove left margin for better alignment on smaller screens */
    height: 80%;
  }
}

/* For very small mobile phones */
@media (max-width: 480px) {
  .cinema-image {
    max-width: 100%; /* Ensure the image stays fully responsive */
  }
}
.cinema-details {
  margin-top: 20px;
  flex: 1; /* Allow the text content to take up remaining space */
}

.cinema-details h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.cinema-details p {
  margin-top: 40px;
  margin: 5px 0;
  line-height: 1.8;
  font-weight: 400;
}

.cinema-details a {
  color: #00bfa5;
  font-weight: bold;
  text-decoration: none;
}

.cinema-details a:hover {
  text-decoration: underline;
}

/* Gallery Section */
.cinema-gallery {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 1, 0.1);
}
.cinema-gallery h3 {
  margin-bottom: 20px;
  text-decoration: underline;
  color: #00bfa5;
  font-weight: bold;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* For tablets and smaller screens */
@media (max-width: 1024px) {
  .cinema-content {
    flex-direction: column;
  }

  .cinema-image {
    max-width: 100%;
  }

  .cinema-gallery {
    padding: 20px 10px;
  }
}

/* For mobile phones */
@media (max-width: 768px) {
  .cinema-details h2 {
    font-size: 1.6rem;
  }

  .cinema-details p {
    font-size: 1rem;
  }

  .cinema-gallery h3 {
    font-size: 1.3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .cinema-image {
    max-width: 100%;
  }
}

/* For very small mobile phones */
@media (max-width: 480px) {
  .cinema-details h2 {
    font-size: 1.5rem;
  }

  .cinema-details p {
    font-size: 0.9rem;
  }

  .cinema-gallery {
    padding: 10px 5px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured Movies and Cinema List */
.featured-cinemas {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.featured-cinemas h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.movie-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.movie-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.movie-card img {
  width: 100%;
  height: 70%;
  border-bottom: 1px solid #ddd;
}

.movie-card h3 {
  font-size: 1.4rem;
  margin: 15px;
  color: #333;
}

.movie-card p {
  font-size: 1rem;
  margin: 0 15px 15px;
  color: #555;
}

.movie-card p span {
  font-weight: bold;
  color: #00bfa5;
}
.cinema-gallery {
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}
.btn {
  background-color: #00bfa5;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.btn:hover {
  background-color: #00796b;
}

.btn:hover {
  background-color: #00796b;
}
@media (max-width: 768px) {
  .movie-card h3 {
    font-size: 1.2rem;
  }

  .movie-card p {
    font-size: 0.9rem;
  }
}
/* Cinema Events Section */
.cinema-events {
  padding: 40px 20px;
  background-image: url(../images/up1.jpg);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.cinema-events h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #fff;
}

.cinema-events p {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto;
  max-width: 600px;
}

.cinema-events p span {
  font-weight: bold;
  color: #00bfa5;
}

@media (max-width: 768px) {
  .cinema-events h2 {
    font-size: 2rem;
  }

  .cinema-events p {
    font-size: 0.9rem;
  }
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
  justify-content: center;
  align-items: center; /* Center vertically */
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 600px;
  min-height: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center; /* Align content inside the modal */
}
.modal-content i {
  color: #ff9800; /* Gold color */
  margin-right: 8px;
  font-size: 1.2em;
}

.modal-content ul {
  list-style: none; /* Remove default bullet points */
  padding: 0;
}

.modal-content li {
  padding: 5px 0;
  font-size: 1rem;
}

/* Close Button */
.close-btn {
  float: right;
  color: #333;
  font-weight: bold;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Image Gallery Styling */
.image-gallery img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    max-width: 90%;
    padding: 15px;
  }

  .close-btn {
    font-size: 1.2rem;
  }
}
/* Footer Styles */
footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #00bfa5;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}
.social-media {
  text-align: center;
  margin-top: 20px;
}

.social-media a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
  text-align: center;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: #00bfa5; /* Change to your brand color */
  color: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .social-media a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    margin: 0 5px;
  }
}
html {
  scroll-behavior: smooth;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Chat Icon */
#chat-icon {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Keep it on the left */
  z-index: 9999; /* Ensure it stays on top of other elements */
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
}

#chat-icon:hover {
  background-color: #00796b;
}

/* Chat Window */
#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 9999; /* Ensures it stays above everything */
  font-family: Arial, sans-serif;
}

/* Chat Header */
#chat-header {
  background: #00bfa5;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Body */
#chat-body {
  max-height: 350px;
  overflow-y: auto;
  padding: 15px;
}

/* Chat Input */
#chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#chat-input-container button {
  background: #00bfa5;
  color: #fff;
  border: none;
  padding: 15px 10px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 8px;
}
#chat-input-container button:hover {
  background: #00796b; /* Darker green on hover */
}

#chat-input-container button:active {
  transform: scale(0.95); /* Slightly shrink on click */
}

/* Chat Messages */
.chat-message {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 80%;
}

.bot {
  background: #f1f1f1;
  align-self: flex-start;
}

.user {
  background: #00bfa5;
  color: white;
  align-self: flex-end;
}
.chat-btn {
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease-in-out;
}

.chat-btn:hover {
  background-color: #00796b;
}
/* Close Chat Button */
#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

#close-chat:hover {
  color: #ff6666; /* Light red on hover */
}

/* WhatsApp Chat Link */
.chat-body a {
  display: inline-block;
  text-decoration: underline; /* Underline the link */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
  text-align: center;
  margin-top: 5px;
  display: block;
}

.chat-body a:hover {
  background-color: #1eb056; /* Darker green on hover */
  text-decoration: underline; /* Ensure it remains underlined */
}
/* WhatsApp Chat Link Styling */
.whatsapp-link {
  text-decoration: underline !important; /* Ensures underline */
  color: #25d366 !important; /* WhatsApp green */
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
}

.whatsapp-link:hover {
  color: #1eb056; /* Darker green on hover */
  text-decoration: underline;
}
