/* CSS for Z-Store v1.2 - A Modern E-commerce Template */
:root {
    --primary: #6c63ff;
    --secondary: #4d46fa;
    --accent: #ff6584;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    overflow: hidden;
}

#three-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 2rem;
    max-width: 650px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.btn-primary {
    background: #ff6b6b;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease-out;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 107, 0.6);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* 3D Image Container */
.hero-image-container {
    position: relative;
    z-index: 10;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 8px solid white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background: white;
}

.hero-image:hover {
    transform: rotateY(0) rotateX(0);
}

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

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image-container {
        margin-top: 3rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-section {
        min-height: 800px;
    }
}

/* Decorative Elements */
.decoration {
    position: absolute;
    z-index: 2;
    opacity: 0.1;
}

.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid white;
}

.circle-1 {
    top: -150px;
    right: -150px;
}

.circle-2 {
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid white;
    transform: rotate(45deg);
}

.triangle-1 {
    top: 50px;
    left: -100px;
}
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.product-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: white;
    height: 100%;
}

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

.product-img {
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
    width: 100%;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 30px;
}

.gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-card:hover .gallery-btn {
    opacity: 1;
    transform: translateY(0);
}

.category-btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px 10px;
    font-weight: 500;
}

.category-btn.active, .category-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

.stats-card {
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.1);
}

.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 0 20px;
}

.gallery-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.gallery-main-img {
    height: 450px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.pagination-btn.active {
    background: var(--gradient);
    color: white;
}

.pagination-btn:hover:not(.active) {
    background: rgba(108, 99, 255, 0.1);
}

.floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.parallax-section {
    height: 400px;
    background: url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.parallax-overlay {
    background: rgba(26, 26, 46, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.1);
}

.customer-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--primary);
}

.rating {
    color: #ffc107;
    font-size: 1.1rem;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
    padding: 10px;
    border-radius: 5px;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    padding: 10px;
    border-radius: 5px;
}

.notification {
    position: relative;
    border-radius: 0.375rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.form-control.is-invalid {
    border-color: #dc3545;
    border-color: #dc3545;
    background-color: #fff5f5;
}

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

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

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}
