﻿/* --- Products Page Specific Styles --- */

.hero-mini {
    height: 35vh;
    min-height: 250px;
}

@media (min-width: 992px) {
    .hero-mini {
        height: 35vh;
        min-height: 300px;
    }
}

@media (min-width: 1440px) {
    .hero-mini {
        height: 35vh;
        min-height: 350px;
    }
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0,46,125,0.1);
    border-color: var(--accent);
}

.product-img-wrapper {
    width: 500px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1200px) {
    .product-img-wrapper {
        width: 400px;
    }
}

@media (max-width: 992px) {
    .product-card {
        flex-direction: column;
    }
    .product-img-wrapper {
        width: 100%;
        height: 350px;
    }
    .product-info {
        padding: 2rem;
    }
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

.product-features i {
    color: var(--accent);
    font-size: 1.2rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    margin-top: auto;
}

.btn-link:hover {
    gap: 0.8rem;
    color: var(--accent);
}

/* Technical Specifications Section */
.spec-section {
    margin-top: 8rem;
    padding: 5rem;
    background: var(--light);
    border-radius: 40px;
}

.spec-header {
    text-align: center;
    margin-bottom: 4rem;
}

.spec-header h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.spec-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.spec-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.spec-details h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.spec-details p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer Map Mini Overlay */
.footer-map-mini {
    margin-top: 1.5rem;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-map-mini:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-mini {
        height: auto;
        min-height: 350px;
        padding: 120px 1.5rem 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .product-grid {
        gap: 2rem;
        margin-top: 2rem;
    }

    .product-card {
        border-radius: 20px;
    }

    .product-img-wrapper {
        height: 300px;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-info h3 {
        font-size: 1.6rem;
    }

    .spec-section {
        margin-top: 4rem;
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .spec-header h3 {
        font-size: 2rem;
    }

    .spec-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .product-img-wrapper {
        height: 250px;
    }

    .product-info h3 {
        font-size: 1.4rem;
    }

    .product-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .spec-header h3 {
        font-size: 1.8rem;
    }

    .spec-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* 1366p specific styling - single line display for technical specifications */
@media (min-width: 1366px) and (max-width: 1366px) {
    .spec-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .spec-icon {
        margin: 0 auto;
    }
}
