/**
 * pages.css - Consolidated Page-Specific Styles for BuyTix
 * ========================================================
 * This file contains all page-specific styles extracted from inline <style> blocks
 * in ASPX pages. Organized by section for maintainability.
 * 
 * Table of Contents:
 * ------------------
 * 1. CSS Custom Properties (Variables)
 * 2. Master Page / Header Navigation Styles
 * 3. Legacy Legal Pages (Terms, Privacy, Refund)
 * 4. Home Page (default.aspx)
 * 5. Tickets Page
 * 6. Profile Pages
 *    6.1 Profile Container & Common
 *    6.2 Profile Page (manage.aspx)
 *    6.3 E-Ticket Print Page (ticket.aspx)
 *    6.4 Logout Page (logout.aspx)
 *    6.5 Receipt Page (profile/receipt.aspx)
 * 7. Map & Seating Overlays
 * 8. Print Media Styles
 */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================================================= */
:root {
    /* Primary Brown/Gold Palette */
    --color-gold-primary: #B8930F;
    --color-gold-dark: #8B6914;
    --color-gold-darker: #6B4F0C;
    --color-gold-light: #D4A418;
    --color-gold-highlight: #C9A227;

    /* Brown/Olive Palette */
    --color-brown-primary: #484839;
    --color-brown-light: #5C5A3D;
    --color-brown-medium: #6B6B4D;
    --color-brown-text: #3D3524;
    --color-brown-muted: #5C5440;

    /* Background Colors */
    --color-bg-cream: #FDFBF7;
    --color-bg-light: #F7F5F0;
    --color-bg-lighter: #F0EDE5;
    --color-bg-tan: #C8C8A3;

    /* Border Colors */
    --color-border-light: #EAE6DA;
    --color-border-medium: #DDD8C8;
    --color-border-gold: rgba(212, 164, 24, 0.4);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(72, 72, 57, 0.12);
    --shadow-card-hover: 0 12px 48px rgba(72, 72, 57, 0.18);
    --shadow-gold: 0 4px 16px rgba(139, 105, 20, 0.3);
    --shadow-gold-hover: 0 8px 24px rgba(139, 105, 20, 0.4);

    /* Typography */
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: Verdana, Arial, sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease;
}

/* =============================================================================
   2. MASTER PAGE / HEADER NAVIGATION STYLES
   ============================================================================= */

/* Container Override */
.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Mobile Reset */
@media (max-width: 890px) {
    .container {
        margin: 0 !important;
        padding: 0 !important;
    }

    #page {
        margin: 0 !important;
        border: none !important;
    }

    #header {
        margin: 0 !important;
    }
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 20px 0 0;
}

.header-nav a {
    font-family: var(--font-sans);
    font-size: 11px;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
    transition: var(--transition-fast);
}

.header-nav a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.nav-separator {
    color: #ffffff;
    font-weight: bold;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    color: #ffffff;
    font-size: 24px;
    transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: linear-gradient(135deg, var(--color-brown-primary) 0%, var(--color-brown-medium) 100%);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.mobile-nav-dropdown.show {
    display: block;
}

.mobile-nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.15);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Area */
.header-logo-area {
    float: left;
    width: 400px;
    height: 100px;
}

/* Header Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-logo-area {
        width: 200px;
        height: 60px;
    }

    #header {
        height: auto;
        min-height: 120px;
        background-size: auto 100%;
        background-position: left center;
    }

    .header-nav {
        padding: 10px 15px 0 0;
        position: relative;
    }
}

@media (max-width: 480px) {
    .header-logo-area {
        width: 150px;
        height: 50px;
    }

    #header {
        min-height: 100px;
    }
}

/* =============================================================================
   3. LEGACY LEGAL PAGES (Terms, Privacy, Refund)
   ============================================================================= */

.legacy-legal .event-row {
    padding: 20px 0;
}

.legacy-legal p,
.legacy-legal h3 {
    font-family: var(--font-sans);
    text-align: left;
    padding: 0 20px;
}

.legacy-legal p {
    font-size: 12px;
}

.legacy-legal h3 {
    font-size: 18px;
}

