:root {
    --bs-primary: #1F1F1F;
    --bs-primary-dark: #181818;
    --bs-secondary: #F9C950;
}

/* Tipografia */
h1, h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* Navegação */
.navbar, .navbar.scrolled, .navbar-light.bg-white, .navbar.bg-white {
    background-color: var(--bs-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--bs-secondary) !important;
}

.navbar-toggler {
    border-color: var(--bs-secondary);
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
}

.navbar-toggler-icon:after {
    content: '\2630'; /* Unicode hamburger */
    color: var(--bs-secondary);
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--bs-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-secondary);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
}

.navbar-brand:hover {
    color: var(--bs-secondary);
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background-color: var(--bs-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #fff !important;
}

.navbar.scrolled .nav-link.active,
.navbar.scrolled .nav-link:hover {
    color: var(--bs-secondary) !important;
}

.navbar-brand:after {
    display: none;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 30px;
}

body {
    padding-top: 110px;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 80px;
    }
}

/* Botões */
.btn-success,
.btn-primary {
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-weight: 600;
}

/* Botões de Filtro */
.filter-btn {
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 120px;
    border-width: 2px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

.filter-btn.active {
    background-color: var(--bs-primary);
    color: var(--bs-secondary);
    border-color: var(--bs-primary);
}

.filter-btn i {
    font-size: 1.1em;
    vertical-align: -2px;
}

/* Formulários de Busca */
#formBusca select:focus,
#formBusca input:focus,
#filtrosPrincipais select:focus,
#filtrosPrincipais input:focus {
    box-shadow: none;
    outline: none;
}

#formBusca .form-select,
#filtrosPrincipais .form-select {
    background-position: right 0.75rem center;
}

#formBusca .btn,
#filtrosPrincipais .btn {
    font-weight: 500;
}

#formBusca .btn:hover,
#filtrosPrincipais .btn:hover {
    transform: translateY(-1px);
    transition: all 0.2s;
}

/* Media Queries */
@media (min-width: 992px) {
    #formBusca .border-lg-end,
    #filtrosPrincipais .border-lg-end {
        border-right: 1px solid rgba(0, 0, 0, .1) !important;
    }

    #formBusca .border-lg-bottom-0,
    #filtrosPrincipais .border-lg-bottom-0 {
        border-bottom: 0 !important;
    }
}

@media (max-width: 991.98px) {
    #formBusca .rounded-pill,
    #filtrosPrincipais .rounded-pill {
        border-radius: 1rem !important;
    }

    .filter-btn {
        min-width: 100px;
        padding: 0.5rem 1rem;
    }
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-login {
    background: var(--bs-secondary) !important;
    color: var(--bs-primary) !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-item {
        padding: 0.5rem 0;
    }
    
    .nav-link:after {
        display: none;
    }
}

/* Footer */
.footer {
    background: linear-gradient(45deg, var(--bs-primary), #2c2c2c);
    color: #fff;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent
    );
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-social {
    margin: 1.5rem 0;
}

.footer-social a {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--bs-secondary);
}

.footer-info {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--bs-secondary);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-secondary);
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-dev {
    background: rgba(0, 0, 0, 0.74);
    padding: 0.5rem;
    margin-top: 0 !important;
    text-align: center;
}

.footer-dev p {
    color: #fff !important;
    font-weight: 500;
}

.footer-dev img {
    width: auto;
    height: 30px;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-links a {
        margin: 5px 0;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}