﻿/*
    @media (min-width: 544px) {}
    @media (min-width: 768px) {}
    @media (min-width: 992px) {}
    @media (min-width: 1200px) {}
    @media (min-width: 1400px) {}
    @media (min-width: 1600px) {}
*/

html {
    scroll-behavior: smooth;
}

body {
    /*font-family: "Roboto", "Arial", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 14px;*/
}

/*custom contaienr*/
.container-custom {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .container-custom {
        width: 1140px;
    }
}


@media (min-width: 1400px) {
    .container-custom {
        width: 1340px;
    }
}


@media (min-width: 1600px) {
    .container-custom {
        width: 1520px;
    }
}

/*
    Hero Section
*/
.hero {
    position: relative;
    height: 100vh;
    background-color: #840029;
    overflow: hidden;
    /* ✅ NEW: background image */
    background-image: url('/img/Shuttle Photo 6.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero_overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #840029;
    opacity: 0.72; /* your override value */
    z-index: 1;
}

@media (min-width: 1400px) {
    .hero_heading {
        font-size: 3.2rem;
    }
}

.hero_video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}

.hero_image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}


.hero_content {
    position: relative;
    z-index: 2;
}

.hero_content-width {
    max-width: 540px;
}

.hero_scroll-btn {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 1;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

    .hero_scroll-btn:hover {
        color: white;
        opacity: 0.8;
    }

    .hero_scroll-btn .bi {
        transition-delay: 0.8s;
        animation: bounce 1s infinite alternate;
    }

@keyframes bounce {
    from {
        transform: translateY(0px)
    }

    to {
        transform: translateY(-10px)
    }
}

/*
    About Section
*/

.steps {
    padding-top: 40px;
    padding-bottom: 40px;
}

.steps_section-thumbnail {
    height: 240px;
    object-fit: cover;
    margin: 0 auto;
}

.step-background {
    /*background-color: #f8f9fa;*/
    background-color: #ebebeb;
    width: auto;
}

.steps_section-width {
    height: 256px;
    margin: 0 auto;
}

.steps {
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.5s, transform 0.5s;
}

    .steps.animated {
        opacity: 1;
        transform: translateX(0);
    }

@media (min-width: 544px) {
    .steps {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .steps_section-thumbnail {
        height: 480px;
    }
}



/* This will apply to all paragraphs with class 'lead mb-4' directly followed by an 'a' with class 'link-pages' */
.lead.mb-4 + .link-pages {
    display: block;
    margin-top: 10px;
}






/* Route Schedule table */
.table-top-border {
    border-top: 2px solid black;
}

.table-left-border {
    border-left: 2px solid black;
}

.table-right-border {
    border-right: 2px solid black;
}

.center-col {
    text-align: center;
    color: black;
    font-weight: 500;
}

.red-cell {
    background-color: #840029;
    color: white;
    padding: 0px;
}

.gold-cell {
    background-color: #fdb71a;
    padding: 0px;
}

.stripe-cell {
    background-color: rgba(128, 128, 128, .5);
    padding: 0px;
}

.btn-mstc-gold {
    background-color: #fdb71a;
    color: black;
}

.btn-mstc-red {
    background-color: #840029;
    color: white;
}

.btn-mstc-gold, .btn-mstc-red {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media print {
    /* Route Schedule table */
    .table-top-border {
        border-top: 2px solid black;
    }

    .table-left-border {
        border-left: 2px solid black;
    }

    .table-right-border {
        border-right: 2px solid black;
    }

    .center-col {
        text-align: center;
        color: black;
        font-weight: 500;
    }

    .red-cell {
        padding: 0px;
    }

    .gold-cell {
        padding: 0px;
    }

    .stripe-cell {
        padding: 0px;
    }
}


/* Route printing modal*/
@media screen {
    #printSection {
        display: none;
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    #printSection, #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }

    html, body {
        height: 100vh;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
}

@media (max-width: 543px) {
    .steps {
        opacity: 1;
        transform: translateX(0);
        transition: none; /* Disable transition on mobile */
    }

    .steps_section-thumbnail {
        height: 240px; /* Adjusted height for smaller screens */
    }
}




/* --- Landing Page Cleanup Overrides --- */



/* Slight text shadow helps on busy images without changing colors */
.hero .text-white {
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}




/* Fix: don't render Steps as invisible (prevents "blank white space") */
.steps {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Improve hero text contrast professionally */
.hero h1,
.hero .lead,
.hero_scroll-btn {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.8);
}

/* Subtle crisp edge on main heading */
.hero h1 {
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.4);
}