.legacy-legal .google_ads {
    display: none;
}

/* =============================================================================
   4. HOME PAGE (default.aspx)
   ============================================================================= */

#index-promo,
#index-promo img {
    cursor: pointer;
}

/* =============================================================================
   5. TICKETS PAGE
   ============================================================================= */

/* Article Styles */
.article {
    border-bottom: 1px dotted grey;
    padding: 3px;
    margin: 2px;
    width: 509px;
}

.article .text {
    font-size: 14px;
    line-height: 17px;
    font-family: arial;
}

.article .text.short {
    overflow: hidden;
}

.article .text.full {
    display: none;
}

.read-more {
    display: inline-block;
    background-color: var(--color-bg-tan);
    cursor: pointer;
    font-family: Arial;
    font-size: 12px;
    padding: 7px 15px;
    margin-left: 1px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.ellipsis {
    color: #06c;
    font-weight: bold;
    font-size: 14px;
}

/* =============================================================================
   6. PROFILE PAGES
   ============================================================================= */

/* -----------------------------------------------------------------------------
   6.1 PROFILE CONTAINER & COMMON STYLES
   ----------------------------------------------------------------------------- */

.profile-container,
.ticket-container,
.logout-container,
.receipt-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 992px) {

    .profile-container,
    .ticket-container,
    .logout-container,
    .receipt-container {
        padding: 0 !important;
    }

    .ticket-container {
        margin-top: 15px;
    }
}

.ticket-container {
    margin-bottom: 20px;
}

.logout-container {
    max-width: 520px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Premium Card Base */
.premium-card-base {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

/* Premium Card with Gold Left Border */
.premium-card-gold-border::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
}

/* -----------------------------------------------------------------------------
   6.2 PROFILE PAGE (manage.aspx)
   ----------------------------------------------------------------------------- */

/* Clickable Event Image */
.event-image-link {
    cursor: pointer;
    display: inline-block;
    transition: var(--transition-fast);
    position: relative;
}

.event-image-link:hover {
    transform: scale(1.05);
}

.event-image-link::after {
    content: '🔍';
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(139, 105, 20, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-image-link:hover::after {
    opacity: 1;
}

/* Image Modal Styles */
.image-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.image-modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(212, 164, 24, 0.6);
}

.image-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(139, 105, 20, 0.4);
}

.image-modal-close:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 100%);
    transform: scale(1.1) rotate(90deg);
}

.image-modal-title {
    text-align: center;
    color: #ffffff;
    margin-top: 16px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Print Tickets Button */
.btn-print-tickets {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 14px;
    text-decoration: none !important;
    border: 2px solid var(--color-border-gold);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-print-tickets::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-print-tickets:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 50%, var(--color-gold-dark) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
    border-color: var(--color-gold-light);
}

.btn-print-tickets:hover::before {
    left: 100%;
}

.btn-receipt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-gold-dark) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 14px;
    text-decoration: none !important;
    border: 2px solid var(--color-gold-primary);
    transition: var(--transition-smooth);
}

.btn-receipt:hover {
    background: rgba(184, 147, 15, 0.1);
    color: var(--color-gold-darker) !important;
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--color-brown-light) 0%, var(--color-gold-dark) 100%);
    padding: 16px 24px;
    border-radius: 8px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 24px;
    border-left: 4px solid var(--color-gold-light);
    box-shadow: 0 2px 8px rgba(72, 72, 57, 0.15);
}

.profile-header h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-serif);
}

/* Compact button style for profile header */
.profile-header .btn-modern {
    padding: 10px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Orders Empty Card */
.orders-empty-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
}

.orders-empty-card h2 {
    color: var(--color-brown-text);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    font-family: var(--font-serif);
}

.orders-empty-card p {
    color: var(--color-brown-muted);
    margin: 0 0 24px 0;
}

/* Order Card */
.order-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
}


.order-card .event-image {
    border-radius: 12px;
    border: 2px solid var(--color-border-light);
    box-shadow: 0 2px 8px rgba(72, 72, 57, 0.08);
}

.order-card .event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.order-card .event-date {
    color: var(--color-gold-dark);
    font-weight: 600;
}

