/* CSS Boxe - Design Único com Navegação Lateral */

:root {
    --primary-yellow: #FFD700;
    --dark-black: #000000;
    --pure-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    display: flex;
}


 

/* ===== SIDEBAR ===== */
.sidebar {
    width: 250px;
    background: var(--dark-black);
    color: var(--pure-white);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar-brand {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.sidebar-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-yellow);
}

.sidebar-brand h2 {
    font-size: 1.8em;
    color: var(--primary-yellow);
    letter-spacing: 3px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: block;
    padding: 15px 30px;
    color: var(--pure-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--primary-yellow);
    color: var(--primary-yellow);
    padding-left: 40px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container principal que envolve todas as seções */
.main-content > section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

/* NOVO: Container Flexível para as 3 seções lado a lado */
.three-column-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.three-column-container > section {
    flex: 1 1 33.33%; /* Cada seção ocupa 1/3 da largura */
    padding: 20px; /* Espaçamento entre as colunas */
}

/* Ajuste para as seções dentro do container de 3 colunas */
.three-column-container .partners,
.three-column-container .content-section,
.three-column-container .gallery-section {
    margin: 0; /* Remove margem para evitar espaçamento indesejado */
    padding: 0; /* Remove padding para ser controlado pelo .three-column-container > section */
}

/* Ajuste para o container interno da seção partners */
.three-column-container .partners .container {
    max-width: 100%;
    padding: 0;
}

/* Centraliza títulos */
section h2, section h3 {
    text-align: center;
}

/* Ajuste de espaçamento geral */
section {
    padding: 60px 20px;
}

/* ===== RESPONSIVIDADE MELHORADA ===== */
@media (max-width: 1024px) {
    .main-content {
        margin-left: 0;
        width: 100%;
    }

    /* Força o layout de 3 colunas a se tornar vertical */
    .three-column-container {
        flex-direction: column;
    }

    .three-column-container > section {
        flex: 1 1 100%; /* Ocupa a largura total */
        padding: 20px 0; /* Espaçamento vertical */
    }

    .partners-grid,
    .content-grid,
    .gallery-grid,
    .schedule-grid,
    .contact-info {
        grid-template-columns: 1fr;
        display: grid;
        gap: 25px;
        justify-items: center;
    }

    .partner-card,
    .content-item,
    .gallery-item,
    .schedule-item,
    .contact-item {
        width: 100%;
        max-width: 400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== MOBILE (até 600px) ===== */
@media (max-width: 600px) {
    section {
        padding: 40px 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper h2,
    .schedule-section h2,
    .contact-section h2 {
        font-size: 1.8em;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-section {
        height: 50vh;
    }
}


/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  height: 80vh; /* altura reduzida */
  background: url("../img/boxe-principal.jpeg") center center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55); /* leve escurecimento pra contraste */
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 20px;
 
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #ffce00;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #fff;
  margin-top: 10px;
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 1024px) {
  .hero-section {
    height: 60vh;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
   
}

@media (max-width: 480px) {
  .hero-section {
    height: 45vh;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
}

/* ===== INFO CARDS ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 80px 50px;
    background: var(--light-gray);
}

.card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 5px solid var(--primary-yellow);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.card i {
    font-size: 3em;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark-black);
}

.card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/*====== colabora ====*/
.partners {
    padding: 80px 20px;
    background: var(--light-gray);
}

.partners-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 60px;
    font-style: italic;
}

.partners-section {
    margin-bottom: 80px;
    text-align: center; /* Centraliza o conteúdo dentro da seção */
}

.partners-section h3 {
    font-size: 28px;
    color: var(--dark-black);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-yellow);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center; /* Centraliza o grid */
}

.partner-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin: 0 auto; /* Garante que o card fique centralizado se não preencher o grid */
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FFC700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: var(--dark-black);
}

.partner-card h4 {
    font-size: 20px;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.partner-card p {
    color: var(--dark-gray);
    font-size: 14px;
}

.logo-gas {
    width: 110px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* ===== GALeria SECTION ===== */
.gallery-section {
    padding: 80px 0;
}

.gallery-section h2 {
    color: var(--dark-black);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 50px 0;
    }

    .gallery-section h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== CONTENT SECTION ===== */
.content-section {
    padding: 80px 50px;
    background: var(--pure-white);
}

.content-wrapper h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-black);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.content-item {
    position: relative;
    padding-left: 80px;
}

.number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3em;
    font-weight: 900;
    color: var(--primary-yellow);
    opacity: 0.3;
}

.content-item h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark-black);
}

.content-item p {
    color: var(--dark-gray);
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section {
    padding: 80px 50px;
    background: var(--light-gray);
}

.schedule-section h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-black);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.schedule-item {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-yellow);
}

.schedule-item h4 {
    font-size: 1.5em;
    color: var(--dark-black);
    margin-bottom: 15px;
}

.schedule-item p {
    margin-bottom: 8px;
    color: var(--dark-gray);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 50px;
    background: var(--pure-white);
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--dark-black);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 2.5em;
    color: var(--primary-yellow);
}

.contact-item p {
    font-size: 1.1em;
    color: var(--dark-gray);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-black);
    color: var(--pure-white);
    padding: 30px 50px;
    text-align: center;
    border-top: 3px solid var(--primary-yellow);
}

.footer p {
    margin: 5px 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px 0;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sidebar-menu li {
        margin: 0;
    }

    .sidebar-menu a {
        padding: 10px 20px;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .sidebar-menu a:hover,
    .sidebar-menu a.active {
        border-left: none;
        border-bottom-color: var(--primary-yellow);
        padding-left: 20px;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .hero-section {
        padding: 100px 20px;
    }

    .hero-title {
        font-size: 3em;
    }

    .info-cards,
    .content-section,
    .schedule-section,
    .contact-section,
    .footer {
        padding: 50px 20px;
    }

    .contact-info {
        gap: 30px;
    }
}

/* NOVO: Estilo para o container que agrupa as 3 seções lado a lado */
.three-column-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.three-column-container > section {
    flex: 1 1 33.33%; /* Cada seção ocupa 1/3 da largura */
    padding: 20px; /* Espaçamento entre as colunas */
}

/* Ajuste para as seções dentro do container de 3 colunas */
.three-column-container .partners,
.three-column-container .content-section,
.three-column-container .gallery-section {
    margin: 0; /* Remove margem para evitar espaçamento indesejado */
    padding: 0; /* Remove padding para ser controlado pelo .three-column-container > section */
}

/* Ajuste para o container interno da seção partners */
.three-column-container .partners .container {
    max-width: 100%;
    padding: 0;
}

/* Responsividade para o container de 3 colunas */
@media (max-width: 1024px) {
    .three-column-container {
        flex-direction: column;
    }

    .three-column-container > section {
        flex: 1 1 100%; /* Ocupa a largura total */
        padding: 20px 0; /* Espaçamento vertical */
    }
}