/* ================= GLOBAL RESET ================= */
:root {
  --orange: #ff6a00;
  --black: #0f172a;
  --dark-bg: #0b0b0b;
  --light-bg: #f5f7fb;
  --white: #fff;
  --text: #333;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.text-orange { color: var(--orange); }
.section-pad { padding: 80px 0; }
.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.bg-light { background-color: var(--light-bg); }

/* ================= NAV ================= */
.nav { position: fixed; top: 0; width: 100%; background: rgba(15, 23, 42, 0.95); z-index: 1000; padding: 10px 0; backdrop-filter: blur(5px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: auto; padding: 0 20px; }

/* Logo Styles */
.logo-link { display: block; }
.nav-logo { height: 45px; width: auto; display: block; }

.nav-links a { color: #ccc; text-decoration: none; margin: 0 15px; font-size: 14px; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--orange); }

/* Nav Actions (Buttons) */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-login {
  background: transparent; border: 1px solid #666; color: white;
  padding: 8px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-login:hover { border-color: var(--orange); color: var(--orange); }

.btn-nav { background: var(--orange); color: white; padding: 8px 20px; border-radius: 20px; text-decoration: none; font-weight: bold; font-size: 14px; transition: 0.3s; }
.btn-nav:hover { background: white; color: var(--orange); }

/* ================= HERO ================= */
.hero-grid-section { position: relative; height: 100vh; background: #000; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; height: 100%; opacity: 0.5; }
.hero-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; z-index: 10; }
.hero-content h1 { color: white; font-size: clamp(3rem, 6vw, 6rem); margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.hero-content p { color: #ddd; font-size: 1.4rem; margin-bottom: 30px; }
.btn-primary { background: var(--orange); color: white; padding: 14px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; border: none; cursor: pointer; display: inline-block; transition: 0.3s; }
.btn-secondary { border: 2px solid white; color: white; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-left: 10px; display: inline-block; transition: 0.3s; }
.btn-secondary:hover { background: white; color: var(--black); }

/* ANIMATION */
.cinematic-reveal { animation: fadeInUp 1s forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* ================= ABOUT & SERVICES ================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 3rem; margin-bottom: 20px; color: var(--black); }
.about-list { list-style: none; margin-top: 20px; font-weight: 600; }
.big-anim-img { width: 100%; border-radius: 10px; box-shadow: 20px 20px 0 var(--orange); }

.services-modern { background: #111; color: white; padding: 100px 0; }
.section-header.dark-mode h2, .section-header.dark-mode h4 { color: white; }
.service-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.glass-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 10px; border: 1px solid #333; transition: 0.3s; }
.glass-card:hover { border-color: var(--orange); transform: translateY(-5px); }
.icon-glow { font-size: 2.5rem; margin-bottom: 15px; color: var(--orange); }

/* ================= GALLERY ================= */
.gallery-modern { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; grid-auto-flow: dense; }
.g-card { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; height: 250px; }
.g-card.wide { grid-column: span 2; }
.g-card.tall { grid-row: span 2; height: 515px; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
.g-card:hover img { transform: scale(1.1); filter: brightness(0.7); }

/* LIGHTBOX */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; z-index: 3000; }
.lightbox.active { display: flex; animation: fadeIn 0.3s; }
.lightbox-img { max-width: 90%; max-height: 90%; border: 2px solid white; }
.close-btn { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= EVENT APP SECTION ================= */
.app-section { background: var(--light-bg); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 3rem; margin-top: 5px; color: var(--black); }

/* Filters */
.app-controls { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 30px; background: white; padding: 20px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.search-bar input { width: 300px; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }
.filters select { padding: 12px; border: 1px solid #ddd; border-radius: 8px; }

/* City Strip */
.city-strip { display: flex; gap: 15px; padding-bottom: 20px; overflow-x: auto; margin-bottom: 20px; }
.city-card { min-width: 150px; background: var(--black); color: white; padding: 15px; border-radius: 12px; font-weight: 500; text-align: center; }

/* Grid */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.event-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); cursor: pointer; transition: 0.3s; position: relative; }
.event-card:hover { transform: translateY(-8px); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.event-body { padding: 20px; }
.date-badge { position: absolute; top: 15px; right: 15px; background: var(--orange); color: white; padding: 5px 10px; border-radius: 5px; font-weight: bold; font-size: 12px; }
.btn-card { margin-top: 15px; background: #eee; border: none; padding: 10px; width: 100%; font-weight: bold; cursor: pointer; border-radius: 5px; }

/* ================= FORMS ================= */
.reg-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; background: #222; color: white; border-radius: 20px; overflow: hidden; }
.reg-info { padding: 50px; background: #222; }
.reg-benefits { list-style: none; margin-top: 20px; }
.reg-benefits li { margin-bottom: 15px; font-weight: 600; }
.sleek-form { padding: 50px; background: #1a1a1a; }

.form-header h3 { color: var(--orange); border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 30px; display: inline-block; }
.input-group { position: relative; margin-bottom: 30px; }
.input-group input, .input-group select { width: 100%; padding: 10px 0; font-size: 16px; color: #fff; border: none; border-bottom: 2px solid #333; background: transparent; transition: 0.3s; }
.input-group label { position: absolute; top: 10px; left: 0; font-size: 16px; color: #777; pointer-events: none; transition: 0.3s; }
.input-group input:focus, .input-group input:valid { border-bottom-color: var(--orange); }
.input-group input:focus ~ label, .input-group input:valid ~ label { top: -20px; font-size: 12px; color: var(--orange); }
.form-row { display: flex; gap: 30px; }
.form-row .input-group { flex: 1; }
.btn-glow { width: 100%; background: var(--orange); padding: 15px; border: none; color: white; font-weight: bold; cursor: pointer; border-radius: 5px; font-size: 16px; }

/* ================= MODALS (GENERAL) ================= */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: white; width: 95%; max-width: 800px; border-radius: 20px; overflow: hidden; animation: popIn 0.3s ease; }
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; z-index: 10; }
.modal-body-grid { display: grid; grid-template-columns: 1.5fr 1fr; }
.modal-left { background: #fdfdfd; padding-bottom: 20px; }
.modal-hero { width: 100%; height: 200px; object-fit: cover; }
.modal-left h2, .modal-left p, .modal-left .event-meta { padding: 0 25px; margin-top: 15px; }
.modal-right { padding: 40px; border-left: 1px solid #eee; display: flex; align-items: center; }
.register-box { width: 100%; }
.price-tag { font-size: 30px; color: var(--orange); font-weight: bold; margin-bottom: 20px; }

/* ================= AUTH MODAL ================= */
.auth-content { background: white; width: 95%; max-width: 800px; border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; position: relative; }
.auth-left { background: var(--black); color: white; padding: 40px; display: flex; flex-direction: column; justify-content: center; background-image: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?w=600'); background-size: cover; background-blend-mode: overlay; }
.auth-left h2 { font-size: 2.5rem; margin-bottom: 10px; }
.auth-right { padding: 40px; }

.auth-tabs { display: flex; margin-bottom: 30px; border-bottom: 2px solid #eee; }
.tab-btn { flex: 1; padding: 15px; background: none; border: none; font-weight: bold; color: #999; cursor: pointer; font-size: 16px; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeIn 0.3s; }
.auth-form input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; }
.auth-note { text-align: center; margin-top: 15px; font-size: 14px; color: var(--orange); cursor: pointer; }
.full-width { width: 100%; }

/* ================= FOOTER ================= */
.footer { background: var(--black); color: white; padding: 60px 0; border-top: 1px solid #222; }
.footer-logo { height: 40px; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer ul { list-style: none; }
.footer a { color: #888; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 40px; color: #555; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; letter-spacing: 0.5px; transition: 0.3s; }
.footer-links a:hover { color: var(--orange); }

/* ================= PAGE SPECIFIC STYLES ================= */
/* Page Header (Terms, Privacy, Contact) */
.page-header { background: var(--black); padding: 120px 0 60px; text-align: center; color: white; }
.breadcrumb { color: var(--orange); font-size: 14px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.breadcrumb span { color: #888; }
.page-title { font-size: 2.5rem; font-family: 'Oswald', sans-serif; }

/* Legal / Content Pages */
.legal-section { background: #050a15; color: #e0e0e0; min-height: 60vh; }
.legal-content { max-width: 900px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }
.legal-content h3 { color: white; margin-top: 30px; margin-bottom: 15px; font-size: 1.5rem; border-bottom: 1px solid #333; padding-bottom: 10px; }
.legal-content h4 { color: var(--orange); margin-top: 25px; margin-bottom: 10px; font-size: 1.2rem; }
.legal-content p { margin-bottom: 20px; }
.legal-content ul, .legal-content ol { margin-left: 20px; margin-bottom: 20px; }
.legal-content li { margin-bottom: 10px; }

/* Contact Page Specifics */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; align-items: flex-start; margin-top: 40px; }
.contact-card { flex: 1; min-width: 300px; background: #1a1a1a; border: 1px solid #333; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.contact-item { display: flex; gap: 20px; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 30px; }
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.c-icon { font-size: 24px; color: var(--orange); background: rgba(255, 106, 0, 0.1); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--orange); }
.c-text h4 { font-size: 18px; margin-bottom: 5px; color: white; }
.c-text p { font-size: 15px; color: #aaa; }
.contact-form-area { flex: 1.5; min-width: 300px; }
.contact-form-area h2 { font-size: 2.5rem; color: white; margin-bottom: 10px; }
.contact-form-area p { color: #ccc; margin-bottom: 30px; }

/* ================= EVENT DETAILS PAGE STYLES ================= */
.event-hero { position: relative; background: #0f172a; color: white; padding-top: 80px; padding-bottom: 40px; overflow: hidden; }
.hero-blur-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; filter: blur(20px) brightness(0.3); z-index: 1; }
.hero-content-wrapper { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; padding: 40px 20px; }
.hero-poster img { width: 300px; height: auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 4px solid rgba(255,255,255,0.1); }
.hero-details { flex: 1; }
.event-title { font-size: 3rem; margin-bottom: 20px; line-height: 1.1; }
.hero-meta { display: flex; gap: 30px; margin-bottom: 30px; }
.meta-item { display: flex; gap: 15px; align-items: flex-start; }
.meta-item i { font-size: 1.5rem; color: var(--orange); margin-top: 5px; }
.meta-item div strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.meta-item div span { color: #aaa; font-size: 0.9rem; }
.hero-tags .tag { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; margin-right: 10px; border: 1px solid rgba(255,255,255,0.2); }

.event-layout { display: grid; grid-template-columns: 2fr 1.2fr; gap: 30px; padding-top: 40px; padding-bottom: 80px; }
.content-box { background: white; border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #eee; }
.box-title { font-size: 1.5rem; border-bottom: 2px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 20px; color: #222; }
.rich-text p { margin-bottom: 15px; line-height: 1.6; color: #555; }
.rich-text h4 { margin-top: 20px; margin-bottom: 10px; color: #333; }
.small-text { font-size: 0.95rem; }

.organizer-profile { display: flex; gap: 20px; align-items: center; }
.org-avatar { width: 60px; height: 60px; background: var(--black); color: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }

.event-sidebar { position: relative; }
.booking-widget { background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee; position: sticky; top: 100px; overflow: hidden; }
.widget-header { background: var(--black); color: white; padding: 20px; text-align: center; }
.widget-header h3 { font-size: 1.2rem; margin: 0; }
.ticket-list { padding: 20px; max-height: 400px; overflow-y: auto; }
.ticket-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 15px; }
.ticket-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.ticket-info { flex: 1; padding-right: 10px; }
.t-name { font-size: 1rem; color: #333; margin-bottom: 4px; }
.t-desc { font-size: 0.8rem; color: #888; margin-bottom: 4px; }
.t-price { color: var(--orange); font-weight: bold; font-size: 1.1rem; }

.qty-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; }
.qty-btn { background: #f9f9f9; border: none; width: 30px; height: 30px; cursor: pointer; font-weight: bold; color: #555; }
.qty-btn:hover { background: #eee; }
.qty-input { width: 40px; height: 30px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-weight: bold; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.widget-footer { background: #f9f9f9; padding: 20px; border-top: 1px solid #eee; }
.total-row { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; color: #333; }
.btn-checkout { width: 100%; background: var(--orange); color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.btn-checkout:hover { background: #e65e00; }

/* Responsive */
@media(max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid, .service-grid-modern, .footer-grid, .reg-layout, .modal-body-grid, .gallery-modern, .auth-content { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .auth-left { display: none; }
  .g-card.wide, .g-card.tall { grid-column: auto; grid-row: auto; height: 250px; }
  .form-row { flex-direction: column; gap: 0; }
  .modal-right { padding: 25px; border-left: none; border-top: 1px solid #eee; }
  .contact-wrapper { flex-direction: column; }
  .hero-content-wrapper { flex-direction: column; text-align: center; }
  .hero-poster img { width: 100%; max-width: 400px; }
  .hero-meta { flex-direction: column; align-items: center; gap: 15px; }
  .event-layout { grid-template-columns: 1fr; }
  .event-sidebar { order: -1; }
  .booking-widget { position: static; margin-bottom: 30px; }
}