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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-size: 13px;
}

.top-bar a {
    color: #ffd700;
    text-decoration: none;
}

/* ===== WELCOME BANNER ===== */
.welcome-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    padding: 50px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/hero.jpg') center/cover no-repeat;
    opacity: 0.12;
    filter: blur(2px);
}

.welcome-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    animation: floatBg 10s ease-in-out infinite;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, -2%) rotate(1deg); }
    66% { transform: translate(-2%, 2%) rotate(-1deg); }
}

.welcome-banner h1 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.welcome-banner h1 span {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.welcome-banner .location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 14px;
    color: #fff;
    margin-top: 15px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

/* ===== HERO IMAGE ===== */
.hero-image-section {
    margin: -30px 20px 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    border: 4px solid #fff;
}

.hero-image-section img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30,60,114,0.6) 0%, transparent 40%, transparent 60%, rgba(42,82,152,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 35px;
}

.hero-overlay .badge {
    display: inline-block;
    background: #ffd700;
    color: #1e3c72;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.hero-overlay h2 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-top: 5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ===== FEATURES ROW ===== */
.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(30,60,114,0.12);
}

.feature-card .feat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.feature-card:nth-child(1) .feat-icon { background: linear-gradient(135deg, #e8f0fe, #c5d9f7); color: #1e3c72; }
.feature-card:nth-child(2) .feat-icon { background: linear-gradient(135deg, #fef3e2, #fde4b3); color: #d4880f; }
.feature-card:nth-child(3) .feat-icon { background: linear-gradient(135deg, #e6f7ee, #b8e6cc); color: #0d7a3e; }

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin: 40px 0 25px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1e3c72;
}

.section-title p {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
    margin: 12px auto 0;
}

/* ===== NAVIGATION BUTTONS ===== */
.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.nav-btn {
    background: #fff;
    padding: 30px 25px;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.nav-btn:hover::after {
    transform: scaleX(1);
}

.nav-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(30,60,114,0.14);
}

.nav-btn .btn-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.nav-btn .btn-sub {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-top: 6px;
    display: block;
}

/* ===== SLIDESHOW ===== */
.slideshow-section {
    margin: 30px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30,60,114,0.85));
    padding: 50px 30px 22px;
    text-align: center;
}

.slide-caption h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.slide-caption p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.slideshow-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #ffd700;
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,215,0,0.5);
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.search-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: #1e3c72;
    font-weight: 700;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

input, select, textarea {
    padding: 15px 18px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    background: #fafafa;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: #1e3c72;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30,60,114,0.08);
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

select {
    cursor: pointer;
}

button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30,60,114,0.25);
}

button:active {
    transform: translateY(0);
}

/* ===== SEAT GRID ===== */
.gender-section {
    margin: 30px 0;
}

.gender-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
    padding-left: 5px;
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.seat-card {
    background: #f5f5f5;
    padding: 16px 8px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.seat-card.available {
    background: #e8f5e9;
    border-color: #4caf50;
}

.seat-card.occupied {
    background: #ffebee;
    border-color: #ef5350;
    opacity: 0.7;
}

.seat-card:hover.available {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(76,175,80,0.2);
}

.seat-card strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
    color: #333;
}

.seat-card small {
    font-size: 11px;
    color: #666;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #1e3c72;
    font-weight: 700;
}

/* ===== TABLE ===== */
.table-responsive {
    overflow-x: auto;
    margin: 15px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 14px;
}

table tr:hover td {
    background: #f8f9ff;
}

table a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

table a:hover {
    color: #2a5298;
    text-decoration: underline;
}

/* ===== BADGES ===== */
.Paid {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
}

.Pending {
    color: #f57f17;
    background: #fff8e1;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
}

/* ===== ADMIN LINK ===== */
.admin-link {
    text-align: center;
    margin: 25px 0 10px;
}

.admin-link a {
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(30,60,114,0.2);
}

.admin-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30,60,114,0.3);
}

/* ===== BACK BUTTON ===== */
.btn-back {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 11px 24px;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30,60,114,0.25);
}

/* ===== MESSAGES ===== */
.success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #c8e6c9;
}

.error {
    background: #ffebee;
    color: #c62828;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ffcdd2;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: #888;
}

.footer a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .welcome-banner h1 { font-size: 30px; }
    .welcome-banner { padding: 35px 16px 30px; }
    .hero-image-section { margin: -20px 12px 20px; }
    .hero-image-section img { height: 300px; }
    .hero-overlay h2 { font-size: 22px; }
    .slideshow-container { height: 260px; }
    .features-row { grid-template-columns: 1fr; gap: 14px; }
    .section-title h2 { font-size: 22px; }
    .nav-buttons { grid-template-columns: 1fr; }
    .slide-caption h3 { font-size: 17px; }
    .seat-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); }
    .top-bar { font-size: 12px; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .welcome-banner h1 { font-size: 24px; }
    .welcome-banner p { font-size: 14px; }
    .hero-image-section img { height: 200px; }
    .hero-overlay { padding: 20px 16px; }
    .hero-overlay h2 { font-size: 18px; }
    .slideshow-container { height: 200px; }
    .hero { padding: 20px 15px; }
    .hero h1 { font-size: 20px; }
    .seat-grid { grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); padding: 14px; gap: 8px; }
    .seat-card { padding: 12px 6px; font-size: 11px; }
    .form-container { padding: 18px; }
    .search-box { padding: 18px; }
    .nav-btn { padding: 22px 18px; font-size: 15px; }
    .slide-caption h3 { font-size: 15px; }
    .table-responsive { margin: 10px 0; }
    table th, table td { padding: 8px 5px; font-size: 11px; }
    .features-row { grid-template-columns: 1fr; }
}
