@import url('https://fonts.googleapis.com/css2?family=UTM Avo.ttf:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #ffffff;
  /* Brighter cyan for a fresh, energetic feel */
  --secondary-color: #FF6B81;
  /* Vivid coral pink for a bold accent */
  --dark-color: #ffffff;
  /* Slightly lighter navy for better contrast */
  --light-color: #FFFFFF;
  /* Pure white for a clean, bright background */
  --text-color: #1F2A44;
  /* Darker navy text for readability */
  --text-light: #FFFFFF;
  /* Kept white for text on dark backgrounds */
  --gray-light: #F5F7FA;
  /* Brighter, softer gray for subtle elements */
  --gray-medium: #6B7280;
  /* Lighter, modern gray for mid-tones */
  --transition-speed: 0.3s;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Slightly softer shadow */
  --hover-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  /* Lighter hover shadow */

}

/* Rest of the CSS remains unchanged */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "UTM Avo.ttf";
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-4 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(251, 243, 234, 1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 10px 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
}

.logo {
  height: 50px;
  transition: transform var(--transition-speed);
}

.logo:hover {
  transform: scale(1.05);
}



.nav-ul a,
.cta {
  font-family: "UTM Avo.ttf";
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
}






.nav-ul li a:hover {
  color: var(--secondary-color);
}

.nav-ul li a:hover::after {
  width: 100%;
}

.nav-user a {
  display: flex;
  align-items: center;
}

.nav-user i {
  margin-right: 5px;
  font-size: 1.2rem;
}