.order-card .event-venue {
    color: var(--color-brown-muted);
}

.order-details-label {
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
}

.order-details-value {
    color: var(--color-brown-muted);
}

.order-meta {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.9rem;
}

/* Ticket Table */
.ticket-table {
    background: var(--color-bg-cream);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
}

.ticket-table-header {
    background: var(--color-bg-light);
    padding: 10px 12px;
    border-bottom: 2px solid var(--color-border-medium);
}

.ticket-table-header strong {
    color: var(--color-brown-text);
    font-family: var(--font-serif);
}

.ticket-row {
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border-light);
}

.ticket-row:last-child {
    border-bottom: none;
}

/* Action Links */
.action-links {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.action-links a {
    color: var(--color-gold-dark);
    font-weight: 700;
    text-decoration: none;
    margin-right: 16px;
    transition: all 0.2s ease;
}

.action-links a:hover {
    color: var(--color-gold-darker);
    text-decoration: underline;
}

.order-divider {

    height: 2px;
    background: linear-gradient(90deg, var(--color-border-light), var(--color-border-medium), var(--color-border-light));
    margin: 0;
    border: none;
}

@media (max-width: 768px) {
    .profile-header {
        margin-top:20px;
        padding: 12px 16px;
    }

    .order-card {
        padding: 15px;
    }

    .order-meta {
        font-size: 0.85rem;
    }

    .breadcrumb-nav {
        margin: 15px;
        padding: 10px 20px;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin: 20px;
    padding: 10px 15px;
    background: var(--color-bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-gold-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav a {
    color: var(--color-brown-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.breadcrumb-nav a i {
    color: var(--color-gold-primary);
    font-size: 1.1rem;
}

.breadcrumb-nav a:hover {
    color: var(--color-gold-dark);
}

/* -----------------------------------------------------------------------------
   6.3 E-TICKET PRINT PAGE (ticket.aspx)
   ----------------------------------------------------------------------------- */

.ticket-card {
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-light) 100%);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 8px 40px rgba(72, 72, 57, 0.16);
    border: 2px solid var(--color-border-medium);
    overflow: hidden;
    position: relative;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
}

.ticket-header {
    background: linear-gradient(135deg, var(--color-brown-primary) 0%, var(--color-brown-light) 50%, var(--color-brown-medium) 100%);
    padding: 20px 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ticket-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 164, 24, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.ticket-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    font-family: var(--font-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.ticket-header .ticket-id {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.ticket-header h2 i {
    color: var(--color-gold-light);
    margin-right: 8px;
}

.ticket-body {
    padding: 20px;
}

.event-venue-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border-light);
}

.event-info,
.venue-info {
    display: block;
}

.event-poster,
.venue-poster {
    display: none !important;
}

.info-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold-dark);
    margin: 0 0 12px 0;
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-details p {
    margin: 6px 0;
    color: var(--color-brown-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-details strong {
    color: var(--color-brown-primary);
    font-weight: 600;
}

.info-details i {
    color: var(--color-gold-dark);
    margin-right: 6px;
}

.ticket-details-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.customer-details {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
}

.detail-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-lighter);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--color-brown-primary);
    min-width: 120px;
    font-size: 0.9rem;
}

.detail-value {
    color: var(--color-brown-text);
    font-size: 1rem;
    font-weight: 500;
}

.detail-value.name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold-dark);
}

.qr-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--color-gold-primary);
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 105, 20, 0.15);
    max-width: 100%;
}

.qr-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-brown-primary);
    margin: 0 0 8px 0;
    font-family: var(--font-serif);
}

.seat-info {
    font-size: 1rem;
    color: var(--color-brown-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.qr-code-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    background: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(72, 72, 57, 0.08);
}

.terms-section {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--color-gold-dark);
    margin-top: 30px;
    margin-bottom: 20px;
}

.terms-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold-darker);
    margin: 0 0 16px 0;
    font-family: var(--font-serif);
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h4 i {
    color: var(--color-gold-highlight);
    font-size: 1.3rem;
}

.terms-section p {
    color: var(--color-brown-muted);
    line-height: 1.8;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
}

