/* BikersBuddy - Complete Layout Styles */
/* Extracted from inline CSS for better performance and caching */

/* Inter Font Local Hosting */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../webfonts/inter-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../webfonts/inter-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../webfonts/inter-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../webfonts/inter-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../webfonts/inter-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../webfonts/inter-800.ttf') format('truetype');
}

:root {
    --primary-color: #205844;
    --primary-dark: #1a4a3a;
    --primary-light: #2d6b56;
    --secondary-color: #e3f2fd;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #f7fafc;
    font-size: 14px;
}

/* Mobile overflow prevention only */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* Image optimization for 2G/3G networks - Fixed */
img[loading="lazy"]:not(.loaded) {
    opacity: 0.1;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Modern Clean Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Reduced from 10000 to allow modals/zooms to appear above */
    background: #205844;
    box-shadow: 0 2px 20px rgba(32, 88, 68, 0.3);
}

/* Desktop Header */
.desktop-header {
    display: block;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

/* Header Left - Brand */
.header-left {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.brand-link:hover {
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    color: white;
}

/* Header Center - Search */
.global-header-center {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.global-header-search-form {
    width: 100%;
}

.global-header-search-container {
    position: relative;
    display: flex;
    border-radius: 25px;
    background: white;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
    border: 1px solid #e2e8f0;
}

.global-header-search-container:focus-within {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-color: #205844;
}

/* Autocomplete Dropdown Styles */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    margin-top: 2px;
}

.search-suggestions-dropdown.show {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f7fafc;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f7fafc;
    text-decoration: none;
    color: inherit;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.suggestion-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.suggestion-icon i {
    color: #205844;
    font-size: 16px;
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-subtitle {
    font-size: 12px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-weight: 600;
    font-size: 13px;
    color: #205844;
    margin-left: 8px;
    flex-shrink: 0;
}

.search-loading {
    padding: 16px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

/* ===== TABBED SEARCH STYLES ===== */

/* Tabbed Search Dropdown Styles */
.tabbed-search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: 8px;
    max-height: 500px;
    overflow: hidden;
}

.tabbed-search-suggestions-dropdown.show {
    display: block;
}

/* Search Tabs */
.search-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.search-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.search-tab:first-child {
    border-radius: 12px 0 0 0;
}

.search-tab:last-child {
    border-radius: 0 12px 0 0;
}

.search-tab:hover {
    background: #e2e8f0;
    color: #475569;
}

.search-tab.active {
    background: #205844;
    color: white;
}

.search-tab i {
    font-size: 16px;
}

.search-tab span {
    font-size: 13px;
    font-weight: 600;
}

/* Search Results Content */
.search-results-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px 0;
}

.search-results-content .suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.search-results-content .suggestion-item:last-child {
    border-bottom: none;
}

.search-results-content .suggestion-item:hover,
.search-results-content .suggestion-item.active {
    background: #f8fafc;
    color: #205844;
}

.search-results-content .suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-results-content .suggestion-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.search-results-content .suggestion-icon i {
    font-size: 18px;
    color: #64748b;
}

.search-results-content .suggestion-content {
    flex: 1;
    min-width: 0;
}

.search-results-content .suggestion-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results-content .suggestion-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.search-results-content .suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #9ca3af;
}

.search-results-content .suggestion-category,
.search-results-content .suggestion-date {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.search-results-content .suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: #205844;
    margin-left: auto;
}

.search-results-content .search-loading,
.search-results-content .search-no-results {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

.search-results-content .search-loading i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

.search-results-content .search-empty-state {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

.search-results-content .search-empty-state i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #205844;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive for Tabbed Search */
@media (max-width: 768px) {
    .search-tab span {
        display: none;
    }
    
    .search-tab {
        padding: 10px 12px;
    }
    
    .search-results-content .suggestion-item {
        padding: 10px 12px;
    }
    
    .search-results-content .suggestion-icon {
        width: 36px;
        height: 36px;
    }
    
    .search-results-content .suggestion-icon img {
        width: 28px;
        height: 28px;
    }
}

.global-header-search-field {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
    border-radius: 25px 0 0 25px;
    margin: 0;
}

.global-header-search-submit-btn {
    padding: 12px 20px;
    background: #205844;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    border-radius: 0 25px 25px 0;
    margin: 0;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-header-search-submit-btn:hover {
    background: #1a4a3a;
}

/* Screen reader text for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header Right - Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.action-button:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.register-button {
    background: rgba(255,255,255,0.9);
    color: #205844;
}

.register-button:hover {
    background: white;
    color: #205844;
}

/* User Dropdown */
.user-dropdown-container {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-button:hover {
    background: rgba(255,255,255,0.2);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.user-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    margin-top: 8px;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid #e5e7eb;
    display: none;
    z-index: 1100 !important; /* Slightly above header */
}

.user-dropdown-menu.show {
    display: block;
}

.dropdown-user-info {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.user-full-name {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.user-email-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.dropdown-menu-items {
    padding: 8px 0;
}

.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu-item:hover {
    background: #f3f4f6;
    color: #205844;
    text-decoration: none;
}

.dropdown-menu-item i {
    width: 16px;
    color: #6b7280;
}

.dropdown-menu-item:hover i {
    color: #205844;
}

.logout-button {
    color: #dc2626;
}

.logout-button:hover {
    background: #fef2f2;
    color: #dc2626;
}

.logout-button:hover i {
    color: #dc2626;
}

.dropdown-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Mobile Header - Optimized Height */
.mobile-header {
    display: none;
    background: linear-gradient(135deg, #205844 0%, #22a359 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Consistent with desktop header */
    height: 60px; /* Reduced from 70px for better mobile experience */
}

.mobile-container {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px; /* Match mobile header height */
}

.mobile-menu-button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px; /* Reduced from 18px */
    padding: 10px; /* Reduced from 12px */
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-button:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.1rem; /* Reduced from 1.2rem */
}

.mobile-logo {
    height: 28px; /* Reduced from 32px */
    width: auto;
}

.mobile-brand-text {
    color: white;
}

.mobile-actions {
    display: flex;
    gap: 0.5rem;
}

.mobile-action-button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px; /* Reduced from 16px */
    padding: 8px; /* Reduced from 10px */
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* Reduced from 40px */
    height: 36px; /* Reduced from 40px */
}

.mobile-action-button:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
}

/* Navigation Menu */
.main-nav {
    position: fixed;
    top: 70px; /* Below header */
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    height: 50px; /* Fixed height */
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 50px;
    align-items: center;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 2px;
    white-space: nowrap;
    height: 34px;
}

.nav-item i {
    font-size: 16px;
    color: #205844;
}

.nav-item:hover {
    background: #205844;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-item:hover i {
    color: white;
}

/* Z-Index Hierarchy for Modals and Overlays */
.modal-backdrop {
    z-index: 9000 !important;
}

.modal {
    z-index: 9100 !important;
}

/* Image zoom overlays should be above everything */
.image-zoom-overlay,
.zoom-overlay,
.lightbox-overlay,
.photo-swipe,
.fancybox-overlay,
.magnific-popup-bg {
    z-index: 9999 !important;
}

.image-zoom-container,
.zoom-container,
.lightbox-container,
.photo-swipe__container,
.fancybox-container,
.mfp-container {
    z-index: 9999 !important;
}

/* Mobile Navigation Panel */
.mobile-navigation-panel {
    position: fixed;
    top: 60px; /* Updated to match new mobile header height */
    left: 0;
    width: 320px;
    max-width: 90vw;
    height: calc(100vh - 60px); /* Updated calculation */
    background: white;
    z-index: 1200 !important; /* Above header but below modals */
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
    display: block;
    visibility: visible;
}

.mobile-navigation-panel.is-open {
    transform: translateX(0);
}

/* Mobile menu overlay */
.mobile-navigation-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100 !important; /* Above header but below panel */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-navigation-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Search Modal */
.global-mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300 !important; /* Above navigation panel */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.global-mobile-search-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.global-mobile-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.global-mobile-search-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-mobile-search-modal.is-open .global-mobile-search-content {
    transform: translateY(0);
}

.global-mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #22a359 0%, #1e8449 100%);
    color: white;
}

.global-mobile-search-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.global-mobile-search-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.global-mobile-search-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.global-mobile-search-body {
    padding: 24px;
}

#global-mobile-search-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

#global-mobile-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 163, 89, 0.1);
}

/* Mobile Search Tabs */
.mobile-search-tabs {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 4px;
    margin: 16px 0;
    gap: 2px;
}

.mobile-search-tab {
    flex: 1;
    padding: 12px 8px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-search-tab:hover {
    background: #e2e8f0;
    color: #475569;
}

.mobile-search-tab.active {
    background: #205844;
    color: white;
}

.mobile-search-tab i {
    font-size: 14px;
}

.mobile-search-tab span {
    font-size: 11px;
    font-weight: 600;
}

.global-mobile-search-suggestions {
    max-height: 300px;
    overflow-y: auto;
}

.global-header-search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #64748b;
}

.global-header-search-suggestion-item:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.global-header-search-suggestion-item i {
    color: var(--primary-color);
    width: 16px;
}

.mobile-nav-header {
    padding: 24px;
    background: linear-gradient(135deg, #22a359 0%, #1e8449 100%);
    background-size: 200% 200%;
    animation: mobileHeaderGradient 8s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

@keyframes mobileHeaderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mobile-nav-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: mobileHeaderShine 6s ease-in-out infinite;
}

@keyframes mobileHeaderShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.mobile-nav-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mobile-nav-header p {
    font-size: 14px;
    opacity: 0.9;
}

.global-mobile-search-panel {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: block;
    width: 100%;
}

.global-mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.global-mobile-search-input-field {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.global-mobile-search-input-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 163, 89, 0.1);
}

.global-mobile-search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-light);
    font-size: 16px;
}

.mobile-navigation-panel .nav-links {
    flex-direction: column;
    padding: 0;
    list-style: none;
    margin: 0;
    display: block;
    width: 100%;
}

.mobile-navigation-panel .nav-links li {
    border-bottom: 1px solid var(--border-color);
    display: block;
    width: 100%;
}

.mobile-navigation-panel .nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin: 0;
    border-radius: 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    background: white;
}

.mobile-navigation-panel .nav-links a:hover,
.mobile-navigation-panel .nav-links a:focus {
    background: #f0f9ff;
    color: var(--primary-color);
    transform: translateX(8px);
}

.mobile-navigation-panel .nav-links a i {
    width: 20px;
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 140px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Ultra Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 25%, #2d3748 50%, #1a1f2e 75%, #0f1419 100%);
    background-size: 400% 400%;
    animation: footerGradient 15s ease infinite;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

@keyframes footerGradient {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 100%; }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22a359, #1e8449, #22a359, transparent);
    animation: footerTopLine 8s linear infinite;
}

@keyframes footerTopLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 163, 89, 0.05), transparent);
    animation: footerShine 12s ease-in-out infinite;
}

