/* ==========================================================================
   Paoreel Studios - Product Showcase & Archive Styles
   ========================================================================== */

/* ==========================================================================
   Product Hero Section - Split-Screen Layout with Image Overlay Mask
   ========================================================================== */

.product-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height, 80px) + 60px) var(--container-padding, 5%) 80px;
    background: var(--color-black, #15171c);
    overflow: hidden;
}

.product-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 120px;
    width: 100%;
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-content {
    max-width: 600px;
}

.product-content span,
.hero-top-meta {
    color: var(--color-gold, #c7a86d);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.product-content h1,
.hero-title {
    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    line-height: 1.08;
    color: var(--color-white, #ffffff);
    margin-bottom: 25px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
}

.product-content p {
    color: var(--color-text-muted, #d6d6d6);
    line-height: 2;
    font-size: 1.1rem;
}

/* Container matching your exact 1440x1800 (4:5) image ratio uncropped */
.product-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 1800;
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    background: #111111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none;
    filter: none;
}

/* ==========================================================================
   Overlay Mask for products-hero.webp
   ========================================================================== */
.product-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Soft dark vignette / gradient mask overlay */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.45)
    );
    pointer-events: none;
    z-index: 2;
}

.product-overlay {
    display: none;
}

/* Initial state for hero entrance animations */
.product-content span,
.product-content h1,
.product-content p {
    opacity: 1;
    transform: translateY(40px);
}

/* Bento Gallery Section */
.gallery-section {
    padding: 60px var(--container-padding, 5%) 80px;
    max-width: var(--max-width, 1440px);
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-item {
    position: relative;
    background-color: var(--color-bg-alt, #111111);
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.bento-item:nth-of-type(4n-3) { grid-column: span 8; height: 500px; }
.bento-item:nth-of-type(4n-2) { grid-column: span 4; height: 500px; }
.bento-item:nth-of-type(4n-1) { grid-column: span 5; height: 420px; }
.bento-item:nth-of-type(4n)   { grid-column: span 7; height: 420px; }

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
    transform: scale(1.03);
}

/* Product CTA Section */
.product-cta {
    padding: 180px 0;
    background: var(--color-bg-dark, #050505);
    text-align: center;
}

.product-cta .container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.product-cta span {
    display: block;
    color: var(--color-gold, #c7a86d);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.product-cta h2 {
    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-white, #ffffff);
}

.product-cta p {
    max-width: 760px;
    margin: 0 auto 50px;
    color: var(--color-text-muted, #d0d0d0);
    line-height: 2;
    font-size: 1.1rem;
}

.product-cta .btn-primary {
    display: inline-block;
    background: var(--color-gold, #c7a86d);
    color: var(--color-black, #000000);
    padding: 16px 36px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xs, 4px);
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.product-cta .btn-primary:hover {
    background: var(--color-white, #ffffff);
    color: var(--color-black, #000000);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .product-content {
        max-width: 100%;
    }
    .product-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .bento-item { 
        grid-column: span 12 !important; 
        height: 350px !important; 
    }
    .product-cta { 
        padding: 100px 0; 
    }
}