﻿/* Product Detail Styles */
.product-detail-page {
    margin-top: 80px;
}

/* Section Titles */
.section-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Video Section */
.video-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

    .video-wrapper .ratio {
        border-radius: 8px;
        overflow: hidden;
    }

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-color);
    }

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    color: var(--accent-color);
    font-weight: 600;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Description Section */
.description-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.description-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Gallery Images */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

    .image-wrapper:hover {
        transform: translateY(-5px);
    }

    .image-wrapper img {
        transition: transform 0.5s ease;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .image-wrapper:hover img {
        transform: scale(1.05);
    }

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Buttons */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11, 163, 105, 0.3);
    }

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Section spacing */
    .video-section,
    .features-section,
    .description-section,
    .images-section {
        padding: 2rem 0 !important;
    }

    /* Video Section */
    .video-wrapper {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .video-links .btn {
        width: 100%;
        margin-top: 1rem;
    }

    /* Feature Cards */
    .feature-card {
        margin: 0 0.5rem;
        padding: 1.5rem !important;
    }

    .feature-icon i {
        font-size: 2.5rem !important;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    /* Description Section */
    .description-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .description-text p {
        font-size: 1rem;
        text-align: justify;
    }

    /* Gallery Images */
    .image-wrapper {
        margin: 0 0.5rem 1rem;
    }

        .image-wrapper img {
            height: 200px;
        }

    /* Section titles */
    .section-title {
        font-size: 1.75rem;
    }

        .section-title:after {
            width: 50px;
            bottom: -6px;
        }

    /* Adjust container padding */
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Improve spacing for mobile */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .col-md-4, .col-md-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