@keyframes footerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .search-container {
        max-width: 300px;
        margin: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .main-header {
        position: fixed;
    }

    body {
        padding-top: 60px !important; /* Mobile header only */
    }
    
    .footer-section:first-child img {
        height: 80px;
    }
    
    .footer-section:first-child h3 {
        font-size: 1.6rem;
    }
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 769px) {
    .mobile-header {
        display: none;
    }

    .desktop-header {
        display: block;
    }

    body {
        padding-top: 120px; /* Header (70px) + main nav (50px) */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 56px !important; /* Smaller mobile header */
    }
    
    .mobile-header .mobile-container {
        height: 56px; /* Slightly smaller for very small screens */
        padding: 0 0.75rem;
    }
    
    .mobile-header {
        height: 56px; /* Match container height */
    }
    
    .mobile-navigation-panel {
        top: 56px;
        height: calc(100vh - 56px);
    }
    
    .mobile-brand {
        font-size: 1rem; /* Further reduced for small screens */
    }
    
    .mobile-logo {
        height: 24px; /* Smaller logo for tiny screens */
    }
    
    .mobile-menu-button,
    .mobile-action-button {
        font-size: 13px;
        padding: 7px;
        width: 34px;
        height: 34px;
    }
}

/* Force visibility when open */
.mobile-navigation-panel.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-navigation-backdrop.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.user-dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Utility Classes */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 0.5rem; }
.p-0 { padding: 0; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
} 

