
/* ====== GLOBAL ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.eyebrow {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: inline-block;
}

/* ====== NAVBAR ====== */
.navbar {
    background: #0B3D2E;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

        .nav-links a:hover {
            color: #C6FF00;
        }

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 4px 6px 4px 15px;
}

    .top-search input {
        border: none;
        outline: none;
        width: 160px;
        font-size: 14px;
        background: transparent;
    }

    .top-search button {
        background: #0B3D2E;
        border: none;
        color: white;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

    .user-btn:hover {
        background: rgba(255,255,255,0.1);
    }

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #C6FF00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0B3D2E;
    overflow: hidden; /* hides anything outside the circle */
}

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* makes image fill the circle without stretching */
        border-radius: 50%;
    }

.user-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    min-width: 220px;
    z-index: 999;
}

    .dropdown.show {
        display: block;
    }

    .dropdown a {
        display: block;
        padding: 14px 18px;
        color: #0B3D2E;
        text-decoration: none;
        font-size: 14px;
    }

        .dropdown a:hover {
            background: #F5F5F5;
        }

    .dropdown .logout {
        color: #D32F2F;
        border-top: 1px solid #eee;
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

/* ====== HERO ====== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/ku-sports-link-hero.jpg');
    background-size: contain;
    color: white;
    min-height: 100vh;
    padding-bottom: 60px;
}

.hero-content {
    text-align: center;
    padding: 60px 5% 0;
}

    .hero-content h1 {
        font-size: 52px;
        font-weight: 800;
    }

        .hero-content h1 span {
            color: #C6FF00;
        }

.tabs {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0 20px;
}

    .tabs button {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
        padding-bottom: 8px;
    }

        .tabs button.active {
            color: #0B3D2E;
            border-bottom: 3px solid #0B3D2E;
        }

.main-search {
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

    .main-search select {
        flex: 1;
        padding: 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        color: #555;
        font-weight: 600;
    }

    .main-search button {
        background: #0B3D2E;
        border: none;
        color: white;
        padding: 14px 20px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 18px;
    }

.car-types {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.car-type {
    text-align: center;
    cursor: pointer;
}

    .car-type .icon {
        width: 80px;
        height: 80px;
        border: 2px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 10px;
        font-size: 32px;
        transition: 0.3s;
    }

    .car-type:hover .icon { 
        border-color: #0B3D2E;
    }

/* ====== FEATURED LISTINGS ====== */
.featured-listings {
    background: #FFFFFF;
    padding: 80px 5%;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

    .listings-header .eyebrow {
        color: #FF6B35;
        font-size: 14px;
    }

    .listings-header h2 {
        font-size: 36px;
        font-weight: 800;
        color: #0B3D2E;
    }

.listings-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
}

.listing-card.big {
    grid-row: span 2;
}

.listing-card {
    background: #0B3D2E;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    transition: 0.3s;
}

    .listing-card:hover {
        transform: translateY(-5px);
    }

.card-img {
    position: relative;
}

    .card-img img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

.big .card-img img {
    height: 420px;
}

.img-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.fav-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
}

.card-body {
    padding: 18px;
}

    .card-body h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.big .card-body h3 {
    font-size: 20px;
}

.price {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

    .price span {
        font-size: 12px;
        font-weight: 400;
        opacity: 0.8;
    }

.big .price {
    font-size: 22px;
}

.card-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    opacity: 0.85;
}

.badge {
    background: #FF6B35;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
}

