/* ==========================================
   GITZ GREEN ENERGY - PRODUCTS PAGE
   Premium Product Showcase Styling
   ========================================== */

/* === PRODUCT HERO === */
.product-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.product-hero .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.product-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.product-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* === CATEGORY FILTER === */
.category-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter-btn {
    padding: 14px 30px;
    border-radius: 50px;
    border: 2px solid #E2E8F0;
    background: white;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-green);
    color: var(--emerald-green);
}

.filter-btn.active {
    background: var(--gradient-nature);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.filter-btn i {
    font-size: 1.1rem;
}

/* === PRODUCT SECTIONS === */
.product-category {
    padding: 100px 0;
}

.solar-products {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
}

.biogas-products {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
}

.ev-products {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.product-category.hidden {
    display: none;
}

/* === PRODUCT GRID === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* === PRODUCT CARD === */
.product-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    animation: slideUp 0.6s ease-out backwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-card.featured {
    border: 3px solid var(--electric-blue);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-electric);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.product-badge.orange {
    background: var(--gradient-solar);
}

.product-badge.green {
    background: var(--gradient-nature);
}

.product-badge.blue {
    background: var(--gradient-electric);
}

/* === PRODUCT CONTENT === */
.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--charcoal);
    line-height: 1.3;
}

.product-desc {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* === PRODUCT FEATURES === */
.product-features {
    margin-bottom: 25px;
}

.product-features .feature {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.product-features .feature i {
    color: var(--emerald-green);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-features .feature span {
    color: var(--slate);
    line-height: 1.5;
}

/* === PRODUCT PRICING === */
.product-pricing {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.original-price {
    font-size: 1rem;
    color: var(--slate);
    text-decoration: line-through;
}

.current-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--charcoal);
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subsidy-tag {
    font-size: 0.85rem;
    color: var(--emerald-green);
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
}

.income-projection {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--electric-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.income-projection i {
    font-size: 1.1rem;
}

/* === PRODUCT BUTTON === */
.btn-product {
    width: 100%;
    background: var(--gradient-solar);
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-product.green {
    background: var(--gradient-nature);
}

.btn-product.blue {
    background: var(--gradient-electric);
}

/* === COMPARISON SECTION === */
.comparison-section {
    padding: 100px 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: var(--gradient-dark);
    color: white;
}

.comparison-table th {
    padding: 25px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table th.highlight-col {
    background: rgba(255, 255, 255, 0.1);
}

.comparison-table .product-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.comparison-table .product-name i {
    font-size: 1.5rem;
    color: var(--leaf-green);
}

.comparison-table tbody tr {
    border-bottom: 1px solid #E2E8F0;
    transition: background 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: var(--light-gray);
}

.comparison-table td {
    padding: 20px;
    color: var(--slate);
}

.comparison-table td strong {
    color: var(--charcoal);
    font-weight: 700;
}

.comparison-table .green {
    color: var(--emerald-green);
    font-size: 1.2rem;
}

/* === WHY PRODUCTS SECTION === */
.why-products-section {
    padding: 100px 0;
    background: var(--mint-light);
}

/* === INQUIRY SECTION === */
.inquiry-section {
    padding: 100px 0;
    background: white;
}

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.inquiry-info h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.inquiry-info>p {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 40px;
}

.inquiry-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.inquiry-benefits .benefit-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.inquiry-benefits .benefit-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-nature);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.inquiry-benefits .benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--charcoal);
}

.inquiry-benefits .benefit-item p {
    color: var(--slate);
    font-size: 0.95rem;
}

.inquiry-form {
    background: var(--light-gray);
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--emerald-green);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--gradient-nature);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease-out;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--slate);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--charcoal);
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.modal-content>p {
    color: var(--slate);
    margin-bottom: 30px;
}

.modal-form .form-field {
    margin-bottom: 20px;
}

/* === ANIMATIONS === */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {
    .product-hero .hero-title {
        font-size: 2.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 12px;
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inquiry-info h2 {
        font-size: 2.2rem;
    }

    .category-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .product-hero {
        min-height: 70vh;
        padding: 120px 0 60px;
    }

    .product-hero .hero-title {
        font-size: 2.2rem;
    }

    .product-hero .hero-subtitle {
        font-size: 1rem;
    }

    .category-filter {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .product-content h3 {
        font-size: 1.3rem;
    }

    .current-price {
        font-size: 1.6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .inquiry-form {
        padding: 30px;
    }

    .inquiry-info h2 {
        font-size: 1.8rem;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .comparison-table-wrapper {
        border-radius: 12px;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }

    .comparison-table .product-name {
        flex-direction: column;
        gap: 5px;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}