:root {
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d45;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}

/* Navbar styling */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: var(--accent-gold);
}

.navbar-nav .nav-link {
    color: #e2e8f0;
    font-weight: 400;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

.navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
}

/* Hero section */
.hero {
    position: relative;
    height: 90vh;
    color: #fff;
}

.hero img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

.hero .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    left: 10%;
    right: 10%;
}

.hero .carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero .carousel-caption p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

.hero .carousel-caption .btn-hero {
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero .carousel-caption {
        bottom: 40%;
        left: 5%;
        right: 5%;
    }

    .hero .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .hero .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* Stats */
.stats {
    padding: 5rem 0;
    background: #fff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Categories - Full Width Slider */
.categories-section {
    padding: 0;
    background: var(--primary-dark);
}

.category-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 auto;
    width: 20%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: brightness(0.7);
}

.category-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.category-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-content .explore-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-gold);
    font-weight: 500;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.category-item:hover .category-content .explore-link {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .category-item {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .category-item {
        width: 85vw;
        height: 60vh;
    }

    .category-content .explore-link {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products */
.products {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card {
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
}

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

.product-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-card .old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
}

/* Features */
.features {
    padding: 5rem 0;
    background: #fff;
}

.feature-item {
    padding: 2rem;
    border-radius: 1rem;
    transition: background 0.3s;
}

.feature-item:hover {
    background: var(--light-bg);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature-item h6 {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

footer h5,
footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer p {
    line-height: 1.8;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-gold);
}

.download-btn {
    background: var(--accent-gold);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
    border: none;
}

.download-btn:hover {
    background: var(--accent-gold-hover);
    color: #fff;
}

.social-icons a {
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
}

/* FAQ Section */
.faq-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 5rem 0;
}

.faq-section .accordion-button {
    background: var(--secondary-dark);
    color: #fff;
    border: none;
    box-shadow: none;
    font-weight: 500;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 700;
}

.faq-section .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.faq-section .accordion-body {
    background: var(--secondary-dark);
    color: #cbd5e1;
}

/* Testimonials */
.testimonials {
    background: #f8fafc;
    padding: 6rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
}

.testimonial-card .fa-star {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.testimonial-card strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    position: relative;
    color: #fff;
    background-image: url('../assets/Logo Mavis - Gold 2.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
}

.cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 0;
}

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

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

/* Page Header */
.page-header {
    background: var(--primary-dark);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Shop Sidebar */
.category-sidebar .list-group-item {
    border: none;
    cursor: pointer;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    transition: all 0.2s;
    background: transparent;
}

.category-sidebar .list-group-item:hover {
    color: var(--accent-gold);
    background: var(--light-bg);
    padding-left: 1.25rem;
}

.category-sidebar .list-group-item.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-dark);
    border: none;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-gold);
    color: #fff;
}

.pagination .page-link:hover {
    background-color: var(--light-bg);
    color: var(--accent-gold);
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 300px;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact */
.contact-section {
    padding: 4rem 0;
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.btn-submit {
    background-color: var(--accent-gold);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

/* Product Detail */
.product-detail-section {
    padding: 4rem 0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.btn-whatsapp-pill {
    background-color: #25D366;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-whatsapp-pill:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-2px);
}

.btn-share {
    border: 2px solid var(--secondary-dark);
    color: var(--secondary-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-share:hover {
    background-color: var(--secondary-dark);
    color: #fff;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.main-product-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.main-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Navbar Search */
.custom-search-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    color: white;
    padding-left: 0;
}

.custom-search-input:focus {
    background-color: transparent;
    border-bottom-color: var(--accent-gold);
    box-shadow: none;
    color: white;
}

.custom-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-search-btn {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 0;
}

.custom-search-btn:hover {
    color: var(--accent-gold) !important;
    border-bottom-color: var(--accent-gold);
}

@media (min-width: 992px) {
    .custom-navbar-collapse {
        position: relative;
    }

    .custom-search-form {
        position: absolute;
        right: 0;
    }
}