:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --secondary: #ff6b35;
    --secondary-dark: #e55a2b;
    --accent: #ffd700;
    --dark: #0a0a0a;
    --light: #f8f9fa;
    --text-dark: #212529;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary), var(--secondary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 2px solid var(--secondary);
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand::before {
    content: '⚡';
    font-size: 1.5rem;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--accent) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.2rem !important;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--secondary) !important;
    background: rgba(255, 107, 53, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    padding: 8rem 0 6rem;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(45, 45, 45, 0.7));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    line-height: 1.1;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease;
}

.hero-section h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--secondary);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.8;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-section .btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: none;
    padding: 1rem 3rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Section */
.filter-section {
    background: white;
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    margin: -4rem auto 4rem;
    max-width: 95%;
    position: relative;
    z-index: 3;
    border: 1px solid var(--border-color);
}

.filter-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    letter-spacing: 2px;
    position: relative;
}

.filter-section h3::before {
    content: '🏍️';
    margin-right: 0.8rem;
}

.search-input {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.search-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
    background: white;
}

.search-btn {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-filter .btn {
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.category-filter .btn:hover,
.category-filter .btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.price-filter, .status-filter {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    background: var(--light);
    transition: var(--transition);
}

.price-filter:focus, .status-filter:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    outline: none;
    background: white;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Cards */
.bike-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: white;
    position: relative;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.bike-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bike-card img {
    height: 280px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.bike-card:hover img {
    transform: scale(1.08);
}

.bike-card .status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bike-card .status-badge.bg-success {
    background: linear-gradient(135deg, #28a745, #218838);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.bike-card .status-badge.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.bike-card .card-body {
    padding: 1.5rem;
}

.bike-card .card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.bike-card .card-text {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.bike-card .btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.bike-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.bike-card .category-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 0.8rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 3;
}

.bike-card:hover .category-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Pagination */
.pagination-nav {
    margin-top: 3rem;
}

.pagination .page-link {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin: 0 0.3rem;
    padding: 0.6rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Activity Section */
.activity-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.activity-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.activity-section h2::before {
    content: '📸';
    margin-right: 0.8rem;
}

.image-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: white;
}

.image-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.image-gallery .gallery-item img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.image-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.image-gallery .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    padding: 2rem 1rem 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.swiper {
    position: relative;
    padding: 0 3rem;
}

.swiper-button-prev,
.swiper-button-next {
    color: white;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}

/* Contact Bar */
.contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 2px solid var(--secondary);
}

.contact-bar .btn {
    font-size: 0.9rem;
    border-radius: 50px;
    margin: 0 0.4rem;
    padding: 0.7rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.contact-bar .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-bar .btn i {
    margin-right: 0.5rem;
}

.contact-bar .btn-success {
    background: linear-gradient(135deg, #28a745, #218838);
}

.contact-bar .btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.contact-bar .btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.contact-bar .btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 3rem 0;
    margin-bottom: 5rem;
    color: var(--text-light);
}

footer p {
    margin: 0.5rem 0;
    font-weight: 400;
    opacity: 0.9;
}

footer a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent);
}

/* Floating Zalo Button */
.zalo-chat-widget {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 999;
}

.zalo-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0068ff, #0052cc);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zalo-chat-btn i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.zalo-chat-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 104, 255, 0.4);
    color: white;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.modal-body {
    padding: 2rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.thumbnail-img {
    cursor: pointer;
    opacity: 0.7;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    opacity: 1;
    border-color: var(--secondary);
    transform: scale(1.05);
}

.bike-description {
    white-space: pre-wrap;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-buttons .btn {
    flex: 1;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .filter-section {
        padding: 2rem 1.5rem;
        margin: -3rem 1rem 3rem;
    }

    .bike-card img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
        background-attachment: scroll;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .filter-section {
        padding: 1.5rem 1rem;
        margin: -2.5rem 0.5rem 2rem;
    }

    .filter-section h3 {
        font-size: 1.8rem;
    }

    .category-filter .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .bike-card img {
        height: 220px;
    }

    .contact-bar .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin: 0 0.2rem;
    }

    .swiper {
        padding: 0 2.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .hero-section {
        padding: 5rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-section .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .filter-section {
        padding: 1.2rem 0.8rem;
        margin: -2rem 0.5rem 1.5rem;
    }

    .filter-section h3 {
        font-size: 1.5rem;
    }

    .category-filter .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .bike-card img {
        height: 200px;
    }

    .bike-card .card-body {
        padding: 1.2rem;
    }

    .bike-card .card-title {
        font-size: 1.3rem;
    }

    .contact-bar {
        padding: 0.8rem 0;
    }

    .contact-bar .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .zalo-chat-widget {
        bottom: 5rem;
        right: 1rem;
    }

    .zalo-chat-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }

    footer {
        margin-bottom: 4.5rem;
        padding: 2rem 0;
    }

    .activity-section h2 {
        font-size: 2rem;
    }

    .image-gallery .gallery-item img {
        height: 200px;
    }

    .swiper {
        padding: 0 2rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }
}