/*
Theme Name: Prêmios
Theme URI: https://premios.com.br
Author: Prêmios
Author URI: https://premios.com.br
Description: Tema personalizado para o site Prêmios
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premios
*/

:root {
    --primary-color: #252652;
    --secondary-color: #CA9A4D;
    --primary-light: #2f2f6a;
    --primary-dark: #1a1a3a;
    --secondary-light: #d4b06d;
    --secondary-dark: #b37d2e;
    --color-white: #ffffff;
    --color-black: #000000;
}

.background-primary {
    background-color: var(--primary-color);
}

.background-secondary {
    background-color: var(--secondary-color);
}

.background-primary-dark {
    background-color: var(--primary-dark);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-black);
    ;
    background-color: var(--color-white);
}

/* Hero Section */
.hero-home {
    background: url('assets/images/home/h-1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);

    .container {
        padding: 7rem 0;
    }

    h1 {
        color: var(--color-primary);
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .hero-home {
        background: url('assets/images/home/h-1.png') no-repeat center left/cover;
    }
}


.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 0;
    color: var(--color-white);
    background: url('assets/images/bg-hero.jpg') no-repeat bottom center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-color);
    opacity: 0.85;
}

.hero-section .container {
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .breadcrumbs-wrapper {
    display: inline-block;
}

.hero-section .breadcrumb {
    margin: 0;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
}

.hero-section .breadcrumb-item,
.hero-section .breadcrumb-item a {
    color: var(--color-white);
    text-decoration: none;
}

.hero-section .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.hero-section .breadcrumb-item+.breadcrumb-item::before {
    color: var(--color-white);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }

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

/* Sobre Section */
.sobre {
    margin-top: -30px;

    .photos {
        position: relative;
        margin-bottom: -180px;
    }
}

#text {
    margin-top: 180px;
}



/* Botões */
.btn {
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

.nav-link {
    color: white !important;
    margin: 0 10px;
    border-radius: 25px;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
}

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

/* Dropdown */
.dropdown-menu {
    border-radius: 15px;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    border-radius: 10px;
    margin: 5px 10px;
    width: calc(100% - 20px);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Cards */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Badges */
.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Text Colors */
.color-primary {
    color: var(--primary-dark) !important;
}

.color-secondary {
    color: var(--secondary-color) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Icons */
.bi {
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-date {
    position: absolute;
    left: -10px;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 38, 82, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 38, 82, 0.25);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Mapa Interativo */
#mapa-brasil {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#mapa-brasil svg {
    width: 100%;
    height: auto;
}

#mapa-brasil svg path {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 1px;
    transition: all 0.3s ease;
}

#mapa-brasil svg path:hover {
    cursor: pointer;
    fill: #c0c0c0;
}

#mapa-brasil .estado-com-vencedor {
    fill: var(--secondary-color);
}

#mapa-brasil .estado-com-vencedor:hover {
    fill: var(--secondary-light);
}

#mapa-brasil .estado-sem-vencedor {
    fill: #e0e0e0;
}

#mapa-brasil .estado-inativo {
    fill: #f5f5f5;
    opacity: 0.5;
}

.estado-tooltip {
    position: absolute;
    display: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    z-index: 1000;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.estado-tooltip .estado-nome {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.vencedor-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vencedor-item:hover {
    /* transform: translateY(-5px); */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

.estados-vencedores li {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.estados-vencedores li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Área de Imprensa */
.release-item,
.material-item {
    transition: all 0.3s ease;
}

.release-item:hover,
.material-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.foto-item {
    margin-bottom: 1.5rem;
}

.foto-item img {
    transition: all 0.3s ease;
}

.foto-item:hover img {
    transform: scale(1.05);
}

/* Galeria de Fotos */
.galeria-fotos {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.galeria-fotos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(37, 38, 82, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.galeria-fotos:hover::before {
    opacity: 1;
}

/* Vídeos */
.videos .ratio {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Área da Imprensa */
.area-imprensa .card {
    background-color: #fff;
}

.area-imprensa .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.area-imprensa img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.area-imprensa .btn-sm {
    padding: 5px 15px;
    font-size: 0.875rem;
}

.area-imprensa h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.area-imprensa p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Contato para Imprensa */
.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

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

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .area-imprensa .card {
        margin-bottom: 1.5rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-section img {
        margin-top: 2rem;
    }

    .estado-tooltip {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .foto-item {
        margin-bottom: 1rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Logos */
.logos .card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.logos .card-img-top {
    padding: 2rem;
    background-color: #f8f9fa;
}

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

.logos .card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.logos .btn-outline-primary {
    width: 100%;
    text-align: center;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        background: var(--secondary-color);
        width: 145% !important;
    }
}
@media (max-width: 992px) {
    .navbar-nav .dropdown-menu {
        position: static;
        background: var(--secondary-color);
        transition: all 0.3s ease;
    }
}

/* Estilo para o link ativo */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-item.current-menu-item>.nav-link {
    color: var(--secondary-color);
    font-weight: 700;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsividade do Header */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-dark);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.25rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
}


.galeria-thumb-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-thumb-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.galeria-thumb-square {
    width: 100%;
    padding-bottom: 100%;
    /* Proporção 1:1 (quadrado) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.galeria-thumb-square::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.galeria-thumb-wrapper:hover .galeria-thumb-square::after {
    background-color: rgba(0, 0, 0, 0.1);
}


.card-body {
    border-bottom: 4px solid var(--secondary-color) !important;
}

.carousel-indicators {
    margin: 0;
}

.carousel-indicators [data-bs-target] {
   
    background-color: var(--secondary-color);
   
}

.bg-timbrado {
    background: url('assets/images/bg-timbrado.png') no-repeat ;
}

a{
    color: var(--secondary-color);
}