@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #ba0000;
    /* Clickyt Red */
    --primary-hover: #990000;
    --secondary-color: #000000;
    --background-light: #f5f6f8;
    --text-dark: #111111;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --border-color: #e5e5e5;

    /* Proper Bootstrap Overrides */
    --bs-primary: #ba0000;
    --bs-primary-rgb: 186, 0, 0;
}

/* Fluid Typography Foundation (Scales all REM units across devices) */
html {
    font-size: 16px;
    /* Base size for Desktop/Large screens */
}

@media (max-width: 991.98px) {
    html {
        font-size: 15px;
        /* Tablet screens */
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14.5px;
        /* Standard Mobile screens */
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 13.5px;
        /* Small Mobile screens */
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.btn-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-dark:hover {
    background-color: #222;
}

/* Navbar */
.top-red-line {
    height: 4px;
    background-color: var(--primary-color);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1031;
}

.clickyt-navbar {
    background: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    padding: 0.8rem 0;
    margin-top: 4px;
    top: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000;
}

.navbar-brand span {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.nav-link {
    color: #000 !important;
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
}

/* Cards */
.channel-card {
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--card-bg);
    cursor: pointer;
}

.channel-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.channel-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.channel-stats-table {
    width: 100%;
    font-size: 0.9rem;
}

.channel-stats-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.channel-stats-table tr:last-child td {
    border-bottom: none;
}

.channel-stats-table .label {
    font-weight: 600;
    color: var(--text-dark);
}

.channel-stats-table .value {
    text-align: right;
    color: var(--text-muted);
}

/* Hero Section */
.hero-section {
    background: var(--background-light);
    color: var(--text-dark);
    margin-top: 2rem;
    padding: 4rem 2rem;
}

.hero-market {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 3rem;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 1rem;
        margin-top: 1rem;
    }

    .hero-market {
        padding: 1.5rem 1rem;
    }
}

/* About Section Image */
.about-image-responsive {
    height: 550px;
    object-position: center;
}

@media (max-width: 991.98px) {
    .about-image-responsive {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .about-image-responsive {
        height: 300px;
    }
}

/* Filter Pills */
.filter-pill {
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.filter-pill i {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
}

.filter-pill:hover,
.filter-pill.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Nav Pills */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Utilities */
.hover-lift {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media (min-width: 576px) {
    .w-sm-auto {
        width: auto !important;
    }
}

/* Forms */
.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.card-form {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Footer */
.clickyt-footer {
    background: var(--secondary-color);
    color: #fff;
    border-top: 3px solid var(--primary-color);
}

.clickyt-footer .text-muted {
    color: #aaa !important;
}

.clickyt-footer .footer-link {
    transition: color 0.2s;
}

.clickyt-footer .footer-link:hover {
    color: var(--primary-color) !important;
}

/* Utilities */
.status-badge.approved {
    background-color: #3ab51a;
    color: #fff;
}

.status-badge.pending {
    background-color: #fef9c3;
    color: #854d0e;
}