/* Main Styles for YouTube Showcase */

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Card Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06) !important;
}

/* Video Card Styles */
.card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Custom Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Navigation Enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer Styles */
footer {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Custom Button Styles */
.btn {
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Pagination Styles */
.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Video Player Responsive Styles */
.ratio-16x9 {
    border-radius: 0.25rem;
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .card-img-top {
        height: 160px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }
}

/* Language Selector Styles */
.dropdown-menu {
    min-width: 12rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item.active {
    background-color: #007bff;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Custom Text Formatting */
.description-content {
    line-height: 1.6;
    white-space: pre-line;
}

/* Video Details Page */
.video-info {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Social Media Icons */
.social-icons a {
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Custom Banner Styles */
.banner-container {
    position: relative;
    background: linear-gradient(135deg, #e67e22, #343a40);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-decoration {
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0.2;
    z-index: 1;
}

.banner-icon {
    font-size: 5rem;
    margin-left: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-orange {
    background-color: #e67e22;
    border-color: #e67e22;
    color: white;
}

.btn-orange:hover {
    background-color: #d35400;
    border-color: #d35400;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}