/**
 * Jack The Ripper Tours - Hero Section Styles
 *
 * @package TwentyTwentyFive_Child
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --jtr-hero-red: #FF2F2E;
    --jtr-hero-white: #ffffff;
    --jtr-hero-bg: #0E0E0E;
    --jtr-hero-title-size: 110px;
    --jtr-hero-desc-size: 50px;
    --jtr-hero-cta-size: 21px;
    --jtr-hero-padding: 15px 40px;
    --jtr-hero-transition: 0.3s ease;
}

/* ============================================
   Hero Section Base
   ============================================ */
.jtr-hero {
    position: relative;
    width: 100%;
    background-color: var(--jtr-hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

/* ============================================
   Gradient Overlay
   ============================================ */
.jtr-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        var(--jtr-hero-bg) 0%,
        transparent 30%,
        transparent 70%,
        var(--jtr-hero-bg) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   Container
   ============================================ */
.jtr-hero__container {
    position: relative;
    width: 100%;
    padding: var(--jtr-hero-padding);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 75px !important; 
    padding-bottom: 75px !important;
}

.jtr-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    margin: 0 auto;
    height: 100%;
}

/* ============================================
   Titles - MirthaDisplayTrial Font
   ============================================ */
.jtr-hero__title {
    font-family: 'MirthaDisplayTrial', Georgia, serif;
    font-size: var(--jtr-hero-title-size);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.jtr-hero__title--red {
    color: var(--jtr-hero-red);
}

.jtr-hero__title--white {
    color: var(--jtr-hero-white);
}

/* ============================================
   Description - Boyrun Font
   ============================================ */
.jtr-hero__bottom {
    max-width: 850px;
    margin: 0 auto;
}
img.badge {
    width: 100%;
    height: auto !important;
    max-width: 1140px;
    margin: 40px auto;
}
p.jtr-hero__description {
    max-width: 750px;
    margin: 0 auto;
}

.jtr-hero__desc-line {
    font-family: 'Boyrun', Georgia, serif;
    font-size: var(--jtr-hero-desc-size);
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0;
}

.jtr-hero__desc-line--white {
    color: var(--jtr-hero-white);
}

.jtr-hero__desc-line--red {
    color: var(--jtr-hero-red);
}

/* ============================================
   CTA Button - Matter Font
   ============================================ */
.jtr-hero__cta {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 0;
    font-family: 'Matter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--jtr-hero-cta-size);
    font-weight: 700;
    color: var(--jtr-hero-white);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-transform: uppercase;
    letter-spacing: 0;
    background: transparent;
    border: none;
    transition: all var(--jtr-hero-transition);
    cursor: pointer;
}

.jtr-hero__cta:hover,
.jtr-hero__cta:focus {
    color: var(--jtr-hero-red);
}

.jtr-hero__cta--placeholder {
    cursor: default;
    opacity: 0.7;
}

.jtr-hero__cta--placeholder:hover,
.jtr-hero__cta--placeholder:focus {
    color: var(--jtr-hero-white);
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Large Desktop */
@media (max-width: 1400px) {
    :root {
        --jtr-hero-title-size: 90px;
        --jtr-hero-desc-size: 40px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    :root {
        --jtr-hero-title-size: 75px;
        --jtr-hero-desc-size: 35px;
        --jtr-hero-cta-size: 18px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --jtr-hero-title-size: 60px;
        --jtr-hero-desc-size: 28px;
        --jtr-hero-cta-size: 16px;
        --jtr-hero-padding: 15px 30px;
    }

    .jtr-hero__description {
        margin-top: 30px;
    }

    .jtr-hero__cta {
        margin-top: 40px;
        padding: 15px 30px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --jtr-hero-title-size: 45px;
        --jtr-hero-desc-size: 22px;
        --jtr-hero-cta-size: 14px;
        --jtr-hero-padding: 15px 20px;
    }

    .jtr-hero__title {
        letter-spacing: 0;
    }

    .jtr-hero__desc-line {
        letter-spacing: 0px;
    }

    .jtr-hero__description {
        margin-top: 25px;
    }

    .jtr-hero__cta {
        margin-top: 35px;
        padding: 14px 25px;
    }
    img.badge {
        margin: 0 auto 30px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --jtr-hero-title-size: 32px;
        --jtr-hero-desc-size: 16px;
        --jtr-hero-cta-size: 12px;
    }

    .jtr-hero__description {
        margin-top: 20px;
    }

    .jtr-hero__desc-line {
        letter-spacing: 0px;
        padding: 3px 0;
    }

    .jtr-hero__cta {
        margin-top: 30px;
        padding: 12px 20px;
        letter-spacing: 1px;
    }
}

/* ============================================
   Block Editor Placeholder
   ============================================ */
.jtr-hero__placeholder {
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.jtr-hero__placeholder p {
    margin: 0;
    font-family: 'Matter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.jtr-hero__placeholder p:first-child {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.jtr-hero__placeholder small {
    font-size: 14px;
    opacity: 0.7;
}