/**
 * LISENZIYA.AZ - Product Hero Page (Figma Design)
 * Date: 2026-01-18
 * Hero Layout + Glassmorphism Card
 */

:root {
    --hero-primary: #667eea;
    --hero-secondary: #764ba2;
    --hero-success: #25D366;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
}

/* ============================================
   HERO LAYOUT
   ============================================ */

.product-hero-layout {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

/* Background with Product Image (Blurred) */
.product-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(40px);
    transform: scale(1.1);
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 42, 108, 0.85) 0%, 
        rgba(38, 38, 45, 0.90) 50%, 
        rgba(42, 27, 64, 0.85) 100%
    );
    backdrop-filter: blur(10px);
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
}

/* ============================================
   PRODUCT IMAGE (Left Side)
   ============================================ */

.product-hero-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.hero-image-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Thumbnails - HIDDEN */
.hero-thumbnails {
    display: none !important;
}

/* ============================================
   GLASSMORPHISM CARD (Right Side)
   ============================================ */

.product-glass-card {
    flex: 0 0 50%;
    max-width: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    padding: 48px;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.product-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        transparent 100%
    );
    pointer-events: none;
}

/* SEO H1 (Hidden but accessible) */
.seo-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Product Name */
.hero-product-name {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
.hero-product-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Price Section */
.hero-product-price {
    margin: 0 0 28px 0;
}

.hero-price,
.hero-price-new {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
    display: inline-block;
    margin-right: 16px;
    text-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

.hero-price-old {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    display: inline-block;
    vertical-align: middle;
}

/* Description */
.hero-product-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 32px 0;
    font-weight: 400;
    max-height: 180px;
    overflow-y: auto;
}

.hero-product-description::-webkit-scrollbar {
    width: 6px;
}

.hero-product-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.hero-product-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.hero-product-description::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.hero-order-button {
    margin-top: 36px;
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 100%;
}

.btn-hero-whatsapp:hover {
    background: linear-gradient(135deg, #1DA851 0%, #128C7E 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(37, 211, 102, 0.5),
        0 0 40px rgba(37, 211, 102, 0.3);
    color: #ffffff;
}

.btn-hero-whatsapp:active {
    transform: translateY(-1px);
}

.btn-hero-whatsapp i {
    font-size: 24px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .product-hero-image,
    .product-glass-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-image-wrapper {
        padding: 30px;
    }

    .product-glass-card {
        padding: 36px;
    }

    .hero-product-name {
        font-size: 36px;
    }

    .hero-price,
    .hero-price-new {
        font-size: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .product-hero-layout {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-bg-overlay {
        background: linear-gradient(135deg, 
            rgba(26, 42, 108, 0.92) 0%, 
            rgba(38, 38, 45, 0.95) 50%, 
            rgba(42, 27, 64, 0.92) 100%
        );
    }

    .hero-image-wrapper {
        padding: 20px;
    }

    .hero-thumbnails {
        gap: 8px;
    }

    .hero-thumb-item {
        width: 60px;
        height: 60px;
        padding: 6px;
    }

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

    .hero-product-name {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero-product-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-price,
    .hero-price-new {
        font-size: 32px;
    }

    .hero-price-old {
        font-size: 20px;
    }

    .hero-product-description {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 24px;
        max-height: 150px;
    }

    .btn-hero-whatsapp {
        padding: 16px 28px;
        font-size: 16px;
    }

    .btn-hero-whatsapp i {
        font-size: 20px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .hero-product-name {
        font-size: 24px;
    }

    .hero-price,
    .hero-price-new {
        font-size: 28px;
    }

    .hero-price-old {
        font-size: 18px;
        display: block;
        margin-top: 4px;
    }

    .product-glass-card {
        padding: 24px;
    }

    .hero-order-button {
        margin-top: 28px;
    }
}

/* ============================================
   HIDE OLD ELEMENTS
   ============================================ */

.product-info.product-modern,
.product-tabs,
#tabs,
.tab-content,
.options,
.product-qty,
.product-actions,
.tags {
    display: none !important;
}
