/* =========================================================
   Base Styles
========================================================= */
body {
    font-family: 'Poppins', sans-serif;
    color: #555;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* =========================================================
   Topbar
========================================================= */
.bg-light {
    background-color: #f8f9fa !important;
}

.topbar {
    font-size: 14px;
    letter-spacing: 1px;
}

.topbar a {
    color: #007bff;
    transition: 0.3s;
}

.topbar a:hover {
    color: #0056b3;
}

/* =========================================================
   Navbar
========================================================= */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .nav-item .nav-link {
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link.active {
    color: #007bff;
}

.navbar-brand h1 {
    font-size: 28px;
}

.navbar-toggler {
    border: none;
}

/* =========================================================
   Carousel
========================================================= */
#header-carousel {
    max-width: 1600px;   /* largura máxima do banner */
    height: 846px;       /* altura fixa no desktop */
    margin: 0 auto;      /* centraliza horizontalmente */
}

.carousel-item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* cobre a área mantendo proporção */
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    max-width: 900px;
}

.carousel-caption h6 {
    font-size: 16px;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 10px;
}

.carousel-caption h3 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

/* Responsivo */
@media (max-width: 1200px) {
    #header-carousel {
        width: 100%;
        height: 60vh; /* altura proporcional em tablets */
    }
}

@media (max-width: 992px) {
    #header-carousel {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    #header-carousel {
        height: 35vh;
    }
}

/* =========================================================
   Buttons
========================================================= */
.btn-primary {
    background-color: #007bff;
    border: none;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* =========================================================
   Footer
========================================================= */
.footer {
    background-color: #f8f9fa;
    padding: 50px 0;
    font-size: 14px;
    color: #555;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    color: #0056b3;
}

/* =========================================================
   Utils
========================================================= */
.text-primary {
    color: #007bff !important;
}

.text-white {
    color: #fff !important;
}
