/* ========================================
   KAELARI PRODUCT PHOTOGRAPHY STYLES
   ======================================== */

/* Product Hero Section */
.product-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 20px 60px;
}

.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(197, 160, 89, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30, 30, 30, 0.8) 0%, var(--bg-dark) 100%);
    z-index: -1;
}

.product-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50px);
    }
}

.product-hero-content {
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s forwards 0.2s;
    opacity: 0;
    transform: translateY(20px);
}

.product-hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s forwards 0.4s;
    opacity: 0;
    transform: translateY(20px);
}

.product-hero-title .subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-dim);
    font-weight: 400;
    letter-spacing: 8px;
    margin-top: 0.5rem;
}

.product-hero-desc {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s forwards 0.6s;
    opacity: 0;
    transform: translateY(20px);
}

.product-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s forwards 0.8s;
    opacity: 0;
    transform: translateY(20px);
}

.stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-pill:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 1s forwards 1s, float 2s ease-in-out infinite 2s;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Filter Section */
.filter-section {
    padding: 40px 5%;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, #0a0a0a 100%);
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 80px 5% 120px;
    background: #0a0a0a;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(197, 160, 89, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img,
.product-card video {
    width: 100%;
    height: auto;
    display: block;
    object-position: top;
    transition: var(--transition-smooth);
}

.product-card:hover img,
.product-card:hover video {
    transform: scale(1.08);
}

.product-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-content {
    transform: translateY(0);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(197, 160, 89, 0.2);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-icon {
    opacity: 1;
    transform: scale(1);
}

.product-card-icon::before {
    content: '🔍';
    font-size: 1rem;
}

/* Image Modal handled by index.css */

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 3rem;
    }

    .product-hero-title .subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .product-stats {
        gap: 1rem;
    }

    .stat-pill {
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .filter-section {
        top: 60px;
        padding: 20px 5%;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }

    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .modal-nav.prev {
        left: 10px;
    }

    .modal-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 100px 15px 40px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
        letter-spacing: 2px;
    }

    .product-hero-desc {
        font-size: 1rem;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.65rem;
    }
}