/* Kaufticket – additional styles on top of the compiled theme (no build step required) */

:root {
    --kt-radius: 14px;
    --kt-shadow: 0 6px 22px rgba(20, 24, 45, .08);
    --kt-shadow-hover: 0 12px 30px rgba(20, 24, 45, .16);
    --kt-brand: #f57c00;
    --kt-dark: #14182d;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
    letter-spacing: -.01em;
}

/* cards: softer corners, gentle lift */
.card, .box {
    border-radius: var(--kt-radius);
}

.event-card, .blog-post-card, .category-card, .venue-card, .organizer-card {
    border-radius: var(--kt-radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover, .blog-post-card:hover, .category-card:hover, .venue-card:hover, .organizer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kt-shadow-hover);
}

.blog-post-card .card-img-top {
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

/* buttons */
.btn {
    border-radius: 999px;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-lg {
    padding-left: 1.7rem;
    padding-right: 1.7rem;
}

/* visible keyboard focus (accessibility) */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(245, 124, 0, .55);
    outline-offset: 2px;
}

/* marketing pages (about us, for organizers, how it works) */
.marketing-page .card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.marketing-page .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--kt-shadow-hover) !important;
}

/* homepage marketing sections */
.mkt-section {
    padding: 4.5rem 0;
}

.mkt-heading {
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.mkt-heading h2 {
    font-weight: 700;
}

.mkt-card {
    background: #fff;
    border-radius: var(--kt-radius);
    padding: 1.8rem 1.5rem;
    box-shadow: var(--kt-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.mkt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--kt-brand), #ff9f43);
}

.mkt-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kt-brand);
    border: 3px solid var(--kt-brand);
    background: rgba(245, 124, 0, .08);
}

.mkt-organizer-cta {
    border-radius: 22px;
    padding: 2.8rem;
    color: #fff;
    background: linear-gradient(135deg, #1b1f3b 0%, #4a1c6e 100%);
    box-shadow: var(--kt-shadow-hover);
}

.mkt-organizer-cta h2 {
    color: #fff;
    font-weight: 700;
}

.mkt-lead {
    font-size: 1.15rem;
    opacity: .9;
    margin-bottom: 1.6rem;
}

/* hero: readable text on the background image */
.homepage-custom-hero-background {
    background-size: cover;
    background-position: center;
}

/* RTL (Arabic): mirror the order of the elements in rows */
.rtl .mkt-card, .rtl .mkt-heading, .rtl .marketing-page {
    text-align: right;
}

.rtl .mkt-heading, .rtl .mkt-step-number {
    text-align: center;
}

/* blog articles: comfortable reading width and spacing */
.blog-article-content, .blog-post-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-article-content h2 {
    margin-top: 1.8rem;
}

@media (max-width: 767px) {
    .mkt-section {
        padding: 3rem 0;
    }

    .mkt-organizer-cta {
        padding: 1.8rem 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* events without an image */
.event-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b1f3b 0%, #4a1c6e 60%, #f57c00 140%);
}

.event-placeholder i {
    font-size: 3.2rem;
    color: rgba(255, 255, 255, .35);
}

.event-placeholder a {
    position: absolute;
    inset: 0;
    z-index: 1;
}