/*
Theme Name: Bicycle Shop Pro
Theme URI: https://example.com/bicycle-shop-pro
Author: Foenix AI
Author URI: https://foenix.ai
Description: Professional standalone WordPress theme for bicycle shops with full WooCommerce integration. Modern responsive design with green-orange color scheme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bicycle-shop-pro
Tags: e-commerce, woocommerce, responsive, modern, bicycle, shop, two-columns, custom-colors, custom-menu, featured-images, threaded-comments

Bicycle Shop Pro - Standalone theme for bicycle stores.
*/

/* ═══════════════════════════════════════════════════════ */
/* RESET & BASE */
/* ═══════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fd7e14;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ═══════════════════════════════════════════════════════ */
/* HEADER */
/* ═══════════════════════════════════════════════════════ */
.site-header {
    background: #fff;
    border-bottom: 2px solid #28a745;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo a {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo a:hover {
    color: #fd7e14;
}

/* ═══════════════════════════════════════════════════════ */
/* NAVIGATION */
/* ═══════════════════════════════════════════════════════ */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    font-weight: 600;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background: #28a745;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════ */
/* HERO SECTION */
/* ═══════════════════════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/bike-pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fd7e14;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid #fd7e14;
}

.btn:hover {
    background: #fff;
    color: #fd7e14;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
}

.btn-secondary {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #28a745;
}

/* ═══════════════════════════════════════════════════════ */
/* CONTENT SECTIONS */
/* ═══════════════════════════════════════════════════════ */
.content-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #28a745;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* ═══════════════════════════════════════════════════════ */
/* PRODUCTS GRID */
/* ═══════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fd7e14;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #fd7e14;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart {
    flex: 1;
    background: #28a745;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: #20c997;
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════ */
/* FOOTER */
/* ═══════════════════════════════════════════════════════ */
.site-footer {
    background: #212529;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #28a745;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #adb5bd;
}

.footer-column a:hover {
    color: #fd7e14;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #adb5bd;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* WOOCOMMERCE COMPATIBILITY */
/* ═══════════════════════════════════════════════════════ */
.woocommerce-products-header {
    margin-bottom: 40px;
}

.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 30px;
    color: #666;
}

.woocommerce div.product .product_title {
    color: #28a745;
}

.woocommerce div.product p.price {
    color: #fd7e14;
    font-size: 32px;
    font-weight: 700;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: #20c997;
}