/* Organetto Semi Expanded Regular */
@font-face {
    font-family: 'Organetto';
    src: url('../font/Organetto/organetto-semiexpregular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

/* Organetto Bold Semi Extended */
@font-face {
    font-family: 'Organetto';
    src: url('../font/Organetto/organetto-bold-semiext.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Organetto';
    font-weight: 700;
}

:root {
    --color-dark-red: #951e27;
    --color-red: #b11721;
    --color-white: #fff;
    --color-gray: #374145;
    --color-light-gray: #888f92;
    --color-lighter-gray: #eeeeee;
}

html,
body {
    height: 100%;
    /* overflow-x: clip; */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    flex: 0;
}

.detached-brand {
    background-color: var(--color-red);
    padding: 0px 12px !important;
    border-radius: 20px;
    color: var(--color-white);
    font-weight: 700;
    width: fit-content;
    text-align: center;
}

h1 {
    background-color: var(--color-red);
    padding: 4px 24px !important;
    border-radius: 20px;
    font-size: 3rem;
    text-align: center;
    font-weight: 700;
    color: var(--color-white);
    width: fit-content;
    margin: 30px auto 60px auto;
}

.container {
    max-width: 1520px;
}

.card-custom {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

/* header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-gray);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header transparente apenas na home page no topo */
body.home-page header.transparent {
    background-color: transparent;
    box-shadow: none;
}

header.transparent {
    padding: 20px 0;
}

header .navbar-brand {
    width: 200px;
    transition: width 0.3s ease;
}

header.transparent .navbar-brand {
    width: 260px;
}

header .nav-item {
    padding: 0 17px !important;
}

header .nav-link {
    padding: 0px;
    font-size: 1.25rem;
    color: var(--color-white);
    transition: all 0.3s ease;
    display: inline-block;
}

header.transparent .nav-link {
    font-size: 1.4rem;
}

header .nav-link:hover {
    color: var(--color-red);
    transform: translateY(-3px);
}

header .nav-link.active {
    position: relative;
}

header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-red);
    border-radius: 2px;
}

header .detached-brand {
    transition: all 0.3s ease;
}

header .detached-brand:hover {
    background-color: var(--color-white);
    color: var(--color-red) !important;
    transform: translateY(-3px) scale(1.05);
}

/* Header spacer for non-home pages */
.header-spacer {
    min-height: 102px;
}

/* footer */

footer {
    background-color: var(--color-gray);
    padding-top: 80px;
    position: relative;
}

hr#footer-separator {
    border: 0;
    height: 8px;
    background-color: var(--color-red);
    opacity: 1;
    width: 800px;
    margin: 0 auto;
    z-index: 2;
    border-radius: 20px;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

/* footer .container {
    max-width: 1520px;
} */

footer .copyright {
    margin-top: 40px;
    padding-bottom: 40px;
    padding-top: 20px;
    border-top: 5px solid var(--color-white);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif !important;
}

footer .copyright span {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.1rem;
}

footer .copyright span a {
    color: var(--color-white);
    text-decoration: none;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.3s ease;
}

footer .copyright span a:hover {
    color: var(--color-red);
    transform: scale(1.05);
    display: inline-block;
}

footer .footer-brand {
    width: 85%;
    display: block;
}

footer .footer-brand img {
    width: 100%;
}

footer .footer-menu {
    list-style: none;
    padding: 0;
}

footer .footer-menu li {
    margin-bottom: 6px;
}

footer .maps-frame {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 250px;
    border: 2px solid var(--color-white);
}

footer .footer-menu li a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
}

footer .footer-menu li:last-child a {
    background-color: var(--color-red);
    padding: 0px 16px;
    border-radius: 8px;
    font-weight: 700;
}

footer .footer-menu li a:hover {
    color: var(--color-red);
    transform: translateX(5px);
}

footer .footer-menu li:last-child a:hover {
    color: var(--color-white);
    background-color: var(--color-dark-red);
    transform: translateX(5px) scale(1.05);
}

footer .col-lg-4 {
    padding: 0 60px;
    display: flex;
    align-items: start;
    flex-direction: column;
}

footer .col-lg-4 span {
    padding: 8px;
    color: var(--color-white);
    font-size: 0.9rem;
    text-align: center;
}

footer .social-media-container {
    display: flex;
    gap: 15px;
}

footer .social-icon {
    width: 60px;
    height: 60px;
    font-size: 44px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background-color: var(--color-white);
    text-decoration: none;
    color: var(--color-gray);
    transition: all 0.3s ease;
}

footer .social-icon:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-5px) scale(1.1);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 10px 12px;
    background-color: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    font-size: 28px;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.navbar-toggler.active i {
    color: var(--color-red);
    transform: rotate(90deg);
}

/* Offcanvas Styles */
.offcanvas {
    z-index: 1060 !important;
    background-color: var(--color-gray);
    padding: 10px;
}

header.transparent .offcanvas .navbar-brand,
header .offcanvas .navbar-brand {
    width: 200px;
    margin-bottom: 30px;
}

.offcanvas-close-btn {
    background: transparent;
    border: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 0 auto auto;
}

.offcanvas-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.offcanvas-close-btn i {
    font-size: 28px;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.offcanvas-close-btn:hover i {
    color: var(--color-red);
    transform: rotate(90deg);
}

header.transparent .offcanvas .nav-link,
header .offcanvas .nav-link {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 14px;
}

header.transparent .offcanvas .nav-item,
header .offcanvas .nav-item {
    padding: 0 !important;
}

.offcanvas .detached-brand {
    border-radius: 6px;
}

.offcanvas-social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-social-media .social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.offcanvas-social-media .social-icon:hover {
    background-color: var(--color-red);
    transform: translateY(-3px);
}

.offcanvas-social-media .social-icon i {
    font-size: 1.2rem;
    color: var(--color-white);
}


/* Responsive Styles */
@media (max-width: 1399px) {
    footer .col-lg-4 {
        padding: 0 25px;
    }
}

@media (max-width: 1260px) {
    header.transparent .nav-item {
        padding: 0 9px !important;
    }
}

@media (max-width: 1199px) {
    header.transparent .nav-link {
        font-size: 1.2rem;
    }

    header.transparent .navbar-brand {
        width: 200px;
    }

    header.transparent .nav-item {
        padding: 0 3px !important;
    }

    header .nav-item {
        padding: 0 5px !important;
    }

    footer .col-lg-4 {
        padding: 0 10px;
        align-items: center;
    }
}

@media (max-width: 991px) {
    .card-custom {
        padding: 20px;
    }

    footer .footer-brand {
        width: 350px;
    }

    hr#footer-separator {
        width: 570px;
    }

    footer .maps-frame {
        width: 420px;
    }

    footer .footer-menu {
        text-align: center;
    }

    footer .social-media-container {
        margin: 40px 0 35px 0;
    }
}

@media (max-width: 575px) {
    hr#footer-separator {
        width: 370px;
    }
}

@media (max-width: 465px) {

    footer {
        padding-top: 40px;
    }

    footer .container {
        padding: 0px 20px;
    }

    footer .maps-frame {
        width: 100%;
    }

    footer .footer-brand {
        width: 270px;
    }

    footer .social-icon {
        width: 40px;
        height: 40px;
        font-size: 23px;
        border-radius: 9px;
    }
}

@media (max-width: 390px) {
    hr#footer-separator {
        width: 340px;
    }
}

@media (max-width: 350px) {
    hr#footer-separator {
        width: 300px;
    }
}