/* Custom Stylesheet for Timboon Coaches */
/* Color Palette: White, Black, and Red (#d32f2f) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    padding-top: 70px;
    padding-bottom: 30px;
    background-color: #fcfcfc;
    color: #111111;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base structural layout */
.body-content {
    padding-left: 20px;
    padding-right: 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Custom Navbar (Black with Red highlights) */
.navbar-inverse {
    background-color: #0b0b0b;
    border-bottom: 3px solid #d32f2f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.navbar-inverse .navbar-brand span {
    color: #d32f2f;
}

.navbar-inverse .navbar-nav > li > a {
    color: #cccccc;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: transparent;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #d32f2f;
    color: #ffffff;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease-in-out;
    padding: 8px 16px;
}

.btn-primary {
    background-color: #d32f2f;
    border-color: #d32f2f;
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #b71c1c !important;
    border-color: #b71c1c !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #d32f2f;
    border-color: #d32f2f;
    color: #ffffff;
}

.btn-default {
    background-color: #ffffff;
    border: 2px solid #111111;
    color: #111111;
}

.btn-default:hover {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

/* Forms */
.form-control, input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
    max-width: 100%;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    padding: 10px 14px;
    height: auto;
    font-weight: 400;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
    color: #111111;
}

.form-control:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
    outline: none;
}

/* Custom login & register cards */
.auth-container {
    max-width: 450px;
    margin: 60px auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #111111;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 10px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    font-weight: 600;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
    display: inline-block;
}

/* Panels and Dashboard Grid */
.panel {
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    overflow: hidden;
    background-color: #ffffff;
}

.panel-heading {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.2px;
    background-color: #111111 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #d32f2f !important;
}

.panel-body {
    padding: 20px;
}

/* Dashboard Metric Cards */
.metric-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-left: 5px solid #d32f2f;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666666;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
}

/* Tables */
.table {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #eaeaea;
}

.table th {
    background-color: #111111;
    color: #ffffff;
    font-weight: 600;
    border: none !important;
    padding: 12px 16px !important;
}

.table td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    border-top: 1px solid #f0f0f0 !important;
}

.table tbody tr:hover {
    background-color: #fafafa;
}

/* Jumbotron */
.jumbotron {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    color: #ffffff;
    border-radius: 12px !important;
    padding: 60px 40px !important;
    margin-bottom: 40px;
    border-bottom: 4px solid #d32f2f;
    position: relative;
    overflow: hidden;
}

.jumbotron h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.jumbotron .lead {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 25px;
}

/* Alerts */
.alert {
    border-radius: 6px;
    font-weight: 500;
    padding: 12px 18px;
    border: none;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-warning {
    background-color: #fff8e1;
    color: #f57f17;
    border-left: 4px solid #f57f17;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

/* Utility custom components */
.badge-status {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.badge-valid {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.badge-invalid {
    background-color: #ffebee;
    color: #c62828;
}

/* custom grid helpers */
.margin-top-md {
    margin-top: 30px;
}

.text-red {
    color: #d32f2f;
}
/* Full-width about hero section */
.about-hero {
    position: relative;
    background-image: url("/static/images/tim6.jpg"); /* update to your image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 360px;
    margin-bottom: 0;
}

/* Dark overlay for readability on image */
.about-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70); /* black overlay */
    display: flex;
    align-items: center;
}

/* Inner content */
.about-inner {
    padding: 80px 15px;
    color: #ffffff;
    text-align: left;
}

.about-title {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #ffffff;
}

.about-lead {
    font-size: 16px;
    max-width: 640px;
    line-height: 1.6;
    color: #f5f5f5;
}

/* Main about section */
.about-section {
    background-color: #ffffff;
    padding: 50px 15px 70px 15px;
}

/* Cards: white with subtle grey border, black text */
.about-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 22px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    margin-bottom: 24px;
    color: #111111;
}

/* Red accent bar on highlighted card */
.highlight-card {
    border-left: 4px solid #C10206; /* brand red */
}

.about-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
}

.about-card-text {
    font-size: 14px;
    color: #444444;
    line-height: 1.6;
}

/* List inside highlight card */
.about-list {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #C10206; /* red bullet */
}

/* Scroll reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* When in view */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .about-inner {
        padding: 60px 15px;
        text-align: center;
    }

    .about-title {
        font-size: 30px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-lead {
        margin: 0 auto;
    }

    .about-card {
        text-align: left;
    }
}

/* Seating Chart Styles */
.seating-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 4 seats + aisle */
    gap: 10px;
    max-width: 320px;
    margin: 0 auto;
}
.seat {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(0,0,0,0.1);
    color: #ffffff;
    min-height: 40px;
}
.seat.available {
    background-color: #2e7d32;
}
.seat.available:hover {
    background-color: #1b5e20;
    transform: scale(1.05);
}
.seat.booked {
    background-color: #c62828;
    cursor: not-allowed;
    opacity: 0.65;
}
.seat.selected-current {
    background-color: #d32f2f;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
    transform: scale(1.1);
    animation: pulse-seat 1.5s infinite;
}
.seat.aisle {
    background: transparent;
    cursor: default;
    border: none;
    color: transparent;
    pointer-events: none;
}
@keyframes pulse-seat {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

