/* Fear City Cycles - Enhanced Product Page Styles */

/* Product Page Layout */
.product-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #8B0000;
}

/* Product Hero Section */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Enhanced Product Gallery */
.product-gallery {
    position: relative;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 2px solid #333;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.main-product-image:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumbs img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 2px solid #333;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    border-color: #8B0000;
}

/* Product Info Section */
.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-category {
    color: #8B0000;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-price {
    font-size: 32px;
    font-weight: bold;
    color: #8B0000;
    margin-bottom: 30px;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

/* Product Options */
.product-options {
    margin-bottom: 30px;
}

.product-options label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.product-options select {
    width: 100%;
    padding: 12px;
    background: #222;
    color: white;
    border: 1px solid #666;
    font-size: 16px;
    cursor: pointer;
}

/* Custom Options */
.custom-options {
    margin-top: 20px;
    padding: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.custom-options h3 {
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.custom-options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: normal;
}

.custom-options input[type="checkbox"] {
    margin-right: 10px;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 20px;
    background: #8B0000;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover {
    background: #660000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
}

/* Product Features */
.product-features {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.product-features h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.product-features li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #8B0000;
}

/* Detailed Specifications Section */
.product-specifications {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 3px solid #333;
}

.product-specifications h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Specification Tabs */
.specs-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #333;
    margin-bottom: 30px;
}

.spec-tab {
    padding: 15px 30px;
    background: none;
    color: #666;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.spec-tab:hover {
    color: white;
}

.spec-tab.active {
    color: white;
    border-bottom-color: #8B0000;
}

/* Specification Content */
.specs-content {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
}

.spec-panel {
    display: none;
}

.spec-panel.active {
    display: block;
    animation: fadeIn 0.3s;
}

.spec-panel h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #8B0000;
}

/* Specification Tables */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #333;
}

.specs-table td {
    padding: 15px 0;
}

.specs-table td:first-child {
    font-weight: bold;
    color: #999;
    width: 40%;
}

.specs-table td:last-child {
    color: white;
}

/* Features List */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.features-list li {
    padding: 10px;
    background: #222;
    border-left: 3px solid #8B0000;
    padding-left: 20px;
}

/* Related Products Section */
.related-products {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 3px solid #333;
}

.related-products h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    background: #1a1a1a;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: #8B0000;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.related-card a {
    text-decoration: none;
    color: white;
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

.related-category {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.related-price {
    padding: 0 15px 15px;
    font-size: 20px;
    font-weight: bold;
    color: #8B0000;
}

/* Lightbox Styles */
.product-lightbox {
    animation: fadeIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 16px;
}

.lightbox-close:hover {
    color: #8B0000;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-hero {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 28px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .specs-tabs {
        flex-wrap: wrap;
    }
    
    .spec-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
}