/* ===== BROWSE BIKES SECTION STYLES ===== */
/* Extracted from browse-bikes-section.blade.php */

/* Base Section */
.browse-bikes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.browse-bikes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(32, 88, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 242, 253, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.browse-bikes-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.browse-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3748 0%, #205844 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tab Navigation */
.browse-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.browse-tabs {
    display: flex;
    background: white;
    padding: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
    max-width: 600px;
    width: 100%;
}

.browse-tabs .tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Tab text display control */
.tab-text-mobile {
    display: none;
}

.tab-text-full {
    display: inline;
}

.browse-tabs .tab-btn:hover {
    color: #205844;
    background: rgba(32, 88, 68, 0.1);
}

.browse-tabs .tab-btn.active {
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 88, 68, 0.3);
}

/* Tab Contents */
.browse-tabs-wrapper + .tab-contents {
    position: relative;
    z-index: 1;
}

.browse-tabs-wrapper + .tab-contents .tab-content {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

.browse-tabs-wrapper + .tab-contents .tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.brand-item {
    background: white;
    padding: 2.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.brand-item:hover::before {
    transform: scaleX(1);
}

.brand-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(32, 88, 68, 0.2);
}

.brand-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.browse-bikes-section .brand-logo img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-placeholder {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 auto;
}

.brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
    display: block;
    margin-top: 0.5rem;
    text-align: center;
}

