/* Products Page Specific Styles */

.products-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 160px 10% 80px;
    background-color: #001a38;
}

.products-hero .hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.products-hero .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) saturate(1.05);
    transform: scale(1.06);
}

.products-hero .hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.products-hero .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 620px;
    grid-column: 1;
    justify-self: start;
    text-align: left;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
}

.products-hero .hero-features {
    grid-column: 2;
    justify-self: end;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
    width: 230px;
}

.products-hero .feature-tag {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    padding: 1.1rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.products-hero .tag-text p {
    color: var(--white);
    opacity: 0.8;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.products-hero .feature-tag i {
    color: var(--accent);
    font-size: 2rem;
    margin-right: 0;
}

.products-hero .tag-text h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Outfit', sans-serif;
}

.products-hero h1 {
    font-size: clamp(2.5rem, 4.8vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.products-hero .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 91, 150, 0.16);
    color: var(--white);
    padding: 0.55rem 1.4rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(8, 91, 150, 0.45);
}

.products-hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.92;
    max-width: 650px;
    line-height: 1.7;
    border-left: 3px solid var(--accent);
    padding-left: 1.8rem;
}

.products-hero .hero-actions {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.products-hero .scroll-down-btn {
    display: none !important;
}

.products-hero .scroll-down-btn:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-5px);
}

.products-hero .scroll-down-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--white-10);
    border-radius: 50%;
    animation: pulseCircle 2s infinite;
}

@keyframes pulseCircle {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Product Detail List */
.product-detail-section {
    padding: 80px 10%;
    background: var(--bg-main);
}

.product-detail-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 100px;
}

.product-detail-row:nth-child(even) {
    flex-direction: row-reverse;
}

.product-detail-row:last-child {
    margin-bottom: 0;
}

.product-image-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 10px solid var(--white);
    background: var(--white);
}

.product-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s var(--ease-out);
}

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

.product-content {
    flex: 1;
}

.product-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.product-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.product-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.product-content .cta-button i.fab.fa-whatsapp {
    font-size: 1.25rem;
    line-height: 1;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 4px;
}

.feature-item div h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-item div p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

.ideal-for {
    margin-bottom: 2.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}

.ideal-for h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ideal-for-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.ideal-for-list li {
    background: var(--bg-main);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 991px) {
    .products-hero {
        grid-template-columns: 1fr;
        padding: 130px 5% 60px;
        min-height: auto;
    }

    .products-hero .hero-content {
        grid-column: 1;
    }

    .products-hero .hero-features {
        grid-column: 1;
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem;
    }

    .products-hero .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 350px;
        align-self: center;
        margin-top: 1rem;
    }

    .products-hero .hero-actions .cta-button {
        width: 100%;
    }
    
    .products-hero h1 {
        font-size: 2.8rem;
    }

    .product-detail-row,
    .product-detail-row:nth-child(even) {
        flex-direction: column;
        gap: 3rem;
    }

    .product-image-container,
    .product-content {
        width: 100%;
    }
    
    .product-image-container img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .products-hero {
        padding: 120px 5% 60px;
    }

    .products-hero h1 {
        font-size: 2rem;
    }

    .products-hero p {
        font-size: 0.95rem;
    }

    .products-hero .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-content .cta-button {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .products-hero .hero-actions {
        max-width: 100%;
    }

    .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-content h2 {
        font-size: 2rem;
    }
    
    .product-image-container img {
        height: 250px;
    }
}

/* Product hero parity with Home/About hero sections. */
.products-hero {
    background-color: #001a38;
}

.products-hero .hero-bg-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.products-hero .hero-content {
    max-width: 620px;
}

.products-hero .hero-tag {
    background: rgba(8, 91, 150, 0.16);
    border-color: rgba(8, 91, 150, 0.45);
}

.products-hero .hero-features {
    gap: 2rem;
}

.products-hero .feature-tag {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    animation: float 4s ease-in-out infinite;
}

.products-hero .feature-tag:nth-child(2) {
    animation-delay: 1s;
}

.products-hero .feature-tag:nth-child(3) {
    animation-delay: 2s;
}

.products-hero .feature-tag i {
    color: var(--accent);
    font-size: 2rem;
    margin-right: 0;
}

.products-hero .tag-text h4 {
    font-size: 1.2rem;
    line-height: 1.15;
}

/* Tablet layout: match Home/About hero responsiveness. */
@media (max-width: 992px) {
    .products-hero {
        grid-template-columns: 1fr;
        padding: 220px 5% 80px;
        height: auto;
        min-height: 100vh;
    }

    .products-hero .hero-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        grid-column: 1;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .products-hero .hero-features {
        grid-column: 1;
        justify-self: flex-start;
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        margin-top: 1.5rem;
    }

    .products-hero .feature-tag {
        flex: 1;
        min-width: 0;
        width: auto;
        height: auto;
        padding: 1rem 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.7rem;
        animation: none;
    }

    .products-hero .feature-tag i {
        font-size: 1.5rem;
    }

    .products-hero .feature-tag .tag-text h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .products-hero h1 {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }

    .products-hero p {
        margin: 0 0 3rem;
        border-left: 3px solid var(--accent);
        padding-left: 2rem;
        max-width: 600px;
    }

    .products-hero .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 350px;
        margin: 1.5rem auto 0;
        justify-content: center;
    }

    .products-hero .hero-actions .cta-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 220px 5% 80px;
        min-height: 100vh;
    }

    .products-hero .hero-content {
        align-items: flex-start;
    }

    .products-hero .hero-features {
        flex-direction: row;
        gap: 10px;
        align-items: stretch;
        margin-top: 1.5rem;
    }

    .products-hero .feature-tag {
        width: auto;
        flex: 1;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .products-hero .hero-actions {
        margin: 0 auto;
    }
}
