/*==============================================================================
   ELEMENTS STYLES AND VARIABLES
==============================================================================*/

/*------------------------------------*\
  #Variables
\*------------------------------------*/
:root {
    --primary-red: #b50000;
    --secondary-grey: #333;
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f8f8f8;
    --background-dark: #222;
    --accent-orange: #ff743c;
    --footer-bg: #333;
    --font-montserrat: 'Montserrat', sans-serif;
    --font-rubik: 'Rubik', sans-serif;
}

/*------------------------------------*\
  #Reset & Base Styles
\*------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/*------------------------------------*\
  #Global Layout (Container & Grid)
\*------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/*------------------------------------*\
  #Header (header.html)
\*------------------------------------*/
.main-header {
    background-color: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 75px;
}

.main-nav ul {
    display: flex;
    gap: 10px;
}

.main-nav li {
    list-style: none;
}

.main-nav li a {
    padding: 10px 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: 0.3s;
}

.main-nav li a:hover {
    color: var(--accent-orange);
}

.btn-quote {
    background-color: var(--primary-red);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-quote:hover {
    background-color: #cc0000;
    color: var(--accent-orange) !important;
}

.hamburger-menu {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Responsivo */
@media (max-width: 1024px) {
    .main-header {
    padding: 15px 20px;
    }

    .main-nav {
    display: none; /* Esconde o menu por padrão em telas pequenas */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding-bottom: 10px;
    }

    .main-nav ul {
    flex-direction: column;
    width: 100%;
    }

    .main-nav li a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: block;
    text-align: center;
    }

    .main-nav li:last-child a {
    border-bottom: none;
    }

    .main-nav.show {
    display: flex; /* Mostra o menu quando a classe 'show' é adicionada */
    }

    .hamburger-menu {
    display: block; /* Mostra o ícone do hambúrguer em telas pequenas */
    }

    .btn-quote {
    padding: 10px 20px;
    border-radius: 0px;
    }
}

/*------------------------------------*\
  #Footer (footer.html)
\*------------------------------------*/
.main-footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-col p,
.footer-col ul li {
    font-size: 15px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

.footer-logo img {
    max-height: 75px;
    margin-bottom: 20px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: var(--text-light);
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #cc0000;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
    .footer-col {
    flex: 1 1 30%;
    min-width: 200px;
    }

    .footer-content {
    gap: 20px;
    }
}

/* Apenas Mobile (<=767px) */
@media (max-width: 767px) {
    .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    }

    .footer-col {
    min-width: 100%;
    }

    .footer-col .social-icons {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    }

    .footer-bottom {
    padding: 20px 10px;
    font-size: 13px;
    }
}