/* --- Product Page Specific Styles --- */

/* --- Hero Section --- */
.hero-product {
    background-color: var(--bg-light);
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-product-content {
    display: grid;
    grid-template-columns: 1fr;/*1.1fr 0.9fr;*/
    align-items: center;
    gap: 60px;
}

.hero-product-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-product-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-product-title .highlight {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 95%;
}

.hero-product-visual img {
    /* border-radius: var(--border-radius-md); */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease;
}

.hero-product-visual img:hover {
    transform: scale(1.03);
}

.hero-product-cta {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 10px 15px -3px var(--shadow-color);
    /* max-width: 500px; */
}

.cta-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid var(--border-color);
    padding-left: 32px;
}

.cta-price .price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.cta-price .price-currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.cta-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.cta-info .phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    direction: ltr;
    text-align: right;
}

.cta-info .phone-number i {
    margin-left: 8px;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Key Features Section --- */
.key-features {
    padding: 80px 0;
    background-color: var(--bg-color);
}

/* Re-using .feature-card styles from style.css */

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.main-image-container img {
    max-width: 100%;
    height: 400px;
    margin: auto auto 32px auto;
    /* border-radius: var(--border-radius-md); */
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: auto;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--border-color);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* --- All Features Section --- */
.all-features-section {
    padding: 100px 0;
}

.features-list-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px 30px;
}

.features-list-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list-grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-color);
    height: 72px;
}

.features-list-grid li:last-child {
    border-bottom: none;
}

.features-list-grid .fa-check {
    color: var(--gradient-end);
    font-size: 1.2rem;
}

/* --- Add-ons Section --- */
.addons-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.addons-table-container {
    overflow-x: auto;
}

.addons-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.addons-table th,
.addons-table td {
    padding: 18px;
    text-align: right;
    border-bottom: 1px solid var(--border-color);
}

.addons-table thead {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.addons-table tbody tr:last-child td {
    border-bottom: none;
}

.addons-table tbody tr:hover {
    background-color: var(--bg-hover);
}

.addons-table td:nth-child(1) {
    font-weight: 500;
    color: var(--text-primary);
}

.addons-table td:nth-child(3) {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gradient-end);
    /* text-align: center; */
}

/* --- Final CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 35px;
    background-color: #fff;
    color: var(--primary-color);
}

.cta-button:hover {
    background-color: var(--bg-hover);
    color: var(--primary-dark);
}

.cta-button i {
    margin-right: 10px;
}


/* --- Responsive Styles for Product Page --- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-product-content {
        grid-template-columns: 1fr;
    }

    .main-image-container img {
        height: fit-content;
    }

    .features-list-grid li {
        height: 64px;
    }

    .hero-product-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .hero-product-text {
        text-align: center;
    }

    .hero-product-subtitle,
    .hero-product-cta {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 16px;
    }

    .features-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-product {
        padding: 60px 0;
    }

    .hero-product-title {
        font-size: 2.5rem;
    }

    .hero-product-cta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cta-price {
        border-left: none;
        border-bottom: 2px solid var(--border-color);
        padding: 0 0 15px 0;
        align-items: center;
        width: 100%;
    }

    .cta-info {
        padding-top: 8px;
    }

    .addons-table thead {
        display: none;
    }

    .addons-table,
    .addons-table tbody,
    .addons-table tr,
    .addons-table td {
        display: block;
        width: 100%;
    }

    .addons-table tr {
        /* margin-bottom: 15px; */
        border-bottom: rgb(228, 228, 228) solid 1px;
    }

    .addons-table td {
        text-align: right;
        padding-right: 40%;
        position: relative;
    }

    .addons-table td::before {
        content: attr(data-label);
        position: absolute;
        right: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: 700;
        color: var(--text-primary);
        text-align: right;
    }

    .addons-table td:last-child {
        text-align: right;
    }

    /* Keep price aligned right */
}

@media (max-width: 576px) {
    .hero-product-title {
        font-size: 2.2rem;
    }

    .features-list-grid {
        grid-template-columns: 1fr;
    }

    .cta-price .price-value {
        font-size: 2rem;
    }

    .cta-info .phone-number {
        font-size: 1.3rem;
    }
}