/* Sharma Motors - Bold automotive: black + red (unique theme) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --primary: #0d0d0d;
    --primary-light: #1a1a1a;
    --accent: #e63946;
    --accent-light: #ff6b6b;
    --white: #ffffff;
    --light: #f4f4f4;
    --gray: #4a4a4a;
    --border: #e0e0e0;
}

body {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    line-height: 1.5;
    color: var(--primary);
    background: var(--light);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-block { width: 100%; text-align: center; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    z-index: 1000;
    padding: 0.85rem 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo h2 { color: var(--white); font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; letter-spacing: 0.05em; }
.nav-logo i { color: var(--accent); }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { text-decoration: none; color: rgba(255,255,255,0.9); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.04em; transition: color 0.25s ease; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-icon-btn {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.2);
    width: 44px;
    height: 44px;
    border-radius: 0;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.nav-icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.badge { position: absolute; top: -6px; right: -6px; background: var(--accent); color: var(--white); border-radius: 0; min-width: 22px; height: 22px; font-size: 0.7rem; display: none; align-items: center; justify-content: center; font-weight: 700; }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.bar { width: 26px; height: 3px; background: var(--white); margin: 3px 0; transition: 0.3s; }

.hero-sky { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-sky-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #000 0%, #0d0d0d 40%, #1a1a1a 70%, #262626 100%);
}
.hero-sky-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 80% 30%, rgba(230, 57, 70, 0.2) 0%, transparent 55%);
    pointer-events: none;
}
.hero-sky-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-sky-inner { max-width: 620px; }
.hero-sky-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    border: 2px solid var(--accent);
}
.hero-sky-title { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; line-height: 1.1; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.02em; }
.hero-sky-accent { color: var(--accent); }
.hero-sky-desc { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.65; }
.hero-sky-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 18px 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 0;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
    font-family: inherit;
}
.btn-hero-primary:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(230, 57, 70, 0.45); }
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 18px 36px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: inherit;
}
.btn-hero-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-sky-wave { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: var(--light); clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0 100%); }

.shop-section { padding: 80px 0; background: var(--light); }
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.section-title { font-size: 2.5rem; color: var(--primary); font-weight: 700; margin: 0; letter-spacing: 0.03em; text-transform: uppercase; }
.shop-controls { display: flex; gap: 1rem; align-items: center; }
.btn-toggle-sidebar { display: none; padding: 12px 20px; background: var(--primary); color: var(--white); border: none; border-radius: 0; cursor: pointer; font-family: inherit; text-transform: uppercase; letter-spacing: 0.05em; }
.view-options { display: flex; align-items: center; gap: 0.5rem; }
.view-options select { padding: 8px 12px; border: 2px solid var(--border); border-radius: 0; font-family: inherit; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }

.sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 2px solid var(--border);
}
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--border); }
.sidebar-header h3 { margin: 0; color: var(--primary); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.close-sidebar { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); }
.filter-section { margin-bottom: 1.5rem; }
.filter-section h4 { margin-bottom: 0.75rem; color: var(--primary); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.filter-select { width: 100%; padding: 10px; border: 2px solid var(--border); border-radius: 0; font-size: 0.9rem; font-family: inherit; }
.price-filters, .category-filters { display: flex; flex-direction: column; gap: 0.4rem; }
.price-filters label, .category-filters label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.9rem; color: var(--gray); }

.products-container { flex: 1; }
.products-info { margin-bottom: 1rem; color: var(--gray); font-size: 0.95rem; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(230, 57, 70, 0.15); border-color: var(--accent); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); padding: 8px 14px; border-radius: 0; font-size: 0.75rem; font-weight: 700; z-index: 2; text-transform: uppercase; letter-spacing: 0.05em; }
.product-actions { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 0.4rem; z-index: 2; }
.product-action-btn { width: 38px; height: 38px; background: var(--white); border: 2px solid var(--border); border-radius: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; color: var(--primary); }
.product-action-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.product-image { width: 100%; height: 200px; object-fit: cover; background: var(--light); display: block; cursor: pointer; transition: transform 0.35s ease; }
.product-card:hover .product-image { transform: scale(1.05); }
.product-info { padding: 1.25rem; }
.product-category { font-size: 0.7rem; color: var(--gray); text-transform: uppercase; margin-bottom: 0.4rem; letter-spacing: 0.1em; }
.product-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.product-price .current { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.product-price .original { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.product-price .discount { font-size: 0.8rem; color: #b91c1c; font-weight: 600; }
.btn-add-cart { width: 100%; padding: 14px; background: var(--accent); color: var(--white); border: none; border-radius: 0; cursor: pointer; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.25s ease; font-family: inherit; }
.btn-add-cart:hover { background: var(--accent-light); transform: translateY(-2px); }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.pagination button { padding: 10px 16px; border: 2px solid var(--border); background: var(--white); border-radius: 0; cursor: pointer; font-family: inherit; font-weight: 600; transition: all 0.25s ease; }
.pagination button:hover, .pagination button.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.newsletter { padding: 60px 0; background: var(--primary); text-align: center; }
.newsletter h2 { color: var(--white); font-size: 1.9rem; margin-bottom: 0.5rem; font-weight: 700; letter-spacing: 0.04em; }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.newsletter-form input[type="email"] { flex: 1; min-width: 200px; padding: 14px 18px; border: none; border-radius: 0; font-size: 1rem; font-family: inherit; }
.newsletter-form .btn { background: var(--accent); color: var(--white); }
.newsletter-form .btn:hover { background: var(--accent-light); }

.about-section { padding: 60px 0; background: var(--white); }
.about-section h2 { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; letter-spacing: 0.03em; }
.about-section p { color: var(--gray); max-width: 800px; line-height: 1.8; }

.footer { background: var(--primary); color: var(--white); padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; padding-bottom: 2rem; }
.footer-section h3, .footer-section h4 { margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em; }
.footer-section h3 i { color: var(--accent); margin-right: 0.4rem; }
.footer-section p, .footer-section a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.footer-section a { text-decoration: none; }
.footer-section a:hover { color: var(--accent); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 2px solid rgba(255,255,255,0.1); padding: 1.25rem 0; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.65); }

.modal { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-content { background: var(--white); padding: 2rem; border-radius: 0; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; border: 2px solid var(--border); }
.modal-large { max-width: 800px; }
.close-modal { position: absolute; top: 1rem; right: 1rem; font-size: 1.75rem; cursor: pointer; background: none; border: none; color: var(--gray); }
.close-modal:hover { color: var(--accent); }
.search-box { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-box input { flex: 1; padding: 12px; border: 2px solid var(--border); border-radius: 0; font-family: inherit; }
.search-box button { padding: 12px 18px; background: var(--accent); color: var(--white); border: none; border-radius: 0; cursor: pointer; font-family: inherit; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--primary); }
.form-group input { width: 100%; padding: 12px; border: 2px solid var(--border); border-radius: 0; font-family: inherit; }

.cart-sidebar { position: fixed; right: -380px; top: 0; width: 380px; max-width: 100%; height: 100vh; background: var(--white); box-shadow: -4px 0 24px rgba(0,0,0,0.2); z-index: 1500; transition: right 0.35s ease; display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--border); }
.cart-header h2 { font-size: 1.25rem; color: var(--primary); margin: 0; font-weight: 700; }
.close-cart { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.empty-cart { color: var(--gray); text-align: center; padding: 2rem; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 2px solid var(--border); }
.cart-item-image { width: 70px; height: 70px; object-fit: cover; border-radius: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 0.25rem; }
.cart-item-price { font-size: 0.95rem; color: var(--accent); font-weight: 700; margin-bottom: 0.4rem; }
.cart-item-quantity { display: flex; align-items: center; gap: 0.5rem; }
.cart-item-quantity button { width: 28px; height: 28px; border: 2px solid var(--border); background: var(--white); border-radius: 0; cursor: pointer; font-size: 1rem; }
.cart-item-quantity input { width: 44px; text-align: center; padding: 4px; border: 2px solid var(--border); border-radius: 0; font-family: inherit; }
.cart-item-remove { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--gray); align-self: flex-start; }
.cart-footer { padding: 1.25rem 1.5rem; border-top: 2px solid var(--border); }
.cart-total { margin-bottom: 0.75rem; font-size: 1.1rem; color: var(--primary); font-weight: 700; }
.cart-footer .btn { padding: 14px; }

@media (max-width: 992px) {
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar { position: fixed; left: -300px; top: 0; bottom: 0; width: 300px; z-index: 1200; transition: left 0.3s ease; max-height: 100vh; overflow-y: auto; }
    .sidebar.active { left: 0; }
    .close-sidebar { display: block; }
    .btn-toggle-sidebar { display: inline-flex; align-items: center; gap: 0.5rem; }
    .nav-menu { display: none; }
    .nav-menu.active { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 1rem; }
    .hamburger { display: flex; }
    .hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 768px) {
    .hero-sky { min-height: 85vh; padding: 100px 0 60px; }
    .products-grid { grid-template-columns: 1fr; }
    .cart-sidebar { width: 100%; right: -100%; }
}
