﻿/* --- PRODUCT DETAIL PAGE STYLES --- */

/* 1. Hero Section */
.product-hero {
    background: linear-gradient(135deg, #0b1120 0%, var(--primary-color, #0046ba) 100%);
    padding: 120px 0 150px 0; /* Padding lớn để chứa Wave */
    color: #fff;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Client/assets/images/pattern-dots.png'); /* Nếu có pattern */
    opacity: 0.1;
    z-index: 0;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Image & Decor */
.hero-img-wrapper {
    position: relative;
    padding: 10px;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    border: 4px solid rgba(255,255,255,0.2);
    transform: rotate(2deg); /* Nghiêng nhẹ tạo kiểu */
    transition: transform 0.5s;
}

.hero-img-wrapper:hover .hero-img {
    transform: rotate(0deg) scale(1.02);
}

.hero-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(#fff 20%, transparent 20%);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: -1;
}

/* Wave Separator */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* 2. Content Detail Section */
.content-wrapper {
    border: 1px solid rgba(0,0,0,0.05);
}

.content-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

    /* Xử lý ảnh trong bài viết (Html.Raw) để Responsive */
    .content-body img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin: 20px 0;
        display: block;
    }

    .content-body h2,
    .content-body h3,
    .content-body h4 {
        color: var(--primary-color, #0046ba);
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .content-body ul,
    .content-body ol {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    .content-body li {
        margin-bottom: 10px;
    }

/* 3. General */
.title-separator {
    width: 60px;
    height: 4px;
    background: var(--primary-color, #0046ba);
    margin-top: 10px;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    .product-hero {
        padding: 80px 0 100px 0;
    }

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

    .hero-img {
        transform: rotate(0);
        margin-top: 30px;
    }
}
