﻿/* ===========================================
   site.css — Global Theme & Base Styles
   =========================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    overflow-y: scroll;
}

/* Brand + spacing system */
:root {
    /* Brand colors */
    --bh-color: #cc6a00; /* darker, richer orange */
    --bh-color-light: #e07c00;
    --bh-color-dark: #a95400;
    /* Base colors */
    --bh-bg: #000;
    --bh-text: #fff;
    /* Spacing scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    /* Section spacing (tightened) */
    --section-spacing-tight: 20px;
    --section-spacing: 32px;
    /* Radius + shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-soft: 0 2px 10px rgba(0,0,0,0.12);
    --shadow-med: 0 4px 16px rgba(0,0,0,0.18);
    color-scheme: light;
}

/* Brand font */
@font-face {
    font-family: 'TroutKings';
    src: url('/assets/fonts/Troutkings_20BTN_20Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Body */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--bh-text);
    background-color: var(--bh-bg);
    line-height: 1.5;
}

/* Containers (Bootstrap handles max-widths) */
.container,
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Images */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* Paragraphs */
p {
    margin: 0 0 1rem 0;
}

/* Utility text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Generic page sections (DNN remnants safe) */
.section,
.menucard,
.content-section,
.page-section {
    padding-top: var(--section-spacing-tight);
    padding-bottom: var(--section-spacing-tight);
}

/* --------------------------------------------------
   PURE CSS FADE CAROUSEL
-------------------------------------------------- */

.fade-slider {
    position: relative;
    width: 100%;
    height: 480px; /* adjust height as needed */
    overflow: hidden;
}

.fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: fadeCycle 16s infinite;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Each slide starts at a different time */
.fade-slide:nth-child(1) {
    animation-delay: 0s;
}

.fade-slide:nth-child(2) {
    animation-delay: 4s;
}

.fade-slide:nth-child(3) {
    animation-delay: 8s;
}

.fade-slide:nth-child(4) {
    animation-delay: 12s;
}

/* Keyframes: fade in → hold → fade out */
@keyframes fadeCycle {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ---------------------------------------------
   PAGE LOAD FADE-IN FOR HERO SECTION
--------------------------------------------- */

.home-hero {
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===========================
   BUTTONS
=========================== */

.bh-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bh-btn-primary {
    background: var(--bh-color);
    color: #fff;
    box-shadow: 0 6px 18px rgba(204,106,0,0.35);
}

.bh-btn-primary:hover {
    background: var(--bh-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(204,106,0,0.45);
}

.btn-sm {
    padding: 4px 10px;
    margin-right: 4px;
}

tr.row-inactive td {
    background-color: #f3f3f3 !important;
    opacity: 0.6;
}

.form-two-col {
    width: 100%;
    display: flex !important;
    flex-direction: row;
    gap: 24px;
    box-sizing: border-box;
}

.form-two-col .form-col {
    width: 50%;
    box-sizing: border-box;
}

.form-two-col .form-col textarea {
    width: 100%;
}
/* =========================
   ADMIN OVERRIDES
   ========================= */
.admin-page {
    padding-top: 54px; /* same header height */
}

.admin-page .header-wrapper {
    position: absolute;
    top: 0;
    left: 25%;
    width: 75%;
}

.menu-icon a:hover img {
    opacity: 0.8;
}

.menu-icon {
    margin-left: 12px;
}

/* Admin menu container */
#top-menu ul {
    display: flex;
    align-items: center;
}

/* All menu items */
#top-menu ul li {
    display: flex;
    align-items: center;
}

/* Admin label */
#top-menu ul li:first-child {
    font-weight: 600;
    color: #cc6a00;
    margin-right: 14px;
}

/* Icon menu item */
#top-menu .menu-icon {
    margin-left: 12px;
}

    /* Icon itself */
#top-menu .menu-icon img {
    height: 27px;
    width: 27px;
    display: block;
    vertical-align: middle;
}

#top-menu .menu-icon a:hover img {
    opacity: 0.75;
}

body.admin-page {
    --bh-bg: #fff;
    --bh-text: #111;
}

 body.admin-page h3 {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--bh-color);
    margin: 0;
}

.admin-section {
    display: none;
    margin-bottom: 40px;
}

.admin-section.active {
    display: block;
}

.admin-page .admin-table {
    width: auto;
    max-width: 100%;
}

.admin-page .admin-table th {
    font-weight: 600;
    background-color: var(--bh-color);
    color: #fff;
}

.admin-page .admin-table td,
.admin-page .admin-table th {
    white-space: nowrap;
}

.admin-page .admin-table td {
    vertical-align: middle;
}

.admin-page .admin-table .wrap {
    white-space: normal;
}

.admin-page .admin-table img {
    border-radius: 4px;
}

.admin-page .btn-icon {
    background: none;
    border: none;
    padding: 4px 6px;
    color: #333;
    cursor: pointer;
}

.admin-page .btn-icon i {
    font-size: 3.0rem;
}

.btn-icon:hover {
    color: var(--bh-color);
}

/* Active = green */
.admin-page .btn-icon .fa-toggle-on {
    color: #28a745; /* Bootstrap green */
}

.admin-page .green {
    color: #28a745; /* Bootstrap green */
}

/* Inactive = red */
.admin-page .btn-icon .fa-toggle-off {
    color: #dc3545; /* Bootstrap red */
}

/* Center the upload block in the cell */
.admin-upload {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch; /* button matches file input width */
}

/* Let the file input stay native */
.admin-upload input[type="file"] {
    display: block;
}

/* Button matches file input width */
.admin-upload-btn {
    display: block;
}

.admin-page .btn-icon:hover i {
    color: var(--bh-color);
}

.admin-page .admin-table a:hover {
    text-decoration: none;
    color: var(--bh-color);
}

/* Force horizontal layout inside GridView cell */
.admin-table td .admin-upload {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

/* Prevent file input from taking full row */
.admin-table td .admin-upload input[type="file"] {
    display: inline-block !important;
    width: auto !important;
}

/* Keep icon inline */
.admin-table td .admin-upload .upload-btn {
    display: inline-flex !important;
    align-items: center !important;
}

.upload-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.admin-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 30px;
}

/* Slightly larger dropdown */
.admin-header-row .form-select {
    font-size: 1rem; /* was ~.875rem */
    padding: .5rem .9rem; /* slightly larger */
    min-height: calc(1.5em + 1rem + 2px);
}

/* Match the message height exactly */
.admin-message {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    padding: .5rem .9rem;
    line-height: 1.5;
    border-radius: .375rem;
    border: 1px solid rgba(0,0,0,.1);
    min-height: calc(1.5em + 1rem + 2px);
}

.admin-message.invisible {
    visibility: hidden !important;
}

.admin-message.invisible {
    visibility: hidden !important;
}

.admin-message {
    font-weight: 500;
}

/* Success */
.admin-message.success {
    background-color: #e6f6ea;
    color: #1e7e34;
}

/* Error */
.admin-message.error {
    background-color: #fdecea;
    color: #a71d2a;
}

.admin-table .fa {
    transition: opacity .15s ease;
}

.admin-table a:hover .fa {
    opacity: .65;
}

.admin-page .btn-icon.disabled,
.admin-page .btn-icon.disabled i {
    opacity: .35 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    color: #6c757d !important;
}

.admin-page {
    background: #fff;
}

.admin-page .container {
    background: #fff;
    min-height: calc(100vh - 120px);
    padding-bottom: 40px;
}

/* delete button */
.btn-icon.red {
    color: #dc3545;
}

    .btn-icon.red:hover {
        color: #b02a37;
    }


















