/* ===================================
   PRODUCT PAGE STYLES
   =================================== */

/* Product Hero */
.product-hero {
    padding: 40px 0 40px;
    border-bottom-style: solid;
    border-bottom-color: lightgrey;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--hover-blue);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

.product-hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* Product Gallery */
.product-gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.main-gallery {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-main-image {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.thumbnail {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.thumbnail.active {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(42, 197, 250, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Features */
.product-features {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.feature-box {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-box p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Specifications */
.specifications-section {
    padding: 80px 0;
    background: var(--white);
}

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

.spec-item {
    background: var(--light-gray);
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.spec-item strong {
    font-weight: 600;
    min-width: 100px;
}

.spec-item span {
    text-align: right;
    font-size: 14px;
}

.spec-item:hover strong,
.spec-item:hover span {
    color: var(--white);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.contact-item strong {
    font-size: 14px;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--hover-blue);
}

.contact-item span {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(42, 197, 250, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 15px 40px;
    font-size: 16px;
}

/* Section Title */
.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive Design for Product Pages */
@media (max-width: 968px) {
    .product-hero h1 {
        font-size: 36px;
    }

    .gallery-main-image {
        height: 400px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .product-hero {
        padding: 60px 0 30px;
    }

    .product-hero h1 {
        font-size: 28px;
    }

    .gallery-main-image {
        height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumbnail {
        height: 80px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-box {
        padding: 25px;
    }
}
