/* Parallax and Home Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    color: #fff;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/products/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Buttons */
.custom-white-btn {
    background-color: #ffffff !important;
    color: #333333 !important;
    font-weight: 700 !important;
    border: 2px solid #ffffff !important;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease-in-out;
    text-shadow: none !important;
    letter-spacing: 0.5px;
}

.custom-white-btn:hover, 
.custom-white-btn:focus {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

/* About Section */
.about-section {
    padding: 100px 0;
    position: relative;
    background-color: #f8f9fa;
}

.about-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background-color: #fff;
}

.product-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-content {
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #222;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.product-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonial-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/products/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #fff;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-form .form-control {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
    padding: 15px 0;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* End of Shop Page Styles */

/* Product Detail Page Styles */
.product-hero-section {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.product-hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.product-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.product-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: inline-flex;
    background-color: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--bs-light);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Product Detail Content */
.product-detail-section {
    background-color: #ffffff;
}

.product-detail-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.product-images .product-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.thumbnail-item {
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: var(--bs-primary);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #6c757d;
}

.product-sku {
    font-size: 0.9rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.product-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.product-benefits ul li {
    padding: 0.5rem 0;
}

.product-benefits h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-actions .btn-primary {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-additional-info {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Related Products Section */
.related-products-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.heading-underline {
    height: 3px;
    width: 80px;
    background-color: var(--bs-primary);
    margin: 0 auto;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--bs-primary);
    color: white;
    padding: 3rem 0;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.cta-section .btn {
    background-color: white;
    color: var(--bs-primary);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.cta-section .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
    .product-hero-section {
        height: 30vh;
    }
    
    .product-hero-title {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-detail-wrapper {
        padding: 1.5rem;
    }
}

/* Shop Hero Section */
.shop-hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    color: #fff;
    margin-bottom: 30px;
}

.shop-hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.shop-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.shop-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.shop-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.shop-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Shop Filters */
.shop-filters-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.shop-count {
    font-size: 0.95rem;
    color: #666;
}

.shop-search .input-group {
    max-width: 300px;
    margin-left: auto;
}

/* Product Cards */
.shop-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    position: relative;
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #c0c0c0;
}

.product-image-container {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(40, 167, 69, 0.85);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 1;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #28a745;
}

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

.product-description {
    font-size: 0.9rem;
    color: #666;
    flex: 1;
}

/* Newsletter */
.newsletter-section {
    background-color: #f8f9fa;
}

.newsletter-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.newsletter-form {
    max-width: 500px;
    margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 70px 0;
    }
    
    .products-section {
        padding: 70px 0;
    }
    
    .testimonials-section {
        padding: 70px 0;
    }
    
    .contact-section {
        padding: 70px 0;
    }
}
