/* ===================================
   Products Page Styles
   =================================== */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 26, 1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    max-height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo img {
    max-height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu li a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-menu .dropdown {
    position: relative;
}

/* Hidden by default */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    display: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 999;
}

/* Show when active (click) */
.dropdown.active .dropdown-menu {
    display: block;
}

/* Dropdown links */
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

/* Hover effect inside menu */
.dropdown-menu li a:hover {
    background: #f4f4f4;
}

/* Arrow styling */
.dropdown .arrow {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* Rotate arrow on active */
.dropdown.active .arrow {
    transform: rotate(180deg);
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/img/Suspension_1.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 80px;
    overflow: hidden;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.7));
    z-index: 1;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 32px 20px;
}
.page-hero1 {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../Suspension_1.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 80px;
    overflow: hidden;
}

.page-hero1 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.7));
    z-index: 1;
}

.page-hero1 .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 32px 20px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
}
/* HERO SLIDER MAIN WRAPPER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 80px;
    overflow: hidden;
}

/* All Slides */
.hero-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;

}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease, transform 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 5;
}

/* Background Image */
.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* Text Content */
.hero-slide .hero-text {
    position: relative;
    z-index: 2;
    top: 30%;
    text-align: center;
    color: white;
    padding: 32px 20px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-text p {
    font-size: 22px;
    letter-spacing: 1px;
}
/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #cccc;
    color: #fff;
    border: none;
    font-size: 35px;
    padding: 5px 20px;
    cursor: pointer;
    border: none;
    border-radius: 50%;    
    transition: 0.3s ease;
}

.slider-btn:hover {
    background: #cccc;
}

/* Positions */
.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 768px) {

    /* Move text lower but keep it centered */
    .hero-text {
        position: absolute;
        top: 17% !important;
        left: 50%;
        transform: translateX(-50%); /* keep horizontal center */
        text-align: center;
        width: 90%;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 15px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        padding: 10px 10px;
        font-size: 22px;
    }
}


.breadcrumb a {
    color: white;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
}

.category-icon {
    width: 200px;
    margin: 0 auto 15px;
    /* background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); */
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    /* color: white; */
    /* box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3); */
    transition: all 0.4s ease;
}
.category-card img{
    height: 150px;
}
.category-card:hover .category-icon {
    transform: rotateY(360deg) scale(1.1);
    /* box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5); */
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.category-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Best Sellers */
.best-sellers {
    padding: 80px 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.products-grid1{
    display: grid;
    gap: 12px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid #f0f0f0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.product-badge.new {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.product-badge.sale {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    /* background: #f8f9fa; */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quick-view:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 5px;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-rating i {
    color: #ffc107;
    font-size: 0.95rem;
}

.product-rating span {
    color: var(--text-gray);
    margin-left: 5px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price del {
    font-size: 1rem;
    color: var(--text-gray);
    margin-left: 8px;
}

.btn-cart {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-cart:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Trusted Brands */
.trusted-brands {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    position: relative;
    overflow: hidden;
}
.brand-logo-item {
    background: #fff;
    padding: 15px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;              /* FIXED width so it won’t stretch */
    height: 100px;
    overflow: hidden;
}
.brand-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trusted-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.trusted-brands .container {
    position: relative;
    z-index: 1;
}

.trusted-brands .section-title {
    color: #ffffff;
}

.trusted-brands .section-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.trusted-brands .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid #f0f0f0;
    text-align: center;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
}

.why-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.4s ease;
}

.why-card:hover .why-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.why-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.why-list {
    list-style: none;
    text-align: left;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.why-list li i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-grid  {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        font-size: 1.1rem;
    }
    
    .page-hero {
        min-height: 50vh;
        margin-top: 60px;
    }
    .page-hero1 {
        min-height: 50vh;
        margin-top: 70px;
    }
    .hero-slider{
        height: 50vh;
        margin-top: 40px;
    }
    
    .page-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: 2px;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .featured-categories,
    .best-sellers,
    .trusted-brands,
    .why-choose-us {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .category-card {
        padding: 35px 25px;
    }
    
    .category-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    .products-grid1 {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    .product-image {
        height: 250px;
    }
    
    .why-grid {
        gap: 30px;
    }
    
    .why-card {
        padding: 35px 25px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .nav-logo img {
        max-height: 40px;
    }
    
    .page-hero {
        min-height: 45vh;
    }
    .page-hero1 {
        min-height: 45vh;
    }
    
    .page-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .category-card,
    .product-card,
    .why-card {
        padding: 30px 20px;
    }
    
    .category-icon,
    .why-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .btn-cart {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra Small */
@media (max-width: 375px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .categories-grid,
    .products-grid .products-grid1{
        gap: 15px;
    }
}

.adventure-icon {
    background: linear-gradient(135deg, #4CAF50, #388E3C) !important;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3) !important;
}

.category-card:hover .adventure-icon,
.why-card:hover .adventure-icon {
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.5) !important;
}

.adventure-cta {
    background: linear-gradient(135deg, #4CAF50, #388E3C) !important;
}