/* public/assets/css/main.css */

/* --------------------------------------------------------------
# Modern Font & Color Variables
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --primary-font: 'Inter', system-ui, -apple-system, sans-serif;
  --heading-font: 'Sora', sans-serif;
  
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #f43f5e;
  --background: #fafafa;
  --surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--primary-font);
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/*--------------------------------------------------------------
# Header / Navigation - Improved
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  position: relative;
  /* left: 15px; */
  height: 100px;
  /* width: 110px; */
  transition: transform 0.3s ease;
  background-size: contain;
}

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

.logo-text {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: none;
}

/* Navigation Menu */
.navmenu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown Menu */
.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 220px;
  border: 1px solid var(--border-color);
  margin-top: 0.5rem !important;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.dropdown-header {
  padding: 0.75rem 1rem;
}

.dropdown-header h6 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.dropdown-header small {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.dropdown-divider {
  margin: 0.5rem 0;
  border-color: var(--border-color);
}

/* User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem !important;
  background: none !important;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.user-avatar.admin {
  background: var(--primary-color);
}

.user-avatar.organizer {
  background: #10b981;
}

.user-avatar.user {
  background: var(--text-secondary);
}

.user-name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.875rem;
  display: none;
}

.logout-item {
  color: #ef4444 !important;
}

.logout-item:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Create Event Button */
.btn-create-event {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white !important;
  padding: 0.375rem 1rem !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-create-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  color: white !important;
}

/* Role Badges */
.role-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-badge.admin {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-color);
}

.role-badge.organizer {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.role-badge.user {
  background: rgba(100, 116, 139, 0.15);
  color: var(--text-secondary);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.mobile-nav-toggle:hover {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
  .nav-list {
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .logo-text {
    display: inline-block;
    font-size: 1.25rem;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .navmenu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 70px);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
  }
  
  .navmenu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    justify-content: space-between;
  }
  
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-top: 0.5rem;
    margin-left: 1rem;
    width: 100% !important;
  }
  
  .user-profile {
    justify-content: center;
  }
  
  .btn-create-event {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
  
  .header {
    padding: 0.5rem 0;
  }
}

/* Animation for dropdown */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu.show {
  animation: fadeInDown 0.2s ease;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(244, 63, 94, 0.8));
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
}

.hero .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events {
  padding: 5rem 0;
  background: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* EVENT CARDS - Modern Design */
.events .event-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.events .event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
  border-color: var(--primary-color);
}

.events .event-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.events .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.events .event-card:hover .event-image img {
  transform: scale(1.15);
}

.event-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.02em;
}

.events .event-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.events .event-body h5 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.meta-item svg {
  flex-shrink: 0;
  color: var(--primary-color);
  opacity: 0.8;
}

.events .location,
.events .date {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.event-price {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 2px solid var(--border-color);
}

.event-price small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.event-price h6 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.events .event-card .btn-primary {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state svg {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.empty-state h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.empty-state p {
  color: var(--text-secondary);
}

/* EVENT GRID */
.event-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (max-width: 640px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Buy Tickets Section
--------------------------------------------------------------*/
.buy-tickets {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 5rem 0;
  text-align: center;
  color: white;
}

.buy-tickets h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
}

.buy-tickets p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.buy-tickets .btn-outline {
  background: white;
  color: var(--primary-color);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.buy-tickets .btn-outline:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 5rem 0;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  height: 100%;
}

.info-box {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.info-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(244, 63, 94, 0.1));
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.info-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.info-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.footer .logo {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer p {
  margin: 0;
  font-size: 0.9375rem;
}

.footer .social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Event Detail Page
--------------------------------------------------------------*/
.event-detail-section {
  padding: 6rem 0 5rem;
  background: var(--background);
}

/* Breadcrumb */
.breadcrumb {
  padding-top: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumb-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--primary-color);
}

.breadcrumb-divider {
  color: var(--text-secondary);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Grid Layout */
.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

/* Left Content */
.event-detail-left {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.event-header {
  margin-bottom: 2.5rem;
}

.event-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-host {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.event-host i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.event-host strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Meta Cards */
.event-meta-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--border-color);
}

.meta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.meta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.meta-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  color: white;
  font-size: 1.25rem;
}

.meta-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.meta-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Description */
.event-description {
  margin-bottom: 3rem;
}

.event-description h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.description-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.description-content p {
  margin-bottom: 1.5rem;
}

/* Share Section */
.event-share h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-primary);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.share-btn.facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.share-btn.twitter:hover {
  background: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.share-btn.whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.share-btn.instagram:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
  border-color: transparent;
}

/* Right Sidebar */
.event-detail-right {
  position: sticky;
  top: 100px;
}

/* Poster Card */
.poster-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.poster-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.poster-card:hover .poster-image img {
  transform: scale(1.05);
}

/* Ticket Card */
.ticket-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.ticket-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 1.5rem 2rem;
}

.ticket-header h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}

