/* Modern Product Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Product Section */
.product-hero {
    padding: 120px 20px 60px;
    position: relative;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 800px;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-main {
    display: flex;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    gap: 50px;
    align-items: flex-start;
}

.product-main > div:first-child {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    width: 100%;
}

.tech-specs-section {
    margin: 30px 0 0 0 !important;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Side - Image */
.product-image-wrapper {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    transition: all 0.4s ease;
    flex: 0 0 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.product-image-wrapper img {
    width: 140%;
    max-width: 800px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Right Side - Details */
.product-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    text-align: justify;
}

/* Specifications */
.specifications {
    margin-bottom: 35px;
    animation: slideInRight 1s ease-out;
}

.specifications h3 {
    font-size: 1.4rem;
    color: #0066cc;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.spec-table {
    display: grid;
    gap: 15px;
}

.spec-row {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.spec-row:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.1);
}

.spec-label {
    font-weight: 600;
    color: #333;
}

.spec-value {
    color: #666;
}

.spec-value.highlight {
    color: #0066cc;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Download Button */
.download-section {
    margin-top: 30px;
    animation: slideInRight 1.2s ease-out;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.5);
    background: linear-gradient(135deg, #0052a3 0%, #0077cc 100%);
}

.download-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.download-btn:hover i {
    transform: translateY(3px);
}

/* Related Products */
.related-products {
    padding: 80px 20px;
    background: #fff;
}

.related-products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 50px;
}

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

.related-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-card h3 {
    padding: 20px;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
    transition: color 0.3s ease;
}

.related-card:hover h3 {
    color: #0066cc;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: #fff;
    padding-left: 30px;
}

/* Responsive */
@media (max-width: 968px) {
    .product-main {
        flex-direction: column;
        padding: 40px 30px;
    }

    .product-main > div:first-child {
        flex-direction: column;
        gap: 40px;
    }

    .product-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .product-title {
        font-size: 2rem;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 100px 15px 40px;
    }

    .product-main {
        padding: 30px 20px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 1rem;
    }

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 102, 204, 0.1);
        margin-top: 5px;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}
