/* Utility Classes */
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.opacity-60 { opacity: 0.6; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }

:root {
    --primary-color: #C8102E; /* Safari Red */
    --secondary-color: #000000;
    --accent-color: #FFD700; /* Gold */
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-border: #E9ECEF;
    --gray-dark: #343A40;
    --text-muted: #6C757D;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #FAFAFA;
    color: var(--secondary-color);
    line-height: 1.6;
}

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

/* Header & Navigation */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    opacity: 0.85;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: #111;
        width: 80%;
        height: 100vh;
        text-align: left;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 6rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.4rem;
        display: block;
    }

    .hamburger {
        display: block;
    }

    .hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .line2 { opacity: 0; }
    .hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg') center/cover;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 4rem 1.5rem;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    max-width: 700px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Swiper Slider Styles */
.hero-slider {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

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

.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 10;
    color: #fff;
    padding: 0 1.5rem;
    max-width: 850px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-slider { height: 60vh; min-height: 400px; }
    .hero { min-height: 50vh; padding: 3rem 1rem; }
}

/* Fix for all images being responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    font-family: inherit;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
    background-color: #b00e28;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gray-border);
    color: var(--secondary-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Grid & Cards */
.featured-events {
    padding-bottom: 5rem;
}

.home-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.home-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.calendar-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-border);
}

.calendar-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 12px 5px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-today { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.btn-weekend { background: linear-gradient(135deg, #f59e0b, #f97316); }
.btn-week { background: linear-gradient(135deg, #8b5cf6, #ec4899); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3); }
.btn-month { background: linear-gradient(135deg, #9ca3af, #4b5563); }

.clear-filters {
    width: 100%;
    padding: 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.clear-filters:hover {
    background: #e5e7eb;
    color: var(--secondary-color);
}

@media (max-width: 1100px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
    .home-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.event-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(200, 16, 46, 0.2);
}

.event-card-img-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.414; /* A4 Ratio */
    background: #000;
}

.event-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.6s ease;
}

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

/* Global Form Styles */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
    letter-spacing: -0.2px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.form-group input::placeholder {
    color: #ccc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.08);
    background: #fff;
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Cards & Containers */
.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

/* Payment Methods UI */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-method-item {
    border: 2px solid var(--gray-border);
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.payment-method-item input {
    position: absolute;
    opacity: 0;
}

.payment-method-item i {
    font-size: 1.5rem;
    color: #888;
}

.payment-method-item.active {
    border-color: var(--primary-color);
    background: rgba(200, 16, 46, 0.05);
    color: var(--primary-color);
}

.payment-method-item.active i {
    color: var(--primary-color);
}

.event-info {
    padding: 0.8rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-info h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.event-meta {
    margin-bottom: 0.8rem;
}

.event-meta p {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.event-meta i {
    color: var(--primary-color);
    width: 12px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #f0f0f0;
}

.event-price {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1;
}

/* Modern Event Card v2 */
.event-card-v2 {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    margin-bottom: 2rem;
}

.event-card-v2 .img-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 4 / 5;
    background: #f3f4f6;
}

.event-card-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay-gradient {
    position: absolute;
    inset: 0;
    top: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
    z-index: 1;
}

.ussd-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #111;
    z-index: 2;
}

.card-bottom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.date-box {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 0.8rem;
    padding: 0.5rem 0.7rem;
    text-align: center;
    min-width: 55px;
}

.date-box .day {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color);
}

.date-box .month {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
}

.price-tag-v2 {
    text-align: right;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.price-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 700;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 800;
}

.info-section {
    padding: 0 0.5rem;
}

.info-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.info-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-v2:hover .info-title {
    color: var(--primary-color);
}

.info-location {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Footer */
footer {
    background: #000;
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a {
    color: #888;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* Slider Customization */
.swiper-slide img {
    object-fit: contain; /* Ensure posters show fully in slider */
    background: #000;
}

.swiper-button-next,
.swiper-button-prev {
    color: #FFD700 !important;
}

.swiper-pagination-bullet-active {
    background: #FFD700 !important;
}

/* Event Details Page */
.event-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.event-sidebar .booking-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    border: 1px solid var(--gray-border);
}

.event-gallery {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .event-details-grid {
        grid-template-columns: 1fr;
    }
    .event-sidebar .booking-card {
        position: static;
    }
    .event-gallery {
        height: 400px;
    }
}

@media (max-width: 500px) {
    .event-gallery {
        height: 300px;
    }
    .event-grid {
        grid-template-columns: 1fr;
    }
}

