/* Subpages Specific Styles - Separate from main styles.css */

/* Image Gallery Fixes for Subpages */
.subpage-product-images {
    position: sticky;
    top: 120px;
    max-width: 500px;
}

.subpage-main-image {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.subpage-main-product-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.subpage-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.subpage-gallery-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.subpage-gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Natural Methods Section */
.natural-methods-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-8px);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.method-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.method-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.methods-note {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    text-align: center;
}

.methods-note p {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Solution Section */
.solution-section {
    padding: 4rem 0;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.solution-benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.solution-benefit-item .benefit-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.solution-benefit-text h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.solution-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.solution-cta p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.solution-cta .cta-button {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.solution-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.benefit-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
}

.subpage-pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.subpage-pricing-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subpage-pricing-option:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.subpage-pricing-option.subpage-best-value {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.subpage-pricing-option.subpage-best-value:hover {
    transform: scale(1.05) translateY(-5px);
}

.subpage-best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.subpage-pack-info {
    margin-bottom: 1.5rem;
}

.subpage-pack-size {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subpage-pricing-option.subpage-best-value .subpage-pack-size {
    color: white;
}

.subpage-pack-count {
    display: block;
    font-size: 1rem;
    color: #718096;
}

.subpage-pricing-option.subpage-best-value .subpage-pack-count {
    color: rgba(255, 255, 255, 0.8);
}

.subpage-pack-price-section {
    margin-bottom: 1.5rem;
}

.subpage-pack-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.subpage-pricing-option.subpage-best-value .subpage-pack-price {
    color: white;
}

.subpage-pack-savings {
    display: block;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.5rem;
}

.subpage-pricing-option.subpage-best-value .subpage-pack-savings {
    color: #ffd700;
}

.subpage-pack-description p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.subpage-pricing-option.subpage-best-value .subpage-pack-description p {
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.faq-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subpage-image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .methods-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .method-card,
    .benefit-card {
        padding: 25px 20px;
    }
    
    .solution-text p,
    .treatment-text p {
        font-size: 1rem;
    }
    
    .subpage-pricing-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .subpage-pricing-option.subpage-best-value {
        transform: none;
    }
    
    .subpage-pricing-option.subpage-best-value:hover {
        transform: translateY(-5px);
    }
    
    .solution-benefit-item .benefit-icon {
        margin-right: 0;
    }
    
    .solution-cta {
        padding: 20px;
    }
}

/* Unique styles for hemoroid-mendili.html page only */
.hemoroid-info-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.hemoroid-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.hemoroid-type-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hemoroid-type-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.hemoroid-type-item p {
    color: #718096;
    line-height: 1.6;
}

.info-note {
    text-align: center;
    margin-top: 2rem;
}

.info-note p {
    font-size: 1.1rem;
    color: #4a5568;
}

.why-use-section {
    padding: 4rem 0;
}

.why-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.why-use-item {
    text-align: center;
    padding: 1.5rem;
}

.why-use-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.why-use-item p {
    color: #718096;
    line-height: 1.6;
}

.why-use-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
}

.why-use-note p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.treatment-support-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.treatment-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.treatment-benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.treatment-benefit-item .benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.treatment-benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.treatment-note {
    text-align: center;
    margin-top: 2rem;
}

.treatment-note p {
    font-size: 1.1rem;
    color: #4a5568;
}

.who-should-use-section {
    padding: 4rem 0;
}

.who-should-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.who-should-use-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.who-should-use-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.who-should-use-item p {
    color: #718096;
    line-height: 1.6;
}

.final-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta-section .section-title {
    color: white;
}

.final-cta-section .section-subtitle {
    color: white;
    opacity: 0.95;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature .feature-icon {
    font-size: 1.2rem;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #667eea;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.button-text strong {
    font-size: 1.2rem;
}

.button-text small {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.guarantee-icon {
    font-size: 1.1rem;
}

/* Responsive Design for new subpage */
@media (max-width: 768px) {
    .hemoroid-types-grid {
        grid-template-columns: 1fr;
    }
    
    .why-use-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .who-should-use-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button-large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}