/* TechX Karnataka Custom Style sheet */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&display=swap');

:root {
    --bg-dark: #0a0c10;
    --bg-card: #12161f;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --color-orange: #f4a025;
    --color-teal: #7ebec5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Override Bootstrap 5 defaults for dark theme */
    --bs-body-color: #f3f4f6;
    --bs-body-bg: #0a0c10;
    --bs-secondary-color: #9ca3af;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #232a3b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
}

/* Translucent Navbar */
.navbar-custom {
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-custom .navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-custom .nav-link {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--color-orange) !important;
}

.navbar-toggler {
    border: none;
    color: white;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section with Video Background */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,12,16,0.3) 0%, rgba(10,12,16,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.hero-banner-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0px 8px 24px rgba(0,0,0,0.5));
}

.btn-custom-orange {
    background-color: var(--color-orange);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 6px;
    border: 2px solid var(--color-orange);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 160, 37, 0.3);
}

.btn-custom-orange:hover {
    background-color: transparent;
    color: var(--color-orange);
    box-shadow: 0 4px 25px rgba(244, 160, 37, 0.5);
    transform: translateY(-2px);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Premium Competition Cards */
.card-competition {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-competition:hover {
    transform: translateY(-8px);
    border-color: var(--color-orange);
    box-shadow: 0 12px 30px rgba(244, 160, 37, 0.15);
}

.card-competition .card-img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/2;
}

.card-competition .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-competition:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-competition .card-body {
    padding: 24px;
}

.card-competition .card-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card-competition:hover .card-title {
    color: var(--color-orange);
}

.card-competition .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Modal Styling */
.modal-content-dark {
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.modal-header-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}

.modal-body-dark {
    padding: 24px;
}

.modal-footer-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 24px;
}

.modal .btn-close {
    filter: invert(1);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--color-orange);
    transform: translateX(-50%);
}

.bg-darker {
    background-color: #06070a;
}

/* Toggle Accordions (FAQ & Sponsors Schedule) */
.accordion-custom .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-custom .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    box-shadow: none;
    padding: 20px;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--color-orange);
    background-color: rgba(255, 255, 255, 0.02);
}

.accordion-custom .accordion-button::after {
    filter: invert(1);
}

.accordion-custom .accordion-body {
    background-color: rgba(10, 12, 16, 0.4);
    color: var(--text-muted);
    padding: 20px;
    line-height: 1.7;
}

/* Form Styling */
.form-control-dark {
    background-color: rgba(10, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 6px;
}

.form-control-dark:focus {
    background-color: rgba(10, 12, 16, 0.8);
    border-color: var(--color-orange);
    color: var(--text-light);
    box-shadow: 0 0 8px rgba(244, 160, 37, 0.2);
}

.form-label-custom {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 8px;
}

/* Partners Banner */
.partners-section {
    background-color: #06070a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
}

.partners-logo {
    max-height: 240px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
}

.partners-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Sticky bottom Ticker Banner */
.sticky-announcement {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-orange);
    color: #000;
    font-weight: 600;
    z-index: 1050;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    padding: 12px 0;
    animation: slideUp 0.5s ease-out;
}

.sticky-announcement p {
    margin: 0;
}

.sticky-announcement .btn-register-ticker {
    background-color: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.sticky-announcement .btn-register-ticker:hover {
    background-color: #222;
    color: #fff;
}

.sticky-announcement .btn-close-ticker {
    border: none;
    background: transparent;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Footer Section */
.footer-main {
    background-color: #0a0c10;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.footer-main h2 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-main ul {
    padding-left: 0;
    list-style: none;
}

.footer-main ul li {
    margin-bottom: 12px;
}

.footer-main ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-main ul li a:hover {
    color: var(--color-orange);
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--color-orange);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #06070a;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Sponsorship Pricing Cards */
.sponsor-tier-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.sponsor-tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    box-shadow: 0 8px 25px rgba(126, 190, 197, 0.1);
}

.sponsor-tier-card.platinum {
    border-top: 4px solid #e5e4e2;
}

.sponsor-tier-card.gold {
    border-top: 4px solid #ffd700;
}

.sponsor-tier-card.silver {
    border-top: 4px solid #c0c0c0;
}

.sponsor-tier-card.competition {
    border-top: 4px solid var(--color-teal);
}

.sponsor-tier-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.sponsor-tier-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sponsor-tier-benefits li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sponsor-tier-benefits li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-orange);
}
