.hero-section {
    position: relative;
    height: 70vh;
    min-height: 420px;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #3d7ab8 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 4px solid #FFD700;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
    max-width: 80%;
}

.hero-buttons {
    position: absolute;
    top: calc(50% + 100px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
}

.navbar {
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.7);
    padding: 0.7rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    color: #FFD700 !important;
    letter-spacing: 0.5px;
}

.navbar-brand img {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFC107);
    border: none;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    transition: all 0.3s ease;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: #FFC107;
    border-color: #FFC107;
    transform: translateY(-2px);
}

.display-4 {
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    margin-bottom: 1.2rem;
    color: white;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    max-width: 100%;
    border-right: 4px solid #FFD700;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.lead {
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    margin-bottom: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    display: inline-block;
    max-width: 100%;
    border-right: 4px solid #FFD700;
}

.hero-buttons .btn {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    padding: 0.5rem 2rem;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.form-section {
    background: rgba(33, 37, 41, 0.95);  /* Increased opacity for better coverage */
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.interior-preview {
    max-width: 100%;
    height: 400px;
    border-radius: 8px;
    margin: 2rem 0;
    overflow: hidden;
}

.interior-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.flatpickr-calendar {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn-nav {
    min-width: 120px;
}

/* Hide unwanted text nodes */
.step > :not(h3):not(div):not(button):not(form):not(input):not(label):not(select):not(textarea):not(.form-check) {
    display: none !important;
}

.step {
    position: relative;
}

.step::before {
    content: "";
    position: absolute;
    top: -5px; /* Start slightly above to catch everything */
    left: 0;
    height: 32px; /* Increased height to ensure coverage */
    width: 100%;
    background-color: #212529; /* Match the form background */
    z-index: 10;
    margin: 0;
    padding: 0;
}

/* Make headings display on top of the overlay */
.step h3 {
    position: relative;
    z-index: 11;
    margin-top: 5px; /* Add some space to push heading down a bit */
    padding-top: 5px;
}

/* Reservation details modal styling */
#reservationModal .modal-body {
    font-size: 1.1rem;
    line-height: 1.6;
}

#reservationModal .modal-body h5 {
    color: #FFD700;
    border-bottom: 1px solid #FFD700;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

#reservationModal strong {
    color: #FFD700;
    margin-right: 5px;
}

#reservationModal .modal-body div {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
}

/* Collapsible button states for forecast */
.when-collapsed {
    display: inline;
}

.when-not-collapsed {
    display: none;
}

.collapsed .when-collapsed {
    display: inline;
}

.collapsed .when-not-collapsed {
    display: none;
}

button:not(.collapsed) .when-collapsed {
    display: none;
}

button:not(.collapsed) .when-not-collapsed {
    display: inline;
}

/* Aircraft Gallery Styling */
.aircraft-gallery {
    padding: 2rem 0;
    width: 100%;
    min-height: 300px;
}

.aircraft-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 1rem;
    height: 250px;
    width: 100%;
    display: block;
}

.aircraft-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.aircraft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 12px;
}

.aircraft-card:hover img {
    transform: scale(1.05);
}

.aircraft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.aircraft-card:hover::before {
    opacity: 1;
}

/* Responsive adjustments for aircraft gallery */
@media (max-width: 768px) {
    .aircraft-card {
        height: 200px;
    }

    .aircraft-gallery {
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .aircraft-card {
        height: 180px;
    }
}

/* Aircraft Selector Styling */
.aircraft-selector {
    gap: 10px;
}

.aircraft-selector .btn {
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.aircraft-selector .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
    color: white;
}

.aircraft-selector .btn-outline-secondary {
    background: white;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.aircraft-selector .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 123, 255, 0.4);
}

.aircraft-selector .btn-outline-secondary:hover {
    background: #f8f9fa;
    color: #495057;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(108, 117, 125, 0.2);
}

.aircraft-selector .btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.aircraft-selector .btn:hover:before {
    left: 100%;
}

