@font-face {
    font-family: 'voregular';
    src: url('../fonts/vo-logo/vo-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/vo-logo/vo-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/vo-logo/vo-regular.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/vo-logo/vo-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/vo-logo/vo-regular.svg#svgFontName') format('svg'); /* Legacy iOS */
}

html {
    font-size: 15px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    color: #333;
}

nav#mainNavBar {
    background-color: #283548;
}

    nav#mainNavBar .voLogo object {
        height: 45px;
        width: 35px;
        display: block;
        padding-left: 5px;
        float: left;
    }

    nav#mainNavBar .voLogo h1 {
        font-family: "voregular", Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
        color: #e6bf41;
        text-transform: uppercase;
        display: block;
        margin: 5px 0 0px 10px;
        padding: 0;
        float: left;
        font-size: 1.1em;
        letter-spacing: .1em;
        line-height: 1em;
        text-shadow: 2px 2px 9px #111;
    }

        nav#mainNavBar .voLogo h1 span {
            color: #fff;
            letter-spacing: .06em;
            line-height: 1.5em;
        }
    nav#mainNavBar .navbar-nav .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

#downloadItems .card-title {
    font-size: 1.2em;
}
/* Featured Downloads Styling */
.featured-card {
    position: relative;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .featured-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
    }

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #ffc107;
    padding: 5px 8px;
    font-size: 1em;
    z-index: 10;
}

    .featured-badge i {
        display: block;
    }

#filterControls select, #filterControls .input-group, #filterControls .input-group-text {
    color: #333;
}

#filterControls .form-select {
    padding-right: 2rem;
}

ul.pagination li.page-item {
    font-size: .9em;
}

#downloadItems .badge {
    font-weight: normal;
}

#downloadItems .btn-download, #featuredDownloads .btn-download {
    background: linear-gradient(135deg, #6b87ff, #2459ee);
    color: #fff;
}

    #downloadItems .btn-download:hover, #featuredDownloads .btn-download:hover {
        background: linear-gradient(135deg, #ff5a4e, #4c24ee);
        color: #fff;
    }

.badge-orange {
    background-color: #fb7d52 !important;
}

.badge-yellow {
    background-color: #fda644 !important;
}

.badge-green {
    background-color: #4bad39 !important;
}

.badge-red {
    background-color: #df4d5b !important;
}
.btn-edit {
    color: #fff;
    background-color: #579bfe;
    border-color: #3774cb;
}
    .btn-edit:hover {
        color: #fff;
        background-color: #42b0ff;
        border-color: #2f61a9;
    }

.btn-delete {
    color: #fff;
    background-color: #df4d5b;
    border-color: #dc3545;
}

    .btn-delete:hover {
        color: #fff;
        background-color: #ef5361;
        border-color: #a91b29;
    }

/* Download Card Styles */
.download-card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

    .download-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

/* Video Preview Styles */
.video-preview-thumbnail {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-preview-thumbnail:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
}

.video-preview-thumbnail:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Graphic Preview Styles */
.graphic-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .graphic-preview:hover {
        transform: scale(1.05);
    }

/* Category Header Styles */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    border-radius: 10px;
}

/* Download Button Styles */
.btn-download {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    color: white;
}

    .btn-download:hover {
        background: linear-gradient(135deg, #ee5a24, #ff6b6b);
        color: white;
    }

@media (min-width: 992px) and (max-width: 1199px) {
    #filterControls .form-select {
        font-size: .95rem;
    }
}

/* Sort Toggle Button Icon Switching */
.sort-toggle-btn .sort-icon-hover {
    display: none;
}

.sort-toggle-btn:hover .sort-icon-current {
    display: none;
}

.sort-toggle-btn:hover .sort-icon-hover {
    display: inline-block;
}

/* Admin Controls - Hide edit/delete buttons by default, show on card hover */
.download-card .btn-edit,
.download-card .btn-delete {
    display: none;
}

.download-card:hover .btn-edit,
.download-card:hover .btn-delete {
    display: inline-block;
}
