/* Custom variables */
:root {
    --primary: #ff6600;
    --secondary: #1a1a1a;
    --dark: #000000;
    --light: #ffffff;
}

/* Base styles */
body {
    background-color: #f8f9fa;
    font-family: 'Roboto', sans-serif;
    padding-top: 76px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Sections */
section {
    scroll-margin-top: 76px;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* Search form */
.search-form {
    background-color: var(--secondary);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Video cards */
.video-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.video-card .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-keywords {
    margin-top: auto;
}

/* Keywords/badges */
.badge-keyword {
    background-color: #e9ecef !important;
    color: #343a40 !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 50rem;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.badge-keyword:hover {
    background-color: #dee2e6 !important;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 5rem 0;
    margin-bottom: 3rem;
    color: var(--light);
}

/* Sponsors grid */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sponsor-placeholder {
    background: #e9ecef;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--light);
}

/* Utils */
.text-orange {
    color: var(--primary) !important;
}

.bg-orange {
    background-color: var(--primary) !important;
}

/* Icons */
.icon-large {
    width: 32px;
    height: 32px;
}

/* Social icons */
.social-icon {
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Modal customization */
.modal-xl {
    max-width: 1200px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.btn-piloto {
    color: #ffffff;
    background-color: #F76517;
    border-color: #F76517;
}

.btn-piloto:hover,
.btn-piloto:focus,
.btn-piloto:active,
.btn-piloto.active,
.open .dropdown-toggle.btn-piloto {
    color: #ffffff;
    background-color: #D36438;
    border-color: #F76517;
}

.btn-piloto:active,
.btn-piloto.active,
.open .dropdown-toggle.btn-piloto {
    background-image: none;
}

.btn-piloto.disabled,
.btn-piloto[disabled],
fieldset[disabled] .btn-piloto,
.btn-piloto.disabled:hover,
.btn-piloto[disabled]:hover,
fieldset[disabled] .btn-piloto:hover,
.btn-piloto.disabled:focus,
.btn-piloto[disabled]:focus,
fieldset[disabled] .btn-piloto:focus,
.btn-piloto.disabled:active,
.btn-piloto[disabled]:active,
fieldset[disabled] .btn-piloto:active,
.btn-piloto.disabled.active,
.btn-piloto[disabled].active,
fieldset[disabled] .btn-piloto.active {
    background-color: #F76517;
    border-color: #F76517;
}

.btn-piloto .badge {
    color: #F76517;
    background-color: #ffffff;
}