/* ============================================================
   GCDans Bilet — Design System CSS
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    --navy:        #1a1a2e;
    --navy-dark:   #121220;
    --navy-light:  #252542;
    --gold:        #c9a84c;
    --gold-dark:   #a8883a;
    --gold-light:  #e8c96e;
    --light-bg:    #f8f6f2;
    --light-grey:  #f5f5f5;
    --text-dark:   #1e1e2e;
    --text-muted:  #6c757d;
    --white:       #ffffff;

    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;

    --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
    --shadow-md:   0 8px 24px rgba(0,0,0,.12);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.18);
    --shadow-gold: 0 4px 20px rgba(201,168,76,.35);

    --transition:  all .25s ease;
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-sans:   'Lato', system-ui, sans-serif;
}

/* ---- Input group fixes ---- */
.input-group .input-group-text {
    border: 2px solid rgba(0,0,0,.1);
    background: var(--light-grey);
    color: var(--text-muted);
    transition: border-color .2s ease;
}
.input-group .form-control {
    border-left: none;
}
.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: var(--gold);
}
.input-group:focus-within .form-control {
    box-shadow: none;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--light-bg);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.65;
}

::selection {
    background: var(--gold);
    color: var(--white);
}

h1, h2, h3, h4, .brand-font {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    background: var(--navy);
    padding: .75rem 0;
    transition: box-shadow .3s ease, padding .3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* padding-top navbar yüksekliğine göre JS ile set edilir */

body.scrolled #mainNav {
    box-shadow: 0 4px 24px rgba(0,0,0,.35);
    padding: .45rem 0;
}

#mainNav .navbar-brand {
    font-family: var(--font-serif);
    color: var(--gold) !important;
    font-size: 1.35rem;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    gap: .4rem;
}

#mainNav .navbar-brand i {
    font-size: 1.2rem;
}

/* Nav links with animated underline */
#mainNav .nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 400;
    font-size: .95rem;
    padding: .5rem .75rem;
    position: relative;
    transition: color .2s ease;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: .75rem;
    right: .75rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--gold) !important;
}

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

/* CTA button in nav */
.btn-nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: .45rem 1.1rem !important;
    font-size: .9rem;
    transition: var(--transition);
}

.btn-nav-cta::after { display: none !important; }

.btn-nav-cta:hover {
    background: var(--gold-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

/* Mobile toggler */
#mainNav .navbar-toggler {
    border-color: rgba(201,168,76,.4);
}
#mainNav .navbar-toggler-icon {
    filter: brightness(2);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 82vh;
    background: linear-gradient(145deg, var(--navy) 0%, #16213e 55%, #0f3460 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle dot-grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1rem;
}

/* Fade-in-up animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes checkmarkDraw {
    from { stroke-dashoffset: 100; }
    to   { stroke-dashoffset: 0; }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    animation: fadeInUp .7s ease both;
    margin-bottom: .5rem;
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    color: rgba(255,255,255,.75);
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: fadeInUp .7s .15s ease both;
    margin-bottom: 2rem;
}

.hero-search {
    animation: fadeInUp .7s .3s ease both;
    max-width: 600px;
    margin: 0 auto;
}

.hero-search .form-control {
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    padding: .95rem 1.5rem;
    font-size: 1.05rem;
    box-shadow: none;
    background: rgba(255,255,255,.95);
}

.hero-search .btn-search {
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: .95rem 1.8rem;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
}

.hero-search .btn-search:hover {
    background: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

/* Wave separator */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ============================================================
   CITY CHIPS (below hero)
   ============================================================ */
.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    padding: 1.5rem 0;
}

.city-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--white);
    color: var(--navy);
    border: 2px solid rgba(26,26,46,.12);
    border-radius: 999px;
    padding: .4rem 1.1rem;
    font-size: .9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.city-chip:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    font-family: var(--font-serif);
    color: var(--navy);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: .3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-top: .45rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header .section-subtitle {
    color: var(--text-muted);
    font-size: .95rem;
    margin-top: .75rem;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
    position: relative;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-card-img {
    position: relative;
    overflow: hidden;
}

.event-card-img img,
.event-card-img .img-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

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

.event-card-img .img-placeholder {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
}

.event-card-img .img-placeholder i {
    font-size: 3rem;
    color: rgba(255,255,255,.2);
}

/* Gradient overlay on image */
.event-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.6) 0%, transparent 55%);
    pointer-events: none;
}

/* Date badge — top-left absolute */
.event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: .3rem .65rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Category chip */
.event-category-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(26,26,46,.75);
    color: rgba(255,255,255,.9);
    border-radius: 999px;
    padding: .2rem .7rem;
    font-size: .72rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.event-card-body {
    padding: 1.1rem 1.2rem;
}

.event-card-body .event-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: .4rem;
    line-height: 1.3;
}

.event-card-body .event-meta {
    color: var(--text-muted);
    font-size: .85rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: .6rem;
}

