/* Common Section Styles */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Personalized T-shirt Examples Section */
.examples-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3%;
}

.examples-grid {
    margin: 0 -15px;
}

.examples-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.example-item {
    flex: 0 0 auto;
    max-width: 300px;
}

.example-card {
    height: 350px;
    width: 100%;
}

@media (max-width: 768px) {
    .examples-container {
        flex-direction: column;
        align-items: center;
    }
    
    .example-item {
        max-width: 280px;
    }
}

.example-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
}

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

.example-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.example-card:hover .example-image img {
    transform: scale(1.05);
}

.example-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.example-card:hover .example-overlay {
    opacity: 1; /* Add this */
    transform: scale(1.1); /* Add this - makes it enlarge on hover */
}

.example-overlay .example-icon {
    color: #24511D;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3%;
}

.faq-link {
    color: #24511D;
    text-decoration: none;
    font-weight: 500;
}

.faq-link:hover {
    text-decoration: underline;
}

.faq-accordion {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #374151;
    font-size: 1rem;
}

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

.faq-question.active {
    background: #f3f4f6;
}

.faq-icon {
    color: #6b7280;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: #24511D;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9fafb;
}

.faq-answer.active {
    max-height: 300px;
}

.faq-content {
    padding: 1.5rem 2rem;
}

.faq-content p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.faq-content strong {
    color: #374151;
    font-weight: 600;
}

/* Related Products Section */
.related-products-section {
    margin: 0 auto;
    padding: 0 3%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-controls {
    display: flex;
    gap: 8px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.carousel-btn:hover {
    border-color: #24511D;
    background: #24511D;
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.products-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.products-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 20px;
}

.product-slide {
    flex: 0 0 25%;
    min-width: 280px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.eco-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.product-info {
    padding: 1rem;
}

.product-brand {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.product-colors {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-description {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Examples Section */
    .example-card {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .faq-content {
        padding: 1rem 1.5rem;
    }
    
    .faq-content p {
        font-size: 0.85rem;
    }
    
    /* Related Products */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-slide {
        flex: 0 0 80%;
        min-width: 250px;
    }
    
    .products-track {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .examples-grid .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-slide {
        flex: 0 0 90%;
        min-width: 220px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}