/* ====== NEW ARRIVALS ====== */
.new-arrivals {
    background: #F7F9FC;
    padding: 60px 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

    .section-header h2 {
        font-size: 32px;
        font-weight: 800;
        color: #222;
    }

.brand-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-tab {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

    .brand-tab .brand-name {
        font-weight: 700;
        font-size: 14px;
        color: #333;
    }

    .brand-tab .view-all {
        font-size: 12px;
        color: #777;
    }

    .brand-tab.active, .brand-tab:hover {
        background: #0B3D2E;
        border-color: #0B3D2E;
    }

        .brand-tab.active .brand-name, .brand-tab.active .view-all, .brand-tab:hover .brand-name, .brand-tab:hover .view-all {
            color: white;
        }

.cars-grid {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

    .cars-grid::-webkit-scrollbar {
        display: none;
    }

.car-card {
    min-width: 280px;
    background: #0A3E2F;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    transition: 0.3s;
}

    .car-card:hover {
        transform: translateY(-5px);
    }

.car-img {
    position: relative;
}

    .car-img img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

.ribbon {
    position: absolute;
    top: 15px;
    left: -35px;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    transform: rotate(-45deg);
    z-index: 2;
}

    .ribbon.in-stock {
        background: #0B3D2E;
    }

    .ribbon.on-way {
        background: #FF8C00;
    }

.car-info {
    padding: 15px;
}

    .car-info h3 {
        font-size: 15px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .car-info .price {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
        border-bottom: 1px solid #444;
        padding-bottom: 10px;
    }

.stock-id {
    background: #0B3D2E;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.section-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 16px;
}

    .arrow-btn:hover {
        background: #0B3D2E;
        color: white;
    }

    .arrow-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }


/* ====== ABOUT ====== */
.about-ku {
    background: #FDF7ED;
    padding: 100px 5%;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    background: linear-gradient(135deg, #0B3D2E 0%, #145C43 100%);
    border-radius: 24px;
    padding: 40px;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .about-card .glow {
        position: absolute;
        top: 10%;
        right: 10%;
        width: 200px;
        height: 200px;
        background: rgba(198, 255, 0, 0.15);
        border-radius: 50%;
        filter: blur(60px);
    }

    .about-card .ku-logo {
        font-size: 120px;
        font-weight: 900;
        color: #C6FF00;
        line-height: 1;
        letter-spacing: -5px;
        z-index: 2;
    }

.about-card-footer {
    z-index: 2;
}

    .about-card-footer h3 {
        font-size: 28px;
        font-weight: 700;
        color: white;
        margin-bottom: 8px;
    }

.about-content .eyebrow {
    color: #0A3E2F;
    background: rgba(198, 255, 0, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

.about-content h2 {
    font-size: 40px;
    font-weight: 800;
    color: #0B3D2E;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 15px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 35px 0;
}

.pillar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #EFE6D8;
}

    .pillar h4 {
        font-size: 16px;
        font-weight: 700;
        color: #0B3D2E;
        margin-bottom: 8px;
    }

.btn-partner {
    background: transparent;
    color: #0B3D2E;
    border: 2px solid #0B3D2E;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

    .btn-partner:hover {
        background: #0B3D2E;
        color: white;
        transform: translateY(-2px);
    }

/* ====== HOW IT WORKS ====== */
.how-it-works {
    background: #FDF7ED;
    padding: 0px 5%;
    text-align: center;
}

.section-head h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0B3D2E;
    margin-bottom: 60px;
}

.section-head .eyebrow {
    color: #0A3E2F;
    background: rgba(198, 255, 0, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.step {
    position: relative;
    padding: 0 20px;
}

.step-number {
    font-size: 80px;
    font-weight: 800;
    color: rgba(11, 61, 46, 0.08);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    line-height: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #0B3D2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

    .step-icon i {
        font-size: 28px;
        color: #C6FF00;
    }

.step h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.divider {
    width: 1px;
    height: 100px;
    background: rgba(11, 61, 46, 0.15);
    margin-top: 30px;
}

/* ====== FOOTER ====== */
.footer {
    background: #0B3D2E;
    color: white;
    padding: 60px 5% 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #C6FF00 50%, white 50%);
    color: #0B3D2E;
    font-weight: 900;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.link-group a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.3s;
}

    .link-group a:hover {
        color: #C6FF00;
        padding-left: 5px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

    .footer-bottom p {
        color: rgba(255,255,255,0.5);
        font-size: 13px;
    }

/* ====== MOBILE ====== */
@media (max-width: 1000px) {
    .listings-grid {
        grid-template-columns: 1fr 1fr;
    }

    .listing-card.big {
        grid-row: span 1;
    }

    .big .card-img img {
        height: 250px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0B3D2E;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

        .nav-links.show {
            display: flex;
        }

    .hamburger {
        display: flex;
    }

    .user-name {
        display: none;
    }

    .top-search {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .main-search {
        flex-direction: column;
    }

    .tabs {
        gap: 20px;
    }

    .sports-grid, .about-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .divider {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* EVENTS */
.events-tabs-section {
    background: #FFFFFF;
    padding: 80px 5%;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

    .section-head .eyebrow {
        color: #0A3E2F;
        background: rgba(198, 255, 0, 0.15);
        display: inline-block;
        padding: 6px 14px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }

    .section-head h2 {
        font-size: 36px;
        font-weight: 800;
        color: #0B3D2E;
    }

/* TABS */
.event-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.event-tab-btn {
    background: #F5F7F2;
    border: 2px solid transparent;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

    .event-tab-btn.active {
        background: #0B3D2E;
        color: white;
        border-color: #0B3D2E;
    }

    .event-tab-btn:hover {
        border-color: #0B3D2E;
    }

/* TAB CONTENT */
.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* EVENT CARDS */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: #FDF7ED;
    border: 1px solid #EFE6D8;
    border-radius: 14px;
    padding: 25px;
    transition: 0.3s;
    position: relative;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .event-card.live {
        background: #0B3D2E;
        color: white;
        border-color: #0B3D2E;
    }

.event-time-badge, .event-date-badge {
    background: #C6FF00;
    color: #0B3D2E;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.event-live-badge {
    background: #FF3D3D;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

    .event-live-badge .dot {
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.event-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.event-card.live h3 {
    color: white;
}

.event-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.event-card.live .event-location {
    color: rgba(255,255,255,0.8);
}

.event-location i {
    margin-right: 5px;
    color: #C6FF00;
}

.event-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.event-card.live .event-desc {
    color: rgba(255,255,255,0.85);
}

.btn-book {
    background: #0B3D2E;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s;
}

    .btn-book:hover {
        background: #145C43;
        transform: translateY(-2px);
    }

    .btn-book.live-btn {
        background: #C6FF00;
        color: #0B3D2E;
    }

        .btn-book.live-btn:hover {
            opacity: 0.9;
        }

/* MOBILE */
@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
} 


