/* Page Header */
.page-header {
    background: linear-gradient(rgba(10, 59, 140, 0.8), rgba(0, 143, 0, 0.8)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    background: transparent;
    justify-content: center;
}

.breadcrumb-item, .breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

/* Product Details */
.product-details {
    padding: 5rem 0;
}

.product-gallery {
    margin-bottom: 2rem;
}

.product-main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.product-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-thumbnails .thumbnail {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    margin: 0 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-thumbnails .thumbnail.active, 
.product-thumbnails .thumbnail:hover {
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-thumbnails .thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.product-info h2 {
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
}

.product-description p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.product-meta {
    margin-bottom: 2rem;
}

.product-meta-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.product-meta-label {
    font-weight: 600;
    width: 120px;
}

.product-actions {
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #e0e0e0;
    margin: 0 5px;
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    background-color: var(--color-light-blue);
}

.related-title {
    margin-bottom: 3rem;
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-blue);
}

.product-card-price {
    font-weight: 600;
    color: var(--color-green);
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--color-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
}

.footer-text {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--color-green), white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-green);
}

.footer-contact {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-green);
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-green);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Custom Button */
.btn-custom {
    background: linear-gradient(135deg, var(--color-green), var(--color-blue));
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-green));
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-custom:hover:before {
    width: 100%;
}

.btn-custom:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-custom {
    background: transparent;
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    padding: 0.7rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .page-header {
        padding: 10rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .product-info {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 9rem 0 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-thumbnails .thumbnail img {
        height: 60px;
    }
}