/* Product Page Specific Styles */
body {
    padding-top: 80px;
}

/* Product Hero Section */
.product-hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa, #f4f4f4);
    color: var(--dark-gray);
    border-bottom: 5px solid var(--primary-yellow);
}

.product-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(239, 201, 80, 0.05), rgba(199, 56, 52, 0.08));
    z-index: 0;
}

.product-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-hero-image {
    flex: 1;
    text-align: center;
    max-width: 40%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.product-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-yellow));
}

.product-hero-image img {
    max-height: 350px;
    transition: transform 0.5s ease;
}

.product-hero-image img:hover {
    transform: scale(1.05);
}

.product-hero-info {
    flex: 1;
    max-width: 60%;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.product-hero-info h1 {
    font-family: 'Bree Serif', serif;
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.product-tagline {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--dark-gray);
}

.product-cta {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

/* Product Specs */
.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
    max-width: 100%;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--primary-red);
    min-height: 70px;
}

.spec-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 5px;
    width: 100%;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    line-height: 1.3;
    width: 100%;
}

/* Product Description Section */
.product-description {
    padding: 70px 0;
    background-color: #f8f8f8;
}

.product-description h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
}

.product-description h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.description-content {
    max-width: 800px;
    margin: 50px auto 0;
}

.description-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Applications Section */
.product-applications {
    padding: 70px 0;
    background-color: #fff;
}

.product-applications h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
}

.product-applications h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
}

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

.application-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.application-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-bottom: 20px;
}

.application-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.application-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.application-card ul {
    padding-left: 20px;
    margin-top: 15px;
}

.application-card ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Benefits Section */
.product-benefits {
    padding: 70px 0;
    background-color: #f8f8f8;
}

.product-benefits h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
}

.product-benefits h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.benefits-grid {
    max-width: 900px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-yellow);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.benefit-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Usage Section */
.product-usage {
    padding: 70px 0;
    background-color: #fff;
}

.product-usage h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
}

.product-usage h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
}

.usage-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.usage-text {
    flex: 1;
}

.usage-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.usage-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.usage-text ul {
    padding-left: 20px;
}

.usage-text ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.usage-image {
    flex: 1;
    text-align: center;
}

.usage-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download-section {
    padding: 70px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
    display: inline-block;
}

.download-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
}

.download-section p {
    max-width: 600px;
    margin: 30px auto;
    font-size: 1.1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.download-btn svg {
    margin-right: 10px;
}

.download-btn:hover {
    background-color: var(--dark-gray);
    transform: translateY(-3px);
}

/* Related Products Section */
.related-products {
    padding: 70px 0;
    background-color: #fff;
}

.related-products h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    font-family: 'Bree Serif', serif;
    color: var(--dark-gray);
}

.related-products h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-yellow);
}

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

.related-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    height: 150px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

.related-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.related-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.view-related-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.view-related-btn:hover {
    background-color: var(--dark-gray);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .product-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-hero-image, 
    .product-hero-info {
        max-width: 100%;
    }
    
    .product-hero-info {
        padding: 20px 10px; /* Adjust padding for better mobile layout */
    }
    
    .product-cta {
        justify-content: center;
    }
    
    .product-specs {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        width: 100%; /* Ensure full width */
        margin: 0 auto 20px; /* Center the grid */
    }
    
    .usage-content {
        flex-direction: column;
    }
    
    .usage-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .product-hero-info h1 {
        font-size: 2.8rem;
    }
    
    .product-tagline {
        font-size: 1.2rem;
    }
    
    .product-description h2,
    .product-applications h2,
    .product-benefits h2,
    .product-usage h2,
    .download-section h2,
    .related-products h2 {
        font-size: 2.2rem;
    }
    
    .product-specs {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 50px 0 30px; /* Reduce bottom padding */
    }
    
    .product-hero-info {
        padding: 15px 5px; /* Further reduce padding on very small screens */
    }
    
    .product-hero-info h1 {
        font-size: 2.2rem;
    }
    
    .product-tagline {
        font-size: 1rem;
    }
    
    .product-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .spec-item {
        max-width: 100%;
        padding: 8px 12px;
        min-height: 65px;
        width: 100%;
        margin-bottom: 6px;
    }
    
    .spec-value {
        font-size: 1.1rem;
        width: 100%;
        display: block;
        text-align: left;
        margin-bottom: 3px;
    }
    
    .spec-label {
        font-size: 0.75rem;
        width: 100%;
        display: block;
        text-align: left;
        line-height: 1.2;
    }
    
    .description-content p,
    .usage-text p {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .product-specs {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Button hover styles fix */
.hero-cta-yellow:hover {
    background-color: transparent;
    color: var(--dark-gray) !important; /* Override to ensure readability */
    border-color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(239, 201, 80, 0.3);
}

/* Scroll to Top Button Fix */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#scroll-to-top:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--dark-gray);
    transform: translateY(-3px);
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
} 