/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FFD700;
    --secondary-gold: #D4AF37;
    --dark-bg: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --gradient-gold: linear-gradient(135deg, #FFD700, #D4AF37);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-gold);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 60vh; /* Altura reduzida em 40% (100vh - 40% de 100vh = 60vh) */
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Remove padding superior para ocupar toda a tela */
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: none; /* Remove a largura máxima do container */
    padding: 0; /* Remove o padding do container para ocupar toda a largura */
}

.hero img {
    width: 100%; /* Ocupa 100% da largura */
    height: 100%; /* Ocupa 100% da altura da seção hero */
    object-fit: cover; /* Garante que a imagem cubra toda a área sem distorção */
    border-radius: 0; /* Remove border-radius para não ter espaços nas laterais */
    box-shadow: none; /* Remove a sombra */
    transition: none; /* Remove a transição de hover */
}

.hero img:hover {
    transform: none; /* Remove o efeito de hover */
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* Sections */
section {
    padding: 6rem 0;
}

.about-us {
    background: var(--secondary-dark);
}

.about-us h2,
.products h2,
.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-us p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section - Layout Otimizado */
.products {
    background: var(--dark-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--secondary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-white);
    line-height: 1.3;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-top: auto;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Contact Section */
.contact {
    background: var(--secondary-dark);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 15px 25px;
}

.contact-btn i {
    margin-right: 10px;
}

.contact-btn.btn-whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn.btn-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-btn:not(.btn-whatsapp) {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.contact-btn:not(.btn-whatsapp):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

@media (max-width: 480px) {
    .contact-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
}

footer p {
    color: var(--text-light);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-dark);
        padding: 2rem 0;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .product-card {
        padding: 1.2rem;
    }

    .product-card img {
        height: 150px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* Animações */
.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Scroll suave para elementos */
section {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll effect */
header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}



/* Search Bar */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 10px;
}

.search-bar input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    background-color: var(--secondary-dark);
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.search-bar button {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
    }

    .search-bar input {
        max-width: 100%;
    }
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-dark);
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dropdown-menu a:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateX(5px);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.category-btn {
    background: var(--secondary-dark);
    color: var(--text-light);
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.category-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

/* Mobile Responsive for Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
    }
    
    .dropdown-menu a {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}



.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700; /* Cor dourada para combinar com o tema do site */
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


