/*
 Theme Name:   Neve Child
 Theme URI:    https://bakerstreetmystery.com
 Description:  Child theme for Neve — Baker Street Mystery
 Author:       David Scaliatine
 Author URI:   https://bakerstreetmystery.com
 Template:     neve
 Version:      1.2.2
 Text Domain:  neve-child
*/

/*----Test -----*/

/* ============================================
   BAKER STREET MYSTERY — Global Styles
   All custom CSS goes here. This file will
   never be overwritten by Neve updates.

   STRUCTURE:
   1. Hero Section
   2. Events Section (wrapper only — card styles
      are in tribe-events/pro/tribe-events-pro.css)
   3. Shared Buttons
   4. Shared Animations
   5. Responsive
   ============================================ */

/* ── Google Fonts are loaded via functions.php ── */


/* ════════════════════════════════════════════
   1. HERO SECTION
   ════════════════════════════════════════════ */
.civeche {
  font-family: "Ceviche One", system-ui !important;
  font-weight: 400;
  font-style: normal;
}


.hero {
    --bsm-black:      #0a0a0a;
    --bsm-gold:       #c9a84c;
    --bsm-gold-light: #e8c97a;
    --bsm-cream:      #f5f0e8;
    --bsm-red:        #8b1a1a;
    --bsm-white:      #ffffff;

    position: relative;
    width: 100%;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--bsm-black);
    font-family: 'DM Sans', sans-serif;
}

.hero-photo {
    position: relative;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(30%) contrast(1.1);
    animation: bsm-slowZoom 12s ease-out forwards;
}

@keyframes bsm-slowZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}

.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 40%, var(--bsm-black) 100%),
        linear-gradient(to top, var(--bsm-black) 0%, transparent 30%),
        radial-gradient(ellipse at 30% 50%, transparent 40%, rgba(0,0,0,0.5) 100%);
}




.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 3rem);
    background: var(--bsm-black);
}

.hero-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--bsm-gold), transparent);
}

.hero-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--bsm-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 0.3s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--bsm-gold);
    flex-shrink: 0;
}

.hero-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 3vw, 4rem);
    line-height: 1.2;
    color: var(--bsm-white);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 0.5s both;
}

.hero-headline em {
    font-style: normal;
    color: var(--bsm-gold);
    display: block;
  font-family: "Ceviche One", system-ui !important;
  font-weight: 400;
  line-height: .8;
  font-style: normal;
    font-size: clamp(3.5rem, 6vw, 6rem);

}

.hero-sub {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 1.5vw, 1.3rem);
    font-style: italic;
    color: rgba(255,255,255,0.8);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
    max-width: 44ch;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 0.7s both;
}

.hero-hook {
    display: flex;
    gap: 0;
    margin-bottom: 3rem;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 0.9s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 1s both;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--bsm-white);
    line-height: 1;
}

.stat-number span { color: var(--bsm-gold); }

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
    font-family: 'DM Sans', sans-serif;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: bsm-fadeUp 0.8s 1.1s both;
}


/* ════════════════════════════════════════════
   2. EVENTS SECTION WRAPPER
   Note: event card styles live separately in
   neve-child/tribe-events/pro/tribe-events-pro.css
   ════════════════════════════════════════════ */

.bsm-events {
    --bsm-black:      #0a0a0a;
    --bsm-dark:       #111010;
    --bsm-gold:       #c9a84c;
    --bsm-gold-light: #e8c97a;
    --bsm-white:      #ffffff;
    --bsm-muted:      rgba(255,255,255,0.45);

    background: var(--bsm-dark);
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

/* Gold top rule */
.bsm-events::after {
    content: '';
    position: absolute;
    top: 0;
    left: clamp(1.5rem, 6vw, 6rem);
    right: clamp(1.5rem, 6vw, 6rem);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bsm-gold), transparent);
}

.bsm-events .bsm-events__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.bsm-events .bsm-events__eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--bsm-gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bsm-events .bsm-events__eyebrow::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: var(--bsm-gold);
    flex-shrink: 0;
}

.bsm-events .bsm-events__title {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.95;
    color: var(--bsm-white);
    letter-spacing: 0.02em;
    margin: 0;
}

.bsm-events .bsm-events__title em {
    font-style: normal;
    color: var(--bsm-gold);
}

.bsm-events .bsm-events__view-all {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bsm-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    transition: color 0.3s;
    padding-bottom: 0.25rem;
}

.bsm-events .bsm-events__view-all::after { content: '→'; transition: transform 0.3s; }
.bsm-events .bsm-events__view-all:hover { color: var(--bsm-gold); }
.bsm-events .bsm-events__view-all:hover::after { transform: translateX(4px); }

.bsm-events .bsm-events__intro {
    font-family: 'Playfair Display', serif;
    color: var(--bsm-muted);
    line-height: 1.7;
    max-width: 55ch;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
	font-style: normal;

}

.bsm-events .bsm-events__calendar-wrap {
    position: relative;
    z-index: 1;
}

.bsm-events .bsm-events__footer {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.bsm-events .bsm-events__footer-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--bsm-muted);
}

.bsm-events .bsm-events__footer-text strong {
    color: var(--bsm-white);
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}


/* ════════════════════════════════════════════
   3. SHARED BUTTONS
   ════════════════════════════════════════════ */

.bsm-btn-primary {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: #c9a84c;
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.bsm-btn-primary:hover { background: #e8c97a; color: #0a0a0a; }

.bsm-btn-secondary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.bsm-btn-secondary::before {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 1px;
    background: currentColor;
    transition: width 0.3s;
}

.bsm-btn-secondary:hover { color: #ffffff; }
.bsm-btn-secondary:hover::before { width: 1.75rem; }


/* ════════════════════════════════════════════
   4. SHARED ANIMATIONS
   ════════════════════════════════════════════ */

@keyframes bsm-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════
   5. RESPONSIVE
   ════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 45vh auto;
        min-height: auto;
    }
    .hero-photo::after {
        background: linear-gradient(to bottom, transparent 40%, #0a0a0a 100%);
    }
    .hero-content::before { display: none; }
    .hero-content { padding: 2rem 1.5rem 4rem; }
    .hero-stats { gap: 1.5rem; }
    .bsm-events .bsm-events__header { grid-template-columns: 1fr; }
    .bsm-events .bsm-events__footer { flex-direction: column; align-items: flex-start; }
}