.terms-section .important-notice {
    background: #FFE0B2;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid var(--color-gold-highlight);
}

.terms-section .important-notice strong {
    color: #8B5A00;
    font-size: 1.05rem;
}

.terms-section .important-notice i {
    color: var(--color-gold-highlight);
    margin-right: 6px;
}

/* Print Page Responsive */
@media (max-width: 992px) {

    .event-venue-section,
    .ticket-details-section {
        grid-template-columns: 1fr;
    }

    .qr-section {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .ticket-header {
        padding: 15px 20px;
    }

    .ticket-header h2 {
        font-size: 1.4rem;
    }

    .ticket-body {
        padding: 10px;
    }

    .event-info,
    .venue-info {
        flex-direction: column;
    }

    .event-poster,
    .venue-poster {
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 140/130;
    }

    .customer-details {
        padding: 15px;
    }

    .terms-section {
        padding: 15px;
    }
}

/* -----------------------------------------------------------------------------
   6.4 LOGOUT PAGE (logout.aspx)
   ----------------------------------------------------------------------------- */

.logout-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}

.logout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
}

.logout-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 24px rgba(139, 105, 20, 0.25);
}

.logout-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.logout-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-brown-text);
    margin: 0 0 12px 0;
    font-family: var(--font-serif);
}

.logout-subtitle {
    font-size: 1.05rem;
    color: var(--color-brown-muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.logout-message {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lighter) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 28px;
    border: 1px solid var(--color-border-light);
}

.logout-message p {
    margin: 0;
    color: var(--color-brown-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.logout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logout-actions .btn-continue {
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-serif);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 24px rgba(139, 105, 20, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.logout-actions .btn-continue:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(139, 105, 20, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.logout-actions .btn-login {
    background: var(--color-bg-cream);
    color: var(--color-brown-text);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-serif);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
    border: 2px solid var(--color-bg-tan);
    box-shadow: 0 2px 8px rgba(72, 72, 57, 0.08);
}

.logout-actions .btn-login:hover {
    background: var(--color-bg-tan);
    border-color: var(--color-brown-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(72, 72, 57, 0.15);
    text-decoration: none;
}

/* -----------------------------------------------------------------------------
   6.5 RECEIPT PAGE (profile/receipt.aspx)
   ----------------------------------------------------------------------------- */

.receipt-header {
    background: linear-gradient(135deg, var(--color-brown-primary) 0%, var(--color-brown-light) 40%, var(--color-gold-dark) 100%);
    padding: 28px 36px;
    border-radius: 16px;
    color: #ffffff;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(72, 72, 57, 0.2);
}

.receipt-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 25%, #996E00 50%, var(--color-gold-primary) 75%, var(--color-gold-light) 100%);
}

.receipt-header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.receipt-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
}

.receipt-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-bg-lighter);
}

.receipt-card .img-receipt {
    width: 140px;
    height: 130px;
    border-radius: 12px;
    border: 2px solid var(--color-border-light);
    object-fit: cover;
}

.receipt-label {
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
}

.receipt-value {
    color: var(--color-brown-muted);
}

.event-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
}

.event-date {
    color: var(--color-gold-dark);
    font-weight: 600;
}

.event-venue {
    color: var(--color-brown-muted);
}

.print-cta {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--color-gold-light);
    margin-top: 24px;
}

.print-cta .important-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #A94442;
    font-family: var(--font-serif);
    margin: 0 0 8px 0;
}

.print-cta p {
    color: var(--color-gold-darker);
    margin: 0 0 16px 0;
}

@media (max-width: 768px) {
    .receipt-card {
        padding: 15px;
    }
}

/* =============================================================================
   7. MAP & SEATING OVERLAYS
   ============================================================================= */

#map,
#seating {
    background-color: #FFFFFF;
    border: 10px solid #DFDFCB;
    box-shadow: 0 4px 6px #666666;
    display: none;
    position: absolute;
    margin-bottom: 10px;
    margin-left: 310px;
    margin-right: 0;
    top: 243px !important;
    width: 530px;
    z-index: 1;
    height: 420px;
}

#map {
    width: 550px;
    height: 440px;
}