/* Budget Grid */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5rem;
}

.budget-item {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #f1f3f4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.budget-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 163, 89, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.budget-item:hover::before {
    opacity: 1;
}

.budget-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #205844;
}

.budget-label {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Displacement Grid */
.displacement-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5rem;
}

.displacement-item {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #f1f3f4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.displacement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 163, 89, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.displacement-item:hover::before {
    opacity: 1;
}

.displacement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #205844;
}

.displacement-label {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Body Style Grid */
.body-style-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.body-style-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #2c3e50;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.body-style-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.body-style-item:hover::before {
    transform: scaleX(1);
}

.body-style-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(32, 88, 68, 0.2);
}

.body-style-icon {
    height: 60px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-style-icon .icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.body-style-item:hover .body-style-icon .icon {
    transform: scale(1.1);
}

.body-style-name {
    font-weight: 600;
    font-size: 1rem;
    color: #2c3e50;
    display: block;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(32, 88, 68, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(32, 88, 68, 0.4);
    color: white;
    text-decoration: none;
}

/* Empty State */
.browse-bikes-section .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border: 2px dashed #cbd5e1;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .budget-grid, .displacement-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .body-style-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .browse-title {
        font-size: 2rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .budget-grid, .displacement-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .body-style-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .browse-bikes-section {
        padding: 3rem 0;
    }
    
    .browse-title {
        font-size: 1.8rem;
    }
    
    /* Mobile tabs - fit all in single screen with proper text */
    .browse-tabs-wrapper {
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .browse-tabs {
        display: flex;
        justify-content: space-between;
        padding: 0.3rem;
        gap: 0.15rem;
        max-width: none;
        width: 100%;
        border-radius: 12px;
    }
    
    .browse-tabs .tab-btn {
        flex: 1;
        padding: 0.5rem 0.2rem;
        font-size: 0.7rem;
        text-align: center;
        min-width: 0;
        white-space: nowrap;
        overflow: visible;
        border-radius: 8px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 0.2px;
    }
    
    /* Switch to mobile text on smaller screens */
    .tab-text-full {
        display: none;
    }
    
    .tab-text-mobile {
        display: inline;
    }
    
    /* Mobile grids - 3 items per row */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .budget-grid, .displacement-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .body-style-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .brand-item, .body-style-item {
        padding: 1.5rem 1rem;
    }
    
    .budget-item, .displacement-item {
        padding: 1rem 0.5rem;
    }
    
    .budget-label, .displacement-label {
        font-size: 0.8rem;
    }
    
    .brand-logo {
        width: 120px;
        height: 120px;
    }
    
    .browse-bikes-section .brand-logo img {
        width: 120px;
        height: 120px;
        max-width: 120px;
        max-height: 120px;
    }
    
    .brand-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .browse-bikes-header {
        margin-bottom: 2rem;
    }
    
    /* Extra small mobile - make tabs even more compact */
    .browse-tabs {
        padding: 0.25rem;
        gap: 0.1rem;
    }
    
    .browse-tabs .tab-btn {
        padding: 0.4rem 0.1rem;
        font-size: 0.65rem;
        font-weight: 800;
    }
    
    /* Keep 3 items per row even on very small screens */
    .brands-grid, .body-style-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .budget-grid, .displacement-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .brand-item, .body-style-item {
        padding: 1rem 0.5rem;
    }
    
    .budget-item, .displacement-item {
        padding: 0.8rem 0.3rem;
    }
    
    .brand-logo {
        width: 110px;
        height: 110px;
    }
    
    .browse-bikes-section .brand-logo img {
        width: 110px;
        height: 110px;
        max-width: 110px;
        max-height: 110px;
    }
    
    .brand-placeholder {
        width: 110px;
        height: 110px;
        font-size: 1.8rem;
    }
    
    .body-style-icon {
        height: 40px;
    }
    
    .body-style-icon .icon {
        font-size: 1.5rem;
    }
    
    .brand-name, .body-style-name {
        font-size: 0.8rem;
    }
    
    .budget-label, .displacement-label {
        font-size: 0.7rem;
    }
} 

/* ===== HORIZONTAL MOTORCYCLE SECTION STYLES ===== */
/* Extracted from horizontal-motorcycle-section.blade.php */

.horizontal-motorcycle-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.horizontal-motorcycle-section:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Section Header */
.horizontal-motorcycle-section .section-header {
    margin-bottom: 50px;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 88, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.horizontal-motorcycle-section .section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.horizontal-motorcycle-section .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.horizontal-motorcycle-section .title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.horizontal-motorcycle-section .section-icon {
    font-size: 3rem;
    opacity: 0.9;
    color: white;
}

.horizontal-motorcycle-section .title-text {
    flex: 1;
}

.horizontal-motorcycle-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.horizontal-motorcycle-section .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.horizontal-motorcycle-section .view-all-container {
    margin-left: auto;
}

.horizontal-motorcycle-section .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #205844;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.horizontal-motorcycle-section .view-all-btn:hover {
    background: white;
    color: #1a4a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Tabs */
.horizontal-motorcycle-section .section-tabs {
    position: relative;
}

.horizontal-motorcycle-section .tabs-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.horizontal-motorcycle-section .tabs-container::-webkit-scrollbar {
    display: none;
}

.horizontal-motorcycle-section .tab-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.horizontal-motorcycle-section .tab-btn:hover {
    border-color: #205844;
    color: #205844;
    background: rgba(32, 88, 68, 0.05);
}

.horizontal-motorcycle-section .tab-btn.active {
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    border-color: #22A359;
    box-shadow: 0 4px 15px rgba(34, 163, 89, 0.2);
}

.horizontal-motorcycle-section .tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.horizontal-motorcycle-section .tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicators - Hidden */
.horizontal-motorcycle-section .scroll-indicators {
    display: none !important;
}

.horizontal-motorcycle-section .scroll-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.horizontal-motorcycle-section .scroll-indicator:hover {
    border-color: #22A359;
    color: #22A359;
}

/* Motorcycles Container */
.horizontal-motorcycle-section .motorcycles-container {
    position: relative;
}

.horizontal-motorcycle-section .tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.horizontal-motorcycle-section .tab-content.active {
    display: block;
    opacity: 1;
}

/* Ensure motorcycle cards are always visible when their container is active */
.horizontal-motorcycle-section .tab-content.active .motorcycle-card-wrapper,
.horizontal-motorcycle-section .motorcycles-grid .motorcycle-card-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.horizontal-motorcycle-section .motorcycles-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.horizontal-motorcycle-section .motorcycles-grid::-webkit-scrollbar {
    height: 8px;
}

.horizontal-motorcycle-section .motorcycles-grid::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.horizontal-motorcycle-section .motorcycles-grid::-webkit-scrollbar-thumb {
    background: #c1c8cd;
    border-radius: 4px;
}

.horizontal-motorcycle-section .motorcycles-grid::-webkit-scrollbar-thumb:hover {
    background: #a8b3ba;
}

/* Desktop Cards */
@media (min-width: 769px) {
    .horizontal-motorcycle-section .motorcycle-card-wrapper {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
}

/* Mobile Horizontal Scroll */
@media (max-width: 768px) {
    .horizontal-motorcycle-section .motorcycles-grid {
        gap: 16px;
        padding: 0 0 20px 0;
    }
    
    .horizontal-motorcycle-section .motorcycle-card-wrapper {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

.horizontal-motorcycle-section .motorcycle-card-wrapper {
    transition: transform 0.3s ease;
    opacity: 1;
    visibility: visible;
    display: block;
}

.horizontal-motorcycle-section .motorcycle-card-wrapper:hover {
    transform: translateY(-4px);
}

/* Force visibility for motorcycle cards */
.horizontal-motorcycle-section .modern-motorcycle-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Empty State */
.horizontal-motorcycle-section .empty-state {
    flex: 1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    min-width: 100%;
}

.horizontal-motorcycle-section .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.horizontal-motorcycle-section .empty-state h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #495057;
}

.horizontal-motorcycle-section .empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* Scroll Navigation */
.horizontal-motorcycle-section .scroll-navigation {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.horizontal-motorcycle-section .scroll-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.horizontal-motorcycle-section .scroll-nav-btn:hover {
    border-color: #22A359;
    color: #22A359;
    background: rgba(34, 163, 89, 0.05);
}

.horizontal-motorcycle-section .scroll-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.horizontal-motorcycle-section .motorcycles-grid.loading {
    opacity: 0.6;
}

.horizontal-motorcycle-section .motorcycles-grid.loading .motorcycle-card-wrapper {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .horizontal-motorcycle-section .motorcycle-card-wrapper {
        flex: 0 0 280px;
    }
    
    .horizontal-motorcycle-section .motorcycles-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .horizontal-motorcycle-section {
        padding: 60px 0;
    }
    
    .horizontal-motorcycle-section .section-title {
        font-size: 2rem;
    }
    
    .horizontal-motorcycle-section .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .horizontal-motorcycle-section .title-area {
        gap: 15px;
    }
    
    .horizontal-motorcycle-section .section-icon {
        font-size: 2.5rem;
    }
    
    .horizontal-motorcycle-section .view-all-container {
        margin-left: 0;
        align-self: stretch;
    }
    
    .horizontal-motorcycle-section .view-all-btn {
        justify-content: center;
        width: 100%;
    }
    
    /* Mobile tabs - fit all in screen without scrolling */
    .horizontal-motorcycle-section .tabs-container {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        overflow-x: visible;
        justify-content: center;
        padding-bottom: 5px;
    }
    
    .horizontal-motorcycle-section .tab-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        font-weight: 700;
        white-space: nowrap;
        min-width: auto;
        flex: 1;
        text-align: center;
        justify-content: center;
        max-width: calc(50% - 2px);
        margin-bottom: 4px;
    }
    
    /* Hide scroll indicators on mobile */
    .horizontal-motorcycle-section .scroll-indicators {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .horizontal-motorcycle-section .title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .horizontal-motorcycle-section .section-title {
        font-size: 1.75rem;
    }
    
    .horizontal-motorcycle-section .section-subtitle {
        font-size: 1rem;
    }
    
    .horizontal-motorcycle-section .motorcycle-card-wrapper {
        flex: 0 0 260px;
    }
    
    /* Extra small mobile - more compact tabs */
    .horizontal-motorcycle-section .tab-btn {
        padding: 6px 8px;
        font-size: 0.7rem;
        border-radius: 15px;
        max-width: calc(50% - 2px);
    }
} 

/* ===== MOTORCYCLE CARD COMPONENT STYLES ===== */
/* Extracted from motorcycle-card.blade.php */

/* Motorcycle Card Image Enhancement - v2.0 */
.modern-motorcycle-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-motorcycle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #22A359;
}

.grid-card {
    max-width: 320px;
    margin: 0 auto;
}

/* Custom Label Badge */
.custom-label-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: #000;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.custom-label-badge i {
    color: #ff8c00;
    font-size: 0.6rem;
}

/* Bike Type Badge - Inline Version */
.bike-type-badge-inline {
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(34, 163, 89, 0.25);
    white-space: nowrap;
    margin-top: 5px;
}

.badge-icon {
    font-size: 0.85rem;
}

/* Image Container */
.motorcycle-image-container {
    position: relative;
    height: 260px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin: 8px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.motorcycle-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    max-width: 100%;
    transform: scale(1.0);
}

.modern-motorcycle-card:hover .motorcycle-image {
    transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-motorcycle-card:hover .image-overlay {
    opacity: 1;
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-action-btn:hover {
    background: #22A359;
    color: white;
    transform: scale(1.1);
}

/* Card Content */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Brand and Rating Row */
.brand-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.brand-name {
    font-size: 0.875rem;
    color: #1a7c45;
    font-weight: 600;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 0.75rem;
    color: #e9ecef;
}

.stars i.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* Motorcycle Name */
.motorcycle-name {
    margin: 0 0 16px 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.motorcycle-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.motorcycle-name a:hover {
    color: #22A359;
}

/* Key Specifications */
.key-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #495057;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.spec-icon {
    font-size: 0.75rem;
    color: #1a7c45;
}

/* Price Section */
.price-section {
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a7c45;
    flex: 1;
}

.price-right-section {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.price-note {
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

/* Action Buttons */
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e8f4f 0%, #1a7c45 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 163, 89, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #e9ecef;
    color: #343a40;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-motorcycle-card {
        margin-bottom: 16px;
    }
    
    .motorcycle-image-container {
        height: 180px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        flex: none;
    }
    
    .key-specs {
        gap: 8px;
    }
    
    .spec-item {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .motorcycle-image-container {
        height: 160px;
    }
    
    .brand-rating-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .motorcycle-name {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
}

/* Loading State */
.modern-motorcycle-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.modern-motorcycle-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation for newly loaded cards */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-motorcycle-card.fade-in {
    animation: cardFadeIn 0.5s ease-out;
} 

/* ===== HOME PAGE STYLES ===== */
/* Extracted from home.blade.php */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, white 0%, #e9ecef 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
    color: #f8f9fa;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cta-btn.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-btn.primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.cta-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 50px 0 40px 0;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .cta-actions {
        justify-content: center;
        width: 100%;
        gap: 12px;
    }
    
    .cta-btn {
        flex: 1;
        justify-content: center;
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 40px 0 30px 0;
    }
    .cta-text h2 {
        font-size: 1.75rem;
    }
    .cta-text p {
        font-size: 1rem;
    }
    .cta-actions {
        flex-direction: column;
        gap: 16px;
    }
    .cta-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
    
/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Loading States */
.section-loading {
    opacity: 0.7;
    pointer-events: none;
}

.section-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Enhanced Focus States */
.cta-btn:focus,
.view-all-btn:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 3px solid rgba(32, 88, 68, 0.3);
    outline-offset: 2px;
}

/* Performance Optimizations */
.homepage * {
    will-change: auto;
}

.homepage *:hover {
    will-change: transform;
}

/* Print Styles */
@media print {
    .cta-section,
    .view-all-btn,
    .quick-action-btn {
        display: none !important;
    }
}

/* ===== COMPONENT STYLES ===== */

/* Comparison Section Component */
.comparison-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
    background: linear-gradient(135deg, #205844 0%, #1a4a3a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 88, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-icon {
    font-size: 3rem;
    opacity: 0.9;
    color: white;
}

.title-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.view-all-container {
    margin-left: auto;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #205844;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.view-all-btn:hover {
    background: white;
    color: #1a4a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Comparisons Grid */
.comparisons-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.comparisons-grid::-webkit-scrollbar {
    height: 8px;
}

.comparisons-grid::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.comparisons-grid::-webkit-scrollbar-thumb {
    background: #c1c8cd;
    border-radius: 4px;
}

.comparisons-grid::-webkit-scrollbar-thumb:hover {
    background: #a8b3ba;
}

/* Desktop Cards */
@media (min-width: 769px) {
    .comparison-card {
        flex: 0 0 400px;
        scroll-snap-align: start;
    }
}

/* Comparison Card */
.comparison-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #22A359;
}

/* Comparison Header */
.comparison-header {
    position: relative;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-badge {
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(34, 163, 89, 0.3);
}

.custom-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bikes Container */
.bikes-container {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 24px;
    position: relative;
}

.bike-section {
    flex: 1;
    text-align: center;
}

.bike-image {
    width: 140px;
    height: 100px;
    margin: 0 auto 16px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.bike-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.comparison-card:hover .bike-image img {
    transform: scale(1.05);
}

.bike-info {
    text-align: center;
}

.brand-name {
    color: #22A359;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bike-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.bike-price {
    color: #22A359;
    font-size: 1.1rem;
    font-weight: 700;
}

/* VS Divider */
.vs-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.vs-circle {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid #22A359;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #22A359;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(34, 163, 89, 0.2);
}

/* Comparison Action */
.comparison-action {
    padding: 0 24px 24px;
}

.comparison-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.comparison-link-btn:hover {
    background: linear-gradient(135deg, #1e8f4f 0%, #1a7c45 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 163, 89, 0.3);
}

/* Empty State */
.empty-state {
    flex: 1;
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
    min-width: 100%;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #495057;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 24px;
}

.empty-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-action-btn:hover {
    background: linear-gradient(135deg, #1e8f4f 0%, #1a7c45 100%);
    color: white;
    transform: translateY(-2px);
}

/* News Section Component */
.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* News Grid */
.news-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.news-grid::-webkit-scrollbar {
    height: 8px;
}

.news-grid::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 4px;
}

.news-grid::-webkit-scrollbar-thumb {
    background: #c1c8cd;
    border-radius: 4px;
}

.news-grid::-webkit-scrollbar-thumb:hover {
    background: #a8b3ba;
}

/* Desktop Cards */
@media (min-width: 769px) {
    .news-card {
        flex: 0 0 350px;
        scroll-snap-align: start;
    }
}

/* News Card */
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #22A359;
}

/* News Image */
.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #22A359 0%, #1e8f4f 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 163, 89, 0.3);
}

/* Date Badge */
.date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* News Content */
.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #22A359;
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* News Meta */
.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #6c757d;
}

.news-meta i {
    color: #22A359;
    margin-right: 4px;
}

/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a7c45;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.read-more-btn:hover {
    color: #164139;
    gap: 12px;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Responsive Design for Components */
@media (max-width: 1200px) {
    .comparison-card {
        flex: 0 0 350px;
    }
    
    .comparisons-grid {
        gap: 25px;
    }
    
    .news-card {
        flex: 0 0 320px;
    }
    
    .news-grid {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .comparison-section,
    .news-section {
        padding: 60px 0;
    }
    
    .section-header {
        padding: 20px 15px;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .horizontal-motorcycle-section .section-header {
        padding: 20px 15px;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .horizontal-motorcycle-section .section-title {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    .horizontal-motorcycle-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .horizontal-motorcycle-section .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .horizontal-motorcycle-section .title-area {
        gap: 10px;
        align-items: flex-start;
    }
    
    .horizontal-motorcycle-section .section-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .horizontal-motorcycle-section .view-all-container {
        margin-left: 0;
        align-self: stretch;
    }
    
    .horizontal-motorcycle-section .view-all-btn {
        justify-content: center;
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .title-area {
        gap: 10px;
        align-items: flex-start;
    }
    
    .section-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .view-all-container {
        margin-left: 0;
        align-self: stretch;
    }
    
    .view-all-btn {
        justify-content: center;
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobile layout adjustments */
    .comparisons-grid {
        gap: 16px;
        padding: 0 0 20px 0;
    }
    
    .comparison-card {
        flex: 0 0 320px;
        scroll-snap-align: start;
    }
    
    .bikes-container {
        padding: 20px;
    }
    
    .bike-image {
        width: 120px;
        height: 90px;
    }
    
    .news-grid {
        gap: 20px;
        padding: 0 0 20px 0;
    }
    
    .news-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section-header {
        padding: 15px 12px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .horizontal-motorcycle-section .section-header {
        padding: 15px 12px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .horizontal-motorcycle-section .title-area {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }
    
    .horizontal-motorcycle-section .section-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .horizontal-motorcycle-section .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .horizontal-motorcycle-section .section-icon {
        font-size: 1.5rem;
        margin-top: 2px;
    }
    
    .horizontal-motorcycle-section .header-content {
        gap: 10px;
    }
    
    .horizontal-motorcycle-section .view-all-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .title-area {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .section-icon {
        font-size: 1.5rem;
        margin-top: 2px;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .view-all-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Keep horizontal layout on small mobile too */
    .comparison-card {
        flex: 0 0 280px;
    }
    
    .bikes-container {
        padding: 16px;
    }
    
    .bike-image {
        width: 100px;
        height: 75px;
    }
    
    .bike-name {
        font-size: 0.9rem;
    }
    
    .bike-price {
        font-size: 0.85rem;
    }
    
    .news-card {
        flex: 0 0 280px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Loading Animation */
.comparison-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.comparison-card.loading .bikes-container {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

.news-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.news-card.loading .news-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

