/* Main Styles for BlackShop.to */

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header Styles */
header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
    color: white;
    border-radius: 0 0 50px 50px;
    margin-top: -24px;
}

.hero-image {
    max-height: 300px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Section Titles */
.section-title {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #13547a, #80d0c7);
}

.category-title {
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #13547a;
}

/* Product Box Styles */
.product-box {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.image-container {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 80%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
    display: block;
    margin: 0 auto;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-info h5 {
    margin-top: 0;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.price {
    font-weight: 700;
    color: #e63946;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.buy-btn {
    background: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
    border: none;
    padding: 10px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    margin-top: auto;
    width: 100%;
    border-radius: 6px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #11486a 0%, #6db8b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f0f4f7;
    border-radius: 15px;
    margin: 0 20px;
}

.newsletter-section h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-section .form-control {
    border-radius: 6px 0 0 6px;
    padding: 12px 20px;
}

.newsletter-section .btn {
    border-radius: 0 6px 6px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #13547a 0%, #80d0c7 100%);
}

/* Footer Styles */
footer {
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
}

footer h5 {
    font-weight: 600;
    position: relative;
    display: inline-block;
}

footer h5:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #13547a, #80d0c7);
}

footer a {
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 8px;
}

footer a:hover {
    transform: translateX(5px);
}

.social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 30px;
        max-height: 200px;
    }
    
    .image-container {
        height: 160px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h5 {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .buy-btn {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    .section-title:after {
        width: 60px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

/* Font Awesome animation */
.fa-bounce {
    animation: bounce 1s infinite;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Maintenance Popup Styles */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maintenance-overlay.show {
    opacity: 1;
}

.maintenance-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.maintenance-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.maintenance-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffeb3b;
}

.maintenance-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.maintenance-content p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.close-popup {
    margin-top: 20px;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.close-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #00b09b, #7ca82b);
}