/* Nav Menu Click to Action (CTA) button */
.cta {
  padding: 8px 20px;
  background-color: var(--secondary-color);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  box-shadow: var(--box-shadow);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.cta:hover {
  background-color: #ffffff;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

/* Mobile Menu */
.hamburger {
  background-color: transparent;
  border: 0;
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.hamburger:focus {
  outline: none;
}

.hamburger:hover {
  color: var(--secondary-color);
}

/* Page Contents Div */
.wrapper-parallax {
  margin-top: -20px;
}

.content {
  position: relative;
  z-index: 1;
  background: rgba(251, 243, 234, 1);
  min-height: 2550px;
}

.content2 {
  position: relative;
  z-index: 1;
  background: rgba(251, 243, 234, 1);
  padding: 0px 20px 0px 20px;
  /* Thêm padding để nội dung không bị dính sát */
  min-height: 100vh;
  /* Cao tối thiểu bằng chiều cao màn hình */
  height: auto;
  color: #000000;
  /* Chữ mặc định màu trắng trên nền tối */
  overflow: hidden;
  /* Tránh tràn nội dung ngoài */
  transition: background 0.5s ease;
  /* Mượt hơn khi chuyển màu (nếu có animation JS) */
  /* Bo góc dưới cho mềm mại nếu cần */
}

.content-container {
  background: FBF3EA;
}

/* Banner Carousel */
.banner-container {
  position: relative;
  overflow: hidden;
  max-height: 600px;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border-radius: 10px;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel-item {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 2s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  text-align: left;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out;
}

.carousel-caption p {
  font-size: 1.1rem;
  max-width: 80%;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1.2s ease-out;
}

.carousel-caption .btn {
  animation: fadeInUp 1.4s ease-out;
}

/* Trending Events Section */
.trending-events {
  padding: 3rem 0;
  color: #fff;
}

.trending-events h1,
.events h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Event Cards */

.event-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--box-shadow);
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.event-img-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.event-card:hover .event-img {
  transform: scale(1.1);
}

.event-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.event-info {
  padding: 20px;
}

.event-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.event-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.event-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.event-meta i {
  color: var(--secondary-color);
  margin-right: 5px;
}

.event-price {
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.event-price .regular-price {
  margin-right: 15px;
}

.event-price .vip-price {
  color: gold;
}

.book-now-btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  text-align: center;
  width: 100%;
}

.book-now-btn:hover {
  background-color: #fff;
  color: var(--secondary-color);
}

/* Form Styling */
.form-container {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  margin: 3rem auto;
  max-width: 1000px;
  padding: 30px;
  box-shadow: var(--hover-shadow);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-group {
  flex: 1 0 48%;
  margin-right: 2%;
  margin-bottom: 20px;
}

.form-group:nth-child(even) {
  margin-right: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(97, 45, 202, 0.2);
  outline: none;
}

.btn-submit {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  display: block;
  width: 100%;
  margin-top: 20px;
}

.btn-submit:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 3rem 0;
  position: relative;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  margin-right: 30px;
  margin-bottom: 30px;
}

.footer-section:last-child {
  margin-right: 0;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  margin-left: 5px;
}

.social-icons {
  display: flex;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media screen and (max-width: 1120px) {
  .header-container {
    padding: 0 15px;
  }


  .logo {
    max-width: 150px;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
    max-width: 100%;
  }

  .form-group {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

@media screen and (max-width: 968px) {

  /* Header becomes horizontal layout */
  .header {
    padding: 8px 0;
  }

  .header-center {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 0 15px !important;
  }

  .logo-link {
    margin-bottom: 0 !important;
  }


  .hamburger {
    display: block !important;
  }

  /* .nav-ul {
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    background-color: rgba(251, 243, 234, 0.98) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 40px 20px !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 999 !important;
  } */

  .nav-ul.show {
    transform: translateX(0) !important;
  }

  .carousel-item {
    height: 400px;
  }

  .carousel-caption {
    padding: 20px;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .event-img {
    height: 350px;
  }

  .footer-section {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .event-meta {
    flex-direction: column;
  }

  .event-meta span {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 8px 0;
  }

  .content2 {
    padding-top: 2.5rem;
    padding-left: 0;
    padding-right: 0;
  }

  .header-center {
    padding: 0 10px !important;
  }


  .carousel-item {
    height: 300px;
  }

  .carousel-caption h1 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    display: none;
  }

  .trending-events h1,
  .events h1 {
    font-size: 1.8rem;
  }

  .event-card {
    margin-bottom: 20px;
  }

  .event-img {
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .header {
    padding: 6px 0;
  }

  .header-center {
    padding: 0 5px !important;
  }



  .carousel-item {
    height: 250px;
  }
}

@media screen and (max-width: 480px) {
  .header-center {
    padding: 0 5px !important;
  }

}

/* Admin Dashboard Styles */
.admin-section {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 30px;
  box-shadow: var(--hover-shadow);
}

.admin-section-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.admin-section-stats-panel {
  flex: 1;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 0 10px 20px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.admin-section-stats-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.admin-section-stats-panel i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 50%;
  color: #fff;
}

.admin-section-stats-panel h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.admin-section-stats-panel h3 {
  font-size: 1rem;
  color: #777;
  font-weight: 500;
}

.admin-panel-section-header {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.admin-panel-section-header h2 {
  color: var(--dark-color);
  font-size: 1.8rem;
}

.admin-panel-section-booking-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  transition: all var(--transition-speed) ease;
}

.admin-panel-section-booking-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.admin-panel-section-booking-info {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.admin-panel-section-booking-info div {
  flex: 1;
}

.admin-panel-section-booking-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.admin-panel-section-booking-info h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #777;
  font-weight: 500;
}

.admin-panel-section-booking-info i {
  margin-right: 5px;
}

.admin-panel-section-booking-response {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.edit-icon,
.delete-icon {
  font-size: 1.5rem;
  margin-left: 15px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.edit-icon {
  color: var(--primary-color);
}

.edit-icon:hover {
  color: var(--dark-color);
}

.delete-icon {
  color: var(--secondary-color);
}

.delete-icon:hover {
  color: darkred;
}

.payment-status-buttons {
  display: flex;
  flex-direction: column;
  margin-right: 15px;
}

.btn-status {
  padding: 5px 10px;
  margin: 3px 0;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  background-color: #6c757d;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.btn-status:hover {
  opacity: 0.9;
}

.btn-status.active {
  background-color: #28a745;
}

/* Image Display Standardization */
.standard-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
}

.standard-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.standard-img-container:hover .standard-img {
  transform: scale(1.05);
}

/* For event thumbnails in grid layouts */
.event-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--box-shadow);
}

.event-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

/* General layout */
.admin-section-column {
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card container */
.admin-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

/* Header styling */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.card-header h2 {
  font-size: 24px;
  color: #66b3ff;
}

.card-header .btn-secondary {
  background-color: #6c757d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
}

.card-header .btn-secondary:hover {
  background-color: #5a6268;
}

/* Form styling */
.admin-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-form .form-col {
  flex: 1;
  min-width: 250px;
}

.admin-form .form-group {
  margin-bottom: 20px;
}

.admin-form label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #212529;
}

.admin-form .form-control,
.admin-form .form-control-file {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ced4da;
}

.admin-form .form-control:focus {
  border-color: #6f42c1;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.admin-form textarea.form-control {
  resize: vertical;
}

/* Drop area styling */
.drop-area {
  border: 2px dashed #6f42c1;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}

.drop-area:hover {
  background-color: #f8f9fa;
}

.drop-area input[type="file"] {
  position: absolute;
  opacity: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: pointer;
}

.file-preview {
  margin-top: 10px;
  font-size: 14px;
  color: #28a745;
}

/* Custom switch */
.custom-control {
  display: flex;
  align-items: center;
}

.custom-control-input {
  margin-right: 10px;
}

/* Button */
.btn-primary {
  background-color: #6f42c1;
  border: none;
}

.btn-primary:hover {
  background-color: #5e35b1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}