.ticket-body {
  padding: 2rem;
}

.price-range {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.price-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.price-subtext {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.btn-buy-ticket {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-buy-ticket:hover {
  transform: translateY(-2px);
}

.ticket-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  padding: 0.75rem;
  background: var(--background);
  border-radius: 8px;
  margin-top: 1rem;
}

.ticket-note i {
  color: var(--primary-color);
  font-size: 1rem;
}

/* No Ticket State */
.no-ticket {
  text-align: center;
  padding: 2rem 1rem;
}

.no-ticket i {
  font-size: 3rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-ticket h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.no-ticket p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn-notify {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-notify:hover {
  background: var(--primary-color);
  color: white;
}

/*--------------------------------------------------------------
# Ticket Type List
--------------------------------------------------------------*/
.ticket-type-list {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.ticket-type-list h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.ticket-type-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.ticket-type-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.ticket-type-item:last-child {
  margin-bottom: 0;
}

.ticket-type-info {
  flex: 1;
}

.ticket-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.ticket-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.ticket-quota {
  margin-left: 1rem;
  min-width: 100px;
}

.quota-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.quota-badge i {
  font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Button Styles
--------------------------------------------------------------*/
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  color: white;
}

/* Disabled Button Styles */
.btn-primary:disabled,
.btn-outline:disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
  transform: none !important;
}

.btn-primary:disabled:hover,
.btn-outline:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.row {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .event-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .event-detail-right {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .event-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding-top: 60px;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .events,
  .contact,
  .buy-tickets,
  .event-detail-section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .event-detail-left,
  .event-detail-right {
    padding: 1.5rem;
  }
  
  .event-title {
    font-size: 1.75rem;
  }
  
  .event-meta-detail {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    grid-template-columns: 1fr 1fr;
  }
  
  .poster-image {
    height: 300px;
  }
  
  .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    grid-template-columns: 1fr;
  }
  
  .price-value {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ticket-type-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .ticket-quota {
    margin-left: 0;
    align-self: stretch;
  }
  
  .quota-badge {
    width: 100%;
    justify-content: center;
  }
  
  .logo-text {
    font-size: 1rem;
  }
}

/* Navbar Mobile Fix */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
  z-index: 1001;
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navmenu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 70px);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
    z-index: 999;
  }
  
  .navmenu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    width: 100%;
    display: block;
  }
  
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    margin: 0.5rem 0 0.5rem 1rem !important;
    width: calc(100% - 2rem) !important;
  }
  
  /* Bootstrap dropdown override untuk mobile */
  .dropdown-menu.show {
    display: block !important;
  }
}

/* Pastikan Bootstrap dropdown bekerja */
/* Desktop */
@media (min-width: 993px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .nav-item.dropdown .dropdown-menu {
    display: none;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }
}

.dropdown-menu.show {
  display: block;
}

/* Logo styling */
.logo-text {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.25rem;
  }
}

/* Navbar active state */
.nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}


/* =========================================================
   EVENT DETAIL – COMPACT MODE (NON-DESTRUCTIVE)
========================================================= */

/* Grid lebih ramping */
.event-detail-grid {
  gap: 2rem;
}

/* LEFT CARD */
.event-detail-left {
  padding: 2rem; /* dari 2.5rem */
  border-radius: 16px;
}

/* Title lebih kecil */
.event-title {
  font-size: 2.1rem; /* dari 2.5rem */
}

