/* styles.css - Mobile-First Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Mobile-First Container */
.container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}

/* Better Touch Targets - Minimum 44px */
button, 
a, 
input, 
select, 
.bike-card, 
.sold-card,
.filter-chip {
    min-height: 44px;
    cursor: pointer;
}

/* Remove tap highlight on mobile */
button, a, div {
    -webkit-tap-highlight-color: transparent;
}

/* Navigation - Mobile Optimized */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.logo-text {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.logo-text span {
    color: #4682B4;
}

.right-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.call-btn {
    background: #2563eb;
    color: white;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.account-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Mobile Navigation Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
    gap: 8px;
}

.mobile-menu a {
    padding: 14px 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
}

.mobile-menu a.active {
    background: #2563eb;
    color: white;
}

.mobile-menu a i {
    width: 24px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%), 
                url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(37,99,235,0.8);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero h1 span {
    color: #60a5fa;
}

.hero p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #60a5fa;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

/* Section Styles */
.section {
    padding: 48px 16px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
}

/* Bike & Sold Cards - Mobile Optimized */
.bikes-grid, .sold-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .bikes-grid, .sold-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bikes-grid, .sold-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bike-card, .sold-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.bike-card:active, .sold-card:active {
    transform: scale(0.98);
}

.bike-image, .sold-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bike-info, .sold-info {
    padding: 16px;
}

.bike-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.bike-price {
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 8px;
}

.bike-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
    font-size: 12px;
    color: #64748b;
}

.bike-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.btn-inquire {
    background: #2563eb;
    color: white;
}

.btn-edit {
    background: #eab308;
    color: white;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-sold {
    background: #8b5cf6;
    color: white;
}

/* Filter Chips */
.filter-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0 16px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.filter-chip {
    padding: 10px 20px;
    border-radius: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-chip.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* Modal Styles - Mobile First */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #334155;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 1100;
    animation: fadeInOut 3s ease;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Footer */
footer {
    background: black;
    color: #9ca3af;
    text-align: center;
    padding: 24px 16px;
    margin-top: auto;
    font-size: 12px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 90;
    transition: transform 0.2s;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    font-size: 28px;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 220px;
    display: none;
    z-index: 200;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-item:hover {
    background: #f8fafc;
}

.dropdown-item.text-red {
    color: #ef4444;
}

/* Why Choose Section */
.why-choose {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .why-choose {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-text {
    font-size: 13px;
    color: #64748b;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.social-btn {
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Exchange Page */
.exchange-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.exchange-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Comments Section */
.comments-section {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.comment {
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-user {
    font-weight: 600;
    font-size: 13px;
    color: #2563eb;
}

.comment-date {
    font-size: 11px;
    color: #94a3b8;
}

.comment-text {
    font-size: 14px;
    color: #334155;
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.rating-stars i {
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}