/* Shop Page Specific Styles */

/* Hero Section */
.shop-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e1d4 100%);
    position: relative;
    overflow: hidden;
}

.shop-hero .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.shop-hero .hero-content {
    flex: 1;
    max-width: 600px;
}

.shop-hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.shop-hero .hero-content p {
    font-size: 1.2rem;
    color: #5d6d7e;
    margin-bottom: 30px;
    line-height: 1.6;
}

.shop-hero .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.shop-hero .hero-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.shop-hero .hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.shop-hero .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shop-hero .floating-icon {
    position: absolute;
    font-size: 2rem;
    color: #e67e22;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shop-hero .icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shop-hero .icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.shop-hero .icon-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 3s;
}

.shop-hero .icon-4 {
    bottom: 15%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Categories Section */
.shop-categories {
    padding: 100px 0;
    background-color: #fff;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid #f1f2f6;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-card p {
    color: #5d6d7e;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

/* Featured Products Section */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quick-view:hover {
    background: #3498db;
    color: white;
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-description {
    color: #5d6d7e;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-rating i {
    color: #f39c12;
    font-size: 0.9rem;
    margin-right: 2px;
}

.rating-count {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-left: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.original-price {
    font-size: 1.1rem;
    color: #95a5a6;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    justify-content: center;
}

/* Special Offers Section */
.special-offers {
    padding: 100px 0;
    background-color: #fff;
}

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

.offer-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 15px;
    padding: 40px 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
}

.offer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.offer-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.offer-code {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Testimonials Section */
.shop-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #f39c12;
    margin-right: 2px;
}

.testimonial-text {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* FAQ Section */
.shop-faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-question h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #3498db;
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    padding-bottom: 25px;
    color: #5d6d7e;
    line-height: 1.6;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta-logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0,0,0,0.2);
}

.modal-close i {
    color: #2c3e50;
    font-size: 1.2rem;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.modal-product-image img {
    width: 100%;
    border-radius: 10px;
}

.modal-product-info h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.modal-rating {
    margin-bottom: 20px;
}

.modal-rating i {
    color: #f39c12;
    margin-right: 2px;
}

.modal-product-info p {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
}

#productQty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: white;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5d6d7e;
}

.feature i {
    color: #3498db;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .shop-hero .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .shop-hero .hero-content {
        max-width: 100%;
    }
    
    .shop-hero .hero-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .shop-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-selector {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .shop-hero {
        padding: 100px 0 60px;
    }
    
    .shop-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-container {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}