.event-card-body .event-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.event-card-footer {
    padding: .75rem 1.2rem;
    background: transparent;
    border-top: 1px solid rgba(0,0,0,.06);
}

/* Compact card (upcoming events) */
.event-card-compact .event-card-img img,
.event-card-compact .event-card-img .img-placeholder {
    height: 150px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

/* Ripple effect */
.btn-gold::after {
    content: '';
    position: absolute;
    inset: 50%;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    transition: transform .5s, opacity .5s;
}

.btn-gold:active::after {
    inset: -50%;
    transform: scale(1);
    opacity: 0;
    transition: 0s;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-gold {
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
}

.badge-navy {
    background: var(--navy);
    color: var(--gold);
    font-weight: 600;
}

/* ============================================================
   CAMPAIGN CARDS
   ============================================================ */
.campaign-card {
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--white) 0%, #fdf9f0 100%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.campaign-card .discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: var(--shadow-gold);
}

.campaign-card .discount-badge small {
    font-size: .6rem;
    font-weight: 600;
}

.campaign-code {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--navy);
    color: var(--gold);
    border-radius: var(--radius-sm);
    padding: .35rem .85rem;
    font-family: monospace;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .05em;
}

/* ============================================================
   CITY CARDS (cities page)
   ============================================================ */
.city-card {
    border: none;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
}

.city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #0f3460 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0;
}

.city-card:hover::before {
    opacity: 1;
}

.city-card .city-icon {
    font-size: 2.8rem;
    color: var(--gold);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.city-card:hover .city-icon {
    color: var(--gold-light);
    transform: scale(1.1);
}

.city-card .city-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--navy);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    margin-top: .6rem;
}

.city-card:hover .city-name {
    color: var(--white);
}

.city-card .city-count {
    color: var(--text-muted);
    font-size: .85rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.city-card:hover .city-count {
    color: rgba(255,255,255,.7);
}

.city-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   FORM FIELDS
   ============================================================ */
.form-control, .form-select {
    border: 2px solid rgba(0,0,0,.1);
    border-radius: var(--radius-sm);
    padding: .65rem 1rem;
    font-family: var(--font-sans);
    transition: border-color .2s ease, box-shadow .2s ease;
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.18);
    outline: none;
}

.form-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--navy);
    margin-bottom: .4rem;
}

/* Auth pages */
.auth-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: none;
}

.auth-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, #16213e 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.auth-card-header .auth-logo {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-bottom: .5rem;
}

.auth-card-header h2 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: .25rem;
}

.auth-card-header .social-proof {
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}

.auth-card-body {
    padding: 2rem;
}

/* ============================================================
   TICKET TYPE RADIO CARDS
   ============================================================ */
.ticket-type-card {
    border: 2px solid rgba(0,0,0,.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.ticket-type-card:hover {
    border-color: var(--gold);
    background: #fdf9f0;
}

.ticket-type-card.selected,
input[type="radio"]:checked + .ticket-type-card {
    border-color: var(--gold);
    background: linear-gradient(135deg, #fdf9f0, #fef7e4);
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.ticket-radio-wrapper {
    position: relative;
}

.ticket-radio-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ============================================================
   SEAT MAP
   ============================================================ */
#seat-map-container {
    overflow-x: auto;
    padding: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
}

.seat-grid {
    display: inline-grid;
    gap: 6px;
}

.seat {
    width: 36px;
    height: 36px;
    border: 2px solid #ccc;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
    user-select: none;
    font-weight: 600;
}

.seat.available {
    background: var(--white);
    border-color: #b0b0b0;
}

.seat.available:hover {
    background: #fff8e1;
    border-color: var(--gold);
    transform: scale(1.12);
    box-shadow: 0 2px 8px rgba(201,168,76,.3);
}

.seat.selected {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.seat.sold {
    background: #e0e0e0;
    border-color: #bbb;
    color: #999;
    cursor: not-allowed;
}

.seat.reserved {
    background: #f5f5f5;
    border-color: #ccc;
    color: #bbb;
    cursor: not-allowed;
}

.seat.blocked {
    background: #f0f0f0;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: .5;
}

.seat-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding: .75rem 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
}

.seat-legend-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.seat-legend-box {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 2px solid #ccc;
}

/* Section label strips */
.colosseum-layout {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: .5rem;
}

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

.colosseum-section h6 {
    color: var(--white);
    font-weight: 700;
    background: var(--navy);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: .35rem .75rem;
    margin-bottom: .5rem;
    font-size: .8rem;
    letter-spacing: .04em;
}

/* ============================================================
   SIDEBAR (event detail)
   ============================================================ */
.event-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    overflow: hidden;
    border: none;
}

/* Etkinlik detay sayfasında tek sidebar sticky olsun */
.event-detail-sidebar .event-sidebar {
    position: sticky;
    top: 80px;
}

.event-sidebar-header {
    background: linear-gradient(135deg, var(--navy), #16213e);
    color: var(--white);
    padding: 1.25rem 1.5rem;
}

.event-sidebar-header h5 {
    margin: 0;
    color: var(--gold);
    font-family: var(--font-serif);
}

.event-sidebar-body {
    padding: 1.25rem 1.5rem;
}

/* Performer avatar (initials) */
.performer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26,26,46,.25);
}

.performer-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    transition: var(--transition);
}