/* Meta cards lebih compact */
.event-meta-detail {
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.meta-card {
  padding: 1rem; /* dari 1.5rem */
  gap: 0.75rem;
}

.meta-icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.meta-value {
  font-size: 1rem;
}

/* Description */
.event-description h3 {
  font-size: 1.5rem;
}

.description-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Share buttons lebih kecil */
.share-btn {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

/* RIGHT SIDEBAR */
.event-detail-right {
  top: 90px;
}

/* Poster lebih pendek */
.poster-image {
  height: 300px; /* dari 380px */
}

/* Ticket card */
.ticket-header {
  padding: 1.25rem 1.5rem;
}

.ticket-header h3 {
  font-size: 1.25rem;
}

.ticket-body {
  padding: 1.5rem;
}

/* Harga */
.price-value {
  font-size: 2rem; /* dari 2.5rem */
}

.price-range {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Ticket info */
.ticket-info {
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  font-size: 0.85rem;
}

/* Ticket list */
.ticket-type-list {
  padding: 1rem;
}

.ticket-type-item {
  padding: 0.75rem;
}

.ticket-name {
  font-size: 0.9rem;
}

.ticket-price {
  font-size: 1rem;
}

.quota-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
}

/* Button */
.btn-buy-ticket {
  padding: 0.85rem;
  font-size: 1rem;
}



/* =========================================================
   HOME EVENT CARD – COMPACT MODE
========================================================= */

/* Grid lebih rapat */
.event-grid {
  gap: 1.5rem; /* dari 2rem */
}

/* CARD */
.events .event-card {
  border-radius: 14px;
}

/* IMAGE */
.events .event-image {
  height: 190px; /* dari 240px */
}

/* BODY */
.events .event-body {
  padding: 1.25rem; /* dari 1.75rem */
}

/* TITLE */
.events .event-body h5 {
  font-size: 1.1rem; /* dari 1.375rem */
  margin-bottom: 0.75rem;
}

/* META */
.event-meta {
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.meta-item {
  font-size: 0.85rem;
}

/* BADGE TANGGAL */
.event-badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  top: 0.75rem;
  right: 0.75rem;
}

/* PRICE */
.event-price {
  padding-top: 1rem;
}

.event-price small {
  font-size: 0.7rem;
}

.event-price h6 {
  font-size: 1.25rem; /* dari 1.75rem */
  margin-bottom: 0.75rem;
}

/* BUTTON */
.events .event-card .btn-primary {
  padding: 0.6rem;
  font-size: 0.85rem;
}

/* EMPTY STATE */
.empty-state {
  padding: 3rem 1.5rem;
}

.empty-state h4 {
  font-size: 1.25rem;
}

/* =========================================================
   RESPONSIVE TUNING
========================================================= */

@media (max-width: 768px) {
  .events .event-image {
    height: 170px;
  }

  .events .event-body {
    padding: 1rem;
  }

  .events .event-body h5 {
    font-size: 1rem;
  }

  .event-price h6 {
    font-size: 1.1rem;
  }
}


/* =========================================================
   PAYMENT PAGES
========================================================= */

.payment-section {
  padding: 10rem 0;
  background: var(--background);
}

.payment-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

/* CARD */
.payment-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* TITLE */
.payment-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* LOGIN ALERT */
.login-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.login-alert i {
  font-size: 1.6rem;
  color: var(--primary-color);
}

.login-alert strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.login-alert p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* FORM */
.payment-form .form-group {
  margin-bottom: 1.25rem;
}

.payment-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: block;
}

/* INPUT & SELECT */
.payment-form input,
.payment-form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: var(--surface);
}

.payment-form input:focus,
.payment-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* PAY BUTTON */
.btn-pay {
  width: 100%;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  padding: 0.8rem;
}

/* NOTE */
.payment-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1.25rem;
}

/* SUMMARY CARD */
.summary-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.summary-item .label {
  color: var(--text-secondary);
}

.summary-item .value {
  font-weight: 500;
  text-align: right;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1rem 0;
}

/* TOTAL */
.summary-item.total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary-color);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .payment-section {
    padding: 10rem 0;
  }

  .payment-grid {
    grid-template-columns: 1fr;
  }

  .payment-card {
    padding: 1.5rem;
  }

  .summary-card {
    order: -1; /* summary naik ke atas di mobile */
  }
}


/* MY ORDER */
/* Orders Page Styles */
/* orders.css */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  background: transparent;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #0d6efd;
  color: #fff;
}


.btn-outline-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #fd0000;
  color: #fd0000;
  background: transparent;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-danger:hover {
  background: #fd0000;
  color: #fff;
}

.has-dropdown .dropdown-menu {
  display: none;
}

.has-dropdown.active .dropdown-menu {
  display: block;
}

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

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
    width: auto;
  }
}