/*
Theme Name: Kadence Child
Theme URI: https://example.com/
Description: Child theme for the Kadence theme.
Author: Your Name
Author URI: https://example.com/
Template: kadence
Version: 1.0.0
Text Domain: kadence_child
*/

/* Your custom CSS goes below */


/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@300;400;600&display=swap');

/* Container */
.event-cards-grid {
    max-width: 1100px;
    margin: 36px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    padding: 0 16px;
}

/* Deck/card sizing — smaller and centered */
.event-deck {
    position: relative;
    width: 100%;
    height: 320px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card base */
.event-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    backface-visibility: hidden;
    transition: transform 0.7s cubic-bezier(.2,.9,.2,1), box-shadow 0.2s;
    box-shadow: 0 10px 24px rgba(30, 40, 60, 0.08);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Front / Back transforms */
.card-front { z-index: 2; transform: rotateY(0deg); }
.card-back  { transform: rotateY(180deg); background-size: cover; background-position: center; position: relative; }

/* Flip state */
.event-deck.swiped .card-front { transform: rotateY(-180deg); }
.event-deck.swiped .card-back  { transform: rotateY(0deg); z-index: 3; }

/* Front image */
.event-flyer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder front when no image */
.event-flyer.placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#f4f6fb,#eef2f7);
}

/* Swipe hint (front) — visible, encourages action */
.swipe-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    background: rgba(255,255,255,0.95);
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2b2f3a;
    box-shadow: 0 6px 18px rgba(38,46,80,0.08);
    cursor: pointer;
}

/* Arrows animation (loading-like) */
.arrows { display:inline-flex; gap:6px; }
.arrow {
    display:inline-block;
    color:#6c6f76;
    font-weight:700;
    transform: translateX(0);
    opacity: 0.9;
    font-family: monospace;
}
.a1 { animation: arrowMove 1.0s cubic-bezier(.2,.9,.2,1) infinite 0s; }
.a2 { animation: arrowMove 1.0s cubic-bezier(.2,.9,.2,1) infinite 0.12s; }
.a3 { animation: arrowMove 1.0s cubic-bezier(.2,.9,.2,1) infinite 0.24s; }

@keyframes arrowMove {
    0%   { transform: translateX(0); opacity: 0.65; }
    50%  { transform: translateX(-8px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.65; }
}

.swipe-label {
    font-size: 13px;
    color: #2b2f3a;
}

/* BACK — dim background + white content block for readability */
.back-dim {
    position: absolute;
    inset: 0;
    background: rgba(7,18,30,0.35); /* subtle dim over bg image */
}

/* Info block (white) */
.event-info {
    position: relative;
    z-index: 5;
    width: calc(100% - 40px);
    max-width: 420px;
    margin: 18px auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(18,24,40,0.06);
    padding: 14px 16px;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

/* List styling with dividers */
.event-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.event-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    align-items: baseline;
    border-bottom: 1px solid rgba(18,24,40,0.06);
}
.event-info-list li:last-child { border-bottom: none; padding-bottom: 6px; }

/* Labels / Values */
.event-info .label {
    font-size: 12px;
    color: #6f7380;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 600;
    width: 28%;
}

/* Values */
.event-info .value {
    display: block;
    font-size: 14px;
    color: #11121a;
    text-align: right;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Title thicker, uppercase block look */
.event-info .value.title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #0f1724;
}

/* Date/Venue thinner */
.event-info .value:not(.title) {
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/* Purchase button (shaking) */
.ticket-btn {
    display: inline-block;
    margin: 12px auto 6px;
    background: #ff6b6b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 26px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255,107,107,0.12);
}

/* subtle shake animation */
.shake {
    animation: ticketShake 1.25s ease-in-out infinite;
    transform-origin: center;
}

@keyframes ticketShake {
    0%   { transform: translateX(0) rotate(0deg); }
    20%  { transform: translateX(-3px) rotate(-1deg); }
    40%  { transform: translateX(3px) rotate(1deg); }
    60%  { transform: translateX(-2px) rotate(-0.5deg); }
    80%  { transform: translateX(2px) rotate(0.5deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

/* Make look tighter / compact */
.event-info .label, .event-info .value { line-height: 1.05; }

/* Small responsive tweaks */
@media (max-width: 520px) {
    .event-deck { height: 300px; }
    .event-info { width: calc(100% - 30px); padding: 12px; }
    .event-info .label { display: block; width: 100%; font-size: 11px; text-align: left; }
    .event-info-list li { flex-direction: column; align-items: flex-start; gap:6px; padding: 8px 0; }
}
/* Sold out loader bar */
.soldout-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 8px 0 4px;
    overflow: hidden;
}

.soldout-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff9b6b);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.soldout-label {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #555;
    font-weight: 600;
    margin-bottom: 6px;
}
.single-event-page {
    font-family: 'Inter', sans-serif;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* Banner */
.event-banner {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 30px;
}
.event-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    border-radius: 12px;
}
.event-banner .event-title {
    position: relative;
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
}

/* Gallery */
.event-gallery {
    margin: 20px 0 40px;
}
.event-gallery img {
    width: 100%;
    border-radius: 10px;
}

/* Details */
.event-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.event-details li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/* Tickets */
.event-tickets h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    margin-bottom: 16px;
}
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.ticket-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.ticket-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
}
.ticket-price {
    font-size: 18px;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 12px;
}
.ticket-quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}
.ticket-quantity button {
    padding: 6px 12px;
    font-size: 18px;
    background: #f3f3f3;
    border: none;
    cursor: pointer;
}
.ticket-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 6px;
}
.buy-ticket {
    display: block;
    width: 100%;
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
.buy-ticket:hover {
    background: #e63946;
}


.event-gallery {
  width: 100%;
  max-width: 900px;
  height: 450px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
}
.event-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