/* Make aircraft selector more compact on smaller screens */
@media (max-width: 768px) {
    .aircraft-selector {
        flex-wrap: wrap;
    }

    .aircraft-selector form {
        flex-basis: 47%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .aircraft-selector form {
        flex-basis: 100%;
    }
}

/* Username link in navbar */
.navbar-nav .nav-item .nav-link i.fa-user {
    transition: transform 0.2s ease;
    color: #ffd700;
}

.navbar-nav .nav-item .nav-link:hover i.fa-user {
    transform: scale(1.2);
}

.navbar-nav .nav-item .nav-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.aircraft-availability-item {
    font-size: 0.85rem;
    white-space: nowrap;
}

.aircraft-label {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
}

/* User roles button consistency */
.btn-group .btn,
.btn-group .btn:active,
.btn-group .btn:focus,
.btn-group .btn.active {
    min-width: 85px;
    height: 38px;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    display: inline-block;
    box-sizing: border-box;
}

/* Ensure consistent styling for all role button states */
.btn-sm.btn-success,
.btn-sm.btn-outline-success,
.btn-sm.btn-primary,
.btn-sm.btn-outline-primary,
.btn-sm.btn-danger,
.btn-sm.btn-outline-danger {
    min-width: 85px !important;
    height: 38px !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    border-width: 1px !important;
}

/* Remove any transform or scaling effects on hover/active states for role buttons */
.btn-sm.btn-success:hover,
.btn-sm.btn-outline-success:hover,
.btn-sm.btn-primary:hover,
.btn-sm.btn-outline-primary:hover,
.btn-sm.btn-danger:hover,
.btn-sm.btn-outline-danger:hover,
.btn-sm.btn-success:active,
.btn-sm.btn-outline-success:active,
.btn-sm.btn-primary:active,
.btn-sm.btn-outline-primary:active,
.btn-sm.btn-danger:active,
.btn-sm.btn-outline-danger:active {
    transform: none !important;
    min-width: 85px !important;
    height: 38px !important;
    border-radius: 4px !important;
}

/* Force dark text on white backgrounds to prevent visibility issues */
.bg-white {
    color: #212529 !important;
}

.bg-white * {
    color: inherit !important;
}

.bg-white .form-control {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white .form-control:focus {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white input[type="number"] {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white input[type="text"] {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white textarea {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white select {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white input {
    color: #212529 !important;
    background-color: #fff !important;
}

.bg-white .text-primary {
    color: #0d6efd !important;
}

.bg-white .text-success {
    color: #198754 !important;
}

.bg-white .text-danger {
    color: #dc3545 !important;
}

.bg-white .text-warning {
    color: #fd7e14 !important;
}

.bg-white .text-info {
    color: #0dcaf0 !important;
}

.bg-white .text-secondary {
    color: #6c757d !important;
}

.bg-white .text-muted {
    color: #6c757d !important;
}

/* Emergency fix for catering input visibility - highest specificity */
div.bg-white input[type="number"],
div.bg-white input.form-control[type="number"],
.bg-white input[type="number"],
.bg-white .form-control[type="number"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
}

div.bg-white input[type="text"],
div.bg-white input.form-control[type="text"],
.bg-white input[type="text"],
.bg-white .form-control[type="text"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
}

div.bg-white input,
div.bg-white .form-control,
.bg-white input,
.bg-white .form-control {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 1px solid #ced4da !important;
}

/* Override any Bootstrap or other conflicting styles */
.card.bg-white input,
.card-body.bg-white input,
[class*="bg-white"] input {
    color: #000000 !important;
    background-color: #ffffff !important;
}

/* Nuclear option - force visibility with maximum specificity */
html body .bg-white input[type="number"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #007bff !important;
    opacity: 1 !important;
}

html body .bg-white input[type="text"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #007bff !important;
    opacity: 1 !important;
}

html body .bg-white input {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #007bff !important;
    opacity: 1 !important;
}

/* Emergency fix - override everything for liquor field */
input[name="catering_liquor_type"],
#liquor-type-crew-section input,
div[id*="liquor-type"] input,
*[name="catering_liquor_type"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 3px solid #ff0000 !important;
    -webkit-text-fill-color: #000000 !important;
}

input[name="catering_liquor_type"]:focus,
#liquor-type-crew-section input:focus,
div[id*="liquor-type"] input:focus,
*[name="catering_liquor_type"]:focus {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 3px solid #ff0000 !important;
    -webkit-text-fill-color: #000000 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
}

input[name="catering_beer_type"],
input[name="catering_wine_type"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #28a745 !important;
}

input[name="catering_ice_bags"] {
    color: #000000 !important;
    background-color: #ffffff !important;
    border: 2px solid #28a745 !important;
}

/* Checkbox visibility conflicts removed - now handled globally in theme-contrast.css */


/* Text styling - REMOVED conflicting rules that set dark gray colors */
/* All text styling is now controlled by theme-contrast.css for proper white text on dark backgrounds */

/* Alert text readability - REMOVED conflicting rule */
/* Alert styling is now fully controlled by theme-contrast.css */

/* Paragraph text styling - REMOVED conflicting rule */
/* Text colors now controlled by theme-contrast.css */

/* Dark theme with good contrast for all account settings tabs */
#profile,
#security,
#preferences,
#credentials,
#activity {
    background-color: #000000 !important; /* Force dark background */
    color: #ffffff !important; /* Force white text */
}

/* Fix bulk status management panel text visibility */
.bulk-status-panel .alert-info,
.bulk-status-panel .alert-info *,
.bulk-status-panel .alert,
.bulk-status-panel .alert * {
    color: #ffffff !important; /* White text for readability */
    background-color: #2d3748 !important; /* Dark background for alerts */
}

.bulk-status-panel .alert-info strong,
.bulk-status-panel .alert strong {
    color: #ffffff !important; /* Ensure bold text is visible */
    font-weight: 600 !important;
}

/* Flash message text visibility - REMOVED conflicting rules that forced white text on alert-info boxes */
/* Alert text colors are now controlled by theme-contrast.css for proper contrast */

#profile .form-text,
#profile .text-muted,
#profile small,
#profile p,
#profile .form-label,
#profile label,
#security .form-text,
#security .text-muted,
#security small,
#security p,
#security .form-label,
#security label,
#preferences .form-text,
#preferences .text-muted,
#preferences small,
#preferences p,
#preferences .form-label,
#preferences label,
#credentials .form-text,
#credentials .text-muted,
#credentials small,
#credentials p,
#credentials .form-label,
#credentials label,
#activity .form-text,
#activity .text-muted,
#activity small,
#activity p,
#activity .form-label,
#activity label {
    color: #ffffff !important; /* White text for readability */
    font-weight: 500 !important;
}

#profile .alert-info,
#profile .alert,
#profile .alert-info *,
#profile .alert *,
#security .alert-info,
#security .alert,
#security .alert-info *,
#security .alert *,
#preferences .alert-info,
#preferences .alert,
#preferences .alert-info *,
#preferences .alert *,
#credentials .alert-info,
#credentials .alert,
#credentials .alert-info *,
#credentials .alert *,
#activity .alert-info,
#activity .alert,
#activity .alert-info *,
#activity .alert * {
    color: #ffffff !important; /* White text for readability */
    background-color: #2d3748 !important; /* Dark background for alerts */
}

#profile ::placeholder,
#security ::placeholder,
#preferences ::placeholder,
#credentials ::placeholder,
#activity ::placeholder {
    color: #a0aec0 !important; /* Light gray for placeholders */
    opacity: 1 !important;
}

/* Force dark theme for all account settings sections */
#profile .card,
#profile .card-body,
#profile .mb-4,
#security .card,
#security .card-body,
#security .mb-4,
#preferences .card,
#preferences .card-body,
#preferences .mb-4,
#credentials .card,
#credentials .card-body,
#credentials .mb-4,
#activity .card,
#activity .card-body,
#activity .mb-4 {
    background-color: #1a202c !important; /* Dark card backgrounds */
    color: #ffffff !important;
}

/* Dark theme variables override for all account settings tabs */
#profile,
#security,
#preferences,
#credentials,
#activity {
    --contrast-text: #ffffff;
    --contrast-bg: #000000;
    --bs-body-bg: #000000;
    --bs-body-color: #ffffff;
}

/* Force CSS refresh - Sat Sep 05 16:18:30 UTC 2025 - CALENDAR FIXES */
