/* ===============================
   See-N Solar Product System CSS
   Fully Compatible with PHP + Modal
================================= */

:root {
    --primary-green: #6BCF3D;
    --solar-gold: #FFD700;
    --bg-dark: #050706;
    --bg-card: #111111;
    --text-white: #ffffff;
    --text-muted: #aaaaaa;
    --glass-border: rgba(255,255,255,0.1);
    --transition: all 0.3s ease;
}

/* ===============================
   General Layout
================================= */

body {
    margin: 0;
    background: var(--bg-dark);
    font-family: 'Noto Sans Bengali', sans-serif;
    color: var(--text-white);
}

.product-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.product-section-padding {
    padding: 70px 0;
}

/* ===============================
   Hero Section
================================= */

.product-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to bottom, #000, #0F2A1D);
}

.product-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.product-hero p {
    color: var(--text-muted);
    max-width: 700px;
    margin: auto;
}

/* ===============================
   Product Grid
================================= */

.product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-premium-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 35px rgba(107, 207, 61, 0.2);
}

.product-product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 15px;
}

/* ===============================
   Buttons
================================= */

.product-btn {
    padding: 12px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: 10px;
    transition: var(--transition);
}

.product-btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-white);
}

.product-btn-outline:hover {
    border-color: var(--solar-gold);
    color: var(--solar-gold);
}

.product-btn-whatsapp {
    background: linear-gradient(135deg,#25D366,#128C7E);
    color: white;
}

.product-btn-whatsapp:hover {
    transform: translateY(-2px);
}

/* ===============================
   Modal System
================================= */

.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-modal.active {
    display: flex;
}

.product-modal-content {
    background: #111;
    max-width: 900px;
    width: 100%;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

.product-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-muted);
}

.product-close-modal:hover {
    color: white;
}

.product-modal-image-box {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-modal-img-full {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.product-modal-details-box {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-modal-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--solar-gold);
}

.product-modal-price {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.product-info-section-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-info-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 15px;
}

.product-info-item {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.product-modal-whatsapp-btn {
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg,#25D366,#128C7E);
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

/* ===============================
   Floating WhatsApp
================================= */

.product-wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
}

.product-wa-float:hover {
    transform: scale(1.1);
}

/* ===============================
   Responsive
================================= */

@media (max-width: 768px) {

    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .product-modal-image-box {
        padding: 20px;
    }

    .product-modal-details-box {
        padding: 20px;
    }

    .product-hero h1 {
        font-size: 2rem;
    }

}
