@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #af7445;
    /* Shopzy Brand Color */
    --primary-hover: #8f6138;
    /* Darker shade for hover */
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--black);
    overflow-x: hidden;
}

/* Bootstrap Overrides */
.text-success {
    color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--primary-color) !important;
}

.btn-success {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-success:hover,
.btn-outline-success:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    /* Start transparent */
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    animation: slideDown 0.5s ease forwards;
    padding: 10px 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-nav {
    gap: 15px;
}

.nav-link {
    color: var(--white) !important;
    transition: 0.3s;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
#home {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=1600&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    /* Parallax effect attempt with fixed generic bg attached */
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Common Section padding */
section {
    position: relative;
}

/* Cards Hover Effect */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* Product Cards (Redesigned) */
.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft, elegant shadow */
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Lifted effect */
}

.product-image-container {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-details {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.add-cart-btn {
    background-color: var(--black);
    /* Contrast against white */
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden by default for clean look */
    transform: translateY(10px);
}

/* On card hover, show button */
.product-card:hover .add-cart-btn {
    opacity: 1;
    transform: translateY(0);
}

.add-cart-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(175, 116, 69, 0.4);
    /* Glow effect with brand color */
}

/* Badges */
.badge-custom {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.badge-sale {
    background-color: #e74c3c;
    /* Red for sale */
}

/* Service Cards */
.service-card .icon-box {
    width: 80px;
    height: 80px;
    transition: 0.3s ease;
}

.service-card:hover .icon-box {
    transform: rotateY(360deg);
}

/* Swiper Pagination */
.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    /* Stronger initial shadow */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    /* Even stronger on hover */
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(175, 116, 69, 0.25);
    /* Adjusted for new color */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
}

/* Footer Improvements */
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.social-icon:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-section {
    background: linear-gradient(135deg, #2b1d16 0%, #1a120b 100%);
    color: #ffffff;
    border-top: 5px solid var(--primary-color);
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(175, 116, 69, 0.5) !important;
}