.performer-card:hover {
    background: #f0ece6;
}

/* ============================================================
   CHECKOUT STEPS
   ============================================================ */
.checkout-steps {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.checkout-step {
    flex: 1;
    padding: .8rem 1rem;
    background: var(--light-grey);
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
    color: #888;
    position: relative;
    transition: var(--transition);
}

.checkout-step.active {
    background: var(--navy);
    color: var(--white);
}

.checkout-step.done {
    background: var(--gold);
    color: var(--white);
}

/* ============================================================
   PAYMENT — Card Preview
   ============================================================ */
.card-preview {
    background: linear-gradient(135deg, var(--navy), #16213e);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: var(--white);
    min-height: 160px;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.card-preview .card-number-display {
    font-size: 1.3rem;
    letter-spacing: .2em;
    margin: 1rem 0 .5rem;
    font-family: monospace;
    color: var(--gold);
}

.card-preview .card-name-display {
    font-size: .9rem;
    text-transform: uppercase;
    opacity: .8;
}

/* Price summary */
.price-summary {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid rgba(0,0,0,.06);
}

.price-summary .total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    border-top: 2px solid var(--gold);
    padding-top: .75rem;
    margin-top: .75rem;
}

/* ============================================================
   TICKET CONFIRM PAGE
   ============================================================ */
/* Animated checkmark */
.confirm-check-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeIn .5s ease both;
}

.confirm-check-svg {
    width: 90px;
    height: 90px;
}

.confirm-check-circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    animation: fadeIn .6s ease both;
}

.confirm-check-path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: checkmarkDraw .6s .3s ease forwards;
}

.ticket-card {
    border: 2px solid var(--gold);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ticket-card .ticket-header {
    background: linear-gradient(135deg, var(--navy), #16213e);
    color: var(--white);
    padding: 1.5rem;
}

.ticket-card .ticket-header h2 {
    color: var(--gold);
    font-family: var(--font-serif);
}

.ticket-code {
    font-family: monospace;
    font-size: 1.15rem;
    background: var(--light-bg);
    padding: .6rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 2px dashed var(--gold);
    letter-spacing: .12em;
    color: var(--navy);
    font-weight: 700;
    display: inline-block;
}

/* ============================================================
   FLASH ALERTS
   ============================================================ */
.flash-alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .6rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp .35s ease both;
}

.flash-alert.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.flash-alert.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.75);
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.footer-main {
    padding: 3.5rem 0 2rem;
}

.footer-brand {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
}

.footer-desc {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-newsletter .form-control {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: .55rem 1rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255,255,255,.45);
}

.footer-newsletter .form-control:focus {
    background: rgba(255,255,255,.15);
    border-color: var(--gold);
    box-shadow: none;
    color: var(--white);
}

.footer-newsletter .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.footer-heading {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .65rem;
    font-size: .9rem;
    color: rgba(255,255,255,.65);
}

.footer-contact-item i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: .15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.45);
    font-size: .85rem;
}

.social-icons {
    display: flex;
    gap: .6rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.12);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================================
   HERO IMAGE (event detail)
   ============================================================ */
.event-hero {
    position: relative;
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.event-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.8) 0%, transparent 55%);
}

.event-hero-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2.5rem;
    color: var(--white);
}

.event-hero-title h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: .5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold   { color: var(--gold) !important; }
.text-navy   { color: var(--navy) !important; }
.bg-navy     { background: var(--navy) !important; }
.bg-gold     { background: var(--gold) !important; }
.bg-light-bg { background: var(--light-bg) !important; }

.divider-gold {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 2rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero { min-height: 65vh; }
    .colosseum-layout { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: .95rem; }
    .hero-search .form-control { border-radius: var(--radius-sm); }
    .hero-search { flex-direction: column; gap: .5rem; }
    .hero-search .form-control,
    .hero-search .btn-search { border-radius: var(--radius-sm) !important; }

    .event-card-img img,
    .event-card-img .img-placeholder { height: 180px; }

    .seat { width: 28px; height: 28px; font-size: .55rem; }

    #seat-map-container { -webkit-overflow-scrolling: touch; }

    .auth-card-body { padding: 1.25rem; }
    .event-hero-title { padding: 1rem 1.25rem; }
    .event-hero img { height: 260px; }
    .footer-main { padding: 2.5rem 0 1.5rem; }
}

@media (max-width: 576px) {
    .checkout-steps { flex-direction: column; }
    .city-chips { gap: .4rem; }
}
