:root {
    --primary-color: #4a148c;
    --primary-hover-color: #38006b;
    --accent-color: #ffab00;
    --accent-hover-color: #ff8f00;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --light-text-color: #adb5bd;
    --white-color: #ffffff;
    --testimonial-bg: #ede7f6;
}

/* ================= GENERAL ================= */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover-color);
}

.section-padding {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ================= BUTTONS ================= */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--accent-hover-color);
    border-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ================= NAVBAR ================= */
.navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: #555;
    font-weight: 500;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    padding: 5px 0;
}

/* ================= HERO SECTION ================= */
/* #hero {
    background: url('img/logo\ pereira\ bh.png') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    text-align: center;
    padding: 140px 0;
    position: relative;
} */

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* ================= PRODUCTS ================= */
#products, #new-arrivals {
    background-color: var(--light-bg);
}

#categories {
    background-color: var(--white-color);
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 20, 140, 0.12);
}

.product-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-height: 250px;
    width: 100%;
}

.product-card .card-body {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ================= CATEGORY ================= */
.category-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.1);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h5 {
    font-weight: 600;
    color: var(--text-color);
}

.category-card a:hover h5 {
    color: var(--primary-hover-color);
}

/* ================= ABOUT ================= */
#about {
    background-color: var(--white-color);
}

#about img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ================= TESTIMONIALS ================= */
#testimonials {
    background-color: var(--testimonial-bg);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    background-color: var(--white-color);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    display: flex;
    align-items: center;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid #eee;
}

.testimonial-slide blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-slide .author {
    font-weight: 600;
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding-top: 60px;
    padding-bottom: 30px;
}

footer h5 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

footer ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
}

footer ul li a {
    color: var(--light-text-color);
    margin-bottom: 8px;
    display: inline-block;
}

footer ul li a:hover {
    color: var(--white-color);
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer .social-icons a {
    color: var(--light-text-color);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--accent-color);
}

footer .footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}

/* Centralizar apenas dentro do rodapé */
.centralizar-rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