.event-block .buy-button,
.event-block .date_options a {
    margin-right: 4px;
}

.event-block .date_options a:hover {
    background: #efefe5;
}

/* Tooltip Styles */
a span.tooltip {
    display: none;
    position: absolute;
    color: black;
    background: #95977b;
    padding: 10px;
    width: 150px;
}

a {
    position: relative;
}

a:hover span.tooltip {
    display: block;
    z-index: 999;
    text-align: center;
}

/* =============================================================================
   8. PRINT MEDIA STYLES
   ============================================================================= */

@media print {

    /* Reset layout containers for print */
    html,
    body,
    form,
    form>div.d-flex,
    .container,
    #page,
    #inner-page,
    #content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .ticket-print,
    .ticket-container {
        width: 100% !important;
    }

    .event-venue-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .event-poster,
    .venue-poster {
        display: none !important;
    }

    .ticket-body {
        padding: 5px;
    }

    .ticket-header {
        padding: 8px 15px;
    }

    .ticket-header h2 {
        font-size: 1.1rem;
        margin-bottom: 0px;
    }

    .event-info,
    .venue-info {
        display: block;
    }

    .info-details h3 {
        margin-bottom: 2px;
        font-size: 0.9rem;
    }

    .info-details p {
        margin: 0px;
        font-size: 0.8rem;
    }

    .ticket-details-section {
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 10px;
        margin-bottom: 5px;
    }

    .customer-details,
    .qr-section {
        padding: 8px;
    }

    .terms-section {
        padding: 15px;
    }

    .detail-row {
        padding: 2px 0;
    }

    .detail-label {
        min-width: 80px;
        font-size: 0.8rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }

    .detail-value.name {
        font-size: 1rem;
    }

    .qr-code-image {
        max-width: 110px;
        padding: 3px;
        margin: 0 auto;
    }

    .seat-info {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }

    .qr-section h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .terms-section {
        margin-top: 15px;
    }

    .terms-section h4 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .terms-section p {
        line-height: 1.2;
        margin-bottom: 2px;
        font-size: 0.75rem;
    }

    body {
        background: white;
    }

    #header,
    #footer,
    .google_ads,
    .breadcrumb-nav {
        display: none !important;
    }

    #content {
        padding: 0 !important;
    }

    #content>*:not(.ticket-print) {
        display: none !important;
    }

    .ticket-print {
        margin: 0;
        padding: 0;
    }

    .ticket-print>.row {
        display: none !important;
    }

    .ticket-print .ticket-container {
        margin: 0;
        padding: 0;
        max-width: none;
        page-break-after: always;
    }

    .ticket-print .ticket-container:last-child {
        page-break-after: auto;
    }

    .ticket-card {
        box-shadow: none;
        page-break-inside: avoid;
        margin: 0 auto;
        border: 1px solid var(--color-border-medium);
        width: 95%;
    }

    .pagebreak {
        page-break-before: always;
    }

    .hide-in-print {
        display: none !important;
    }

    @page {
        margin: 0.5cm;
    }
}

/* Final Mobile Reset Overrides */
@media (max-width: 992px) {

    .ticket-print,
    .ticket-container,
    .profile-container {
        padding: 0 !important;
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #content.p-3 {
        padding: 0 !important;
    }

    .ticket-print .row,
    .breadcrumb-nav.row {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .ticket-print [class*='col-'],
    .breadcrumb-nav [class*='col-'] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* =============================================================================
   9. BILLING / CHECKOUT FORM STYLES
   ============================================================================= */

.billing-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 50px;
}

.billing-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
}

/* Checkout Progress Indicator */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 40px;
    background: linear-gradient(135deg, var(--color-brown-primary) 0%, var(--color-brown-light) 100%);
    gap: 12px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.progress-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 100%);
    color: #ffffff;
    border-color: var(--color-gold-light);
    box-shadow: 0 4px 12px rgba(184, 147, 15, 0.4);
}

.progress-step .step-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-step.active .step-label {
    color: #ffffff;
}

.progress-line {
    flex: 1;
    max-width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 22px;
}

/* Billing Section Cards */
.billing-section {
    padding: 0;
    border-bottom: 1px solid var(--color-border-light);
}

.billing-section:last-of-type {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: linear-gradient(90deg, var(--color-bg-light) 0%, transparent 100%);
    border-bottom: 1px solid var(--color-border-light);
}

.section-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-brown-text);
    font-family: var(--font-serif);
}

.section-icon {
    font-size: 1.4rem;
    color: var(--color-gold-primary);
}

.section-body {
    padding: 24px 28px;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-row.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Form Labels */
.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brown-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-label i {
    color: var(--color-gold-dark);
    font-size: 0.95rem;
}

.form-label .required {
    color: #C44536;
    font-weight: 700;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--color-brown-text);
    background: #ffffff;
    border: 2px solid var(--color-border-medium);
    border-radius: 10px;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.form-input::placeholder {
    color: #A8A090;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 0 4px rgba(184, 147, 15, 0.15);
    background: var(--color-bg-cream);
}

.form-input:hover:not(:focus) {
    border-color: var(--color-brown-medium);
}

/* Validation Error */
.validation-error {
    color: #C44536;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.validation-error::before {
    content: '⚠';
}

/* Billing Actions */
.billing-actions {
    padding: 28px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lighter) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--color-border-light);
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-serif);
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 50%, var(--color-gold-darker) 100%);
    border: 2px solid var(--color-border-gold);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-continue::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-continue:hover {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 50%, var(--color-gold-dark) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
    border-color: var(--color-gold-light);
}

.btn-continue:hover::before {
    left: 100%;
}

.btn-continue:active {
    transform: translateY(-1px);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brown-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.secure-badge i {
    color: #4A7C59;
    font-size: 1rem;
}

/* Error Message */
.error-message {
    color: #C44536;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    padding: 12px 20px;
    background: rgba(196, 69, 54, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(196, 69, 54, 0.3);
    display: none;
}

.error-message:not(:empty) {
    display: block;
}

/* Responsive Billing Form */
@media (max-width: 768px) {
    .billing-page-container {
        padding: 20px 10px 40px;
    }

    .billing-form-wrapper {
        border-radius: 12px;
    }

    .checkout-progress {
        padding: 20px 15px;
        gap: 8px;
    }

    .progress-step .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .progress-step .step-label {
        font-size: 10px;
    }

    .progress-line {
        max-width: 50px;
        margin-bottom: 18px;
    }

    .section-header {
        padding: 16px 20px;
    }

    .section-header h3 {
        font-size: 1rem;
    }

    .section-body {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-row.three-columns {
        grid-template-columns: 1fr;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    .billing-actions {
        padding: 20px;
    }

    .btn-continue {
        width: 100%;
        min-width: unset;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .checkout-progress {
        padding: 16px 10px;
    }

    .progress-step .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .progress-step .step-label {
        font-size: 9px;
    }

    .section-header {
        padding: 14px 16px;
    }

    .section-body {
        padding: 16px;
    }

    .form-row {
        gap: 14px;
    }
}

/* =============================================================================
   9. EVENTS HOMEPAGE (default.aspx) - MODERN REDESIGN
   ============================================================================= */

/* Hero Section */
.hero-section {
    margin: -12px -12px 0 -12px;
}

.hero-promo-bg {
    min-height: 280px;
    background-color: #3D3524;
    background-image: linear-gradient(135deg, rgba(61, 53, 36, 0.85) 0%, rgba(72, 72, 57, 0.8) 100%),
        url('/images/hero-default.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-promo-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg-cream) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 100%);
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 1rem;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(139, 105, 20, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 105, 20, 0.5);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 100%);
}

.btn-hero-primary i {
    font-size: 1.2rem;
}

/* Promo Indicators */
.promo-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.promo-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.promo-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.promo-indicator.active {
    background: var(--color-gold-primary);
    border-color: var(--color-gold-light);
    transform: scale(1.2);
}

/* Newsletter Bar */
.newsletter-bar {
    background: linear-gradient(135deg, var(--color-brown-primary) 0%, var(--color-brown-medium) 100%);
    padding: 16px 24px;
    margin: 0 -12px;
    position: relative;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
}

.newsletter-text i {
    font-size: 1.3rem;
    color: var(--color-gold-light);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.newsletter-input {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 160px;
    transition: var(--transition-fast);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-dark) 100%);
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-newsletter:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 100%);
}

.newsletter-success {
    color: #4ade80;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.5s ease;
}

/* Maintenance Panel */
.maintenance-panel {
    padding: 60px 20px;
    text-align: center;
}

.maintenance-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 48px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.maintenance-content i {
    font-size: 4rem;
    color: var(--color-gold-primary);
    margin-bottom: 24px;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.maintenance-content h2 {
    font-family: var(--font-serif);
    color: var(--color-brown-text);
    margin: 0 0 12px 0;
}

.maintenance-content p {
    color: var(--color-brown-muted);
    margin: 0;
}

/* Events Section */
.events-section {
    padding: 40px 0 20px 0;
}

.events-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0;
    background: none;
    border: none;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.events-section .section-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-brown-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.events-section .section-title i {
    color: var(--color-gold-primary);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-light));
    border-radius: 2px;
}

.events-count {
    font-family: var(--font-sans);
    color: var(--color-brown-muted);
    font-size: 0.95rem;
}

.events-count .count-number {
    font-weight: 700;
    color: var(--color-gold-dark);
    font-size: 1.3rem;
}

/* Events Grid - Single Column */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Event Card - Horizontal Layout */
.event-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(72, 72, 57, 0.08);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
    position: relative;
}

.event-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(72, 72, 57, 0.12);
    border-color: var(--color-gold-primary);
}

.event-card.sold-out {
    opacity: 0.7;
}

.event-card.sold-out:hover {
    transform: none;
    cursor: default;
}

.event-card.cancelled {
    opacity: 0.6;
}

.event-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none !important;
    color: inherit !important;
}

/* Event Image - Left Side */
.event-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 180px;
    min-width: 180px;
    height: 120px;
}

.event-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-card-image {
    transform: scale(1.08);
}

.event-image-overlay {
    display: none;
    /* Hidden for simple horizontal layout */
}

.view-tickets-badge {
    display: none;
    /* Hidden for simple horizontal layout */
}

/* Status Badge */
.event-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.event-status-badge.sold-out {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.event-status-badge.cancelled {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

/* Event Card Body - Right Side Content */
.event-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-bg-light);
    color: var(--color-gold-dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    border-left: 3px solid var(--color-gold-primary);
}

.event-date-badge .date-day {
    font-weight: 700;
}

.event-date-badge .date-year {
    opacity: 0.7;
    margin-left: 4px;
}

.event-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-brown-text);
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brown-muted);
    font-size: 0.9rem;
}

.event-venue i {
    color: var(--color-gold-primary);
    font-size: 1rem;
}

/* Event Card Footer - Hidden for horizontal layout */
.event-card-footer {
    display: none;
}

/* No Events Panel */
.no-events-panel {
    padding: 80px 20px;
}

.no-events-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-cream) 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.no-events-content i {
    font-size: 4rem;
    color: var(--color-brown-muted);
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-events-content h3 {
    font-family: var(--font-serif);
    color: var(--color-brown-text);
    margin: 0 0 12px 0;
}

.no-events-content p {
    color: var(--color-brown-muted);
    margin: 0;
}

/* Responsive Styles for Homepage */
@media (max-width: 768px) {
    .hero-section {
        margin: -12px -12px 0 -12px;
    }

    .hero-promo-bg {
        min-height: 320px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero-primary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .newsletter-bar {
        padding: 16px;
    }

    .newsletter-content {
        flex-direction: column;
        gap: 16px;
    }

    .newsletter-form {
        width: 100%;
        justify-content: center;
    }

    .newsletter-input {
        width: 130px;
    }

    .events-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .events-section .section-title {
        font-size: 1.4rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-promo-bg {
        min-height: 280px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 30px 16px;
    }

    .promo-indicators {
        margin-top: 24px;
    }

    .newsletter-input {
        width: 110px;
        padding: 10px 12px;
    }

    .event-card-body {
        padding: 16px;
    }

    .event-card-title {
        font-size: 1.1rem;
    }
}