.logo-text-full {
  display: inline;
}

.logo-text-short {
  display: none;
}

@media (max-width: 768px) {
  .logo-text-full {
    display: none;
  }

  .logo-text-short {
    display: inline;
  }
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0; 
  font-family: 'Montserrat', sans-serif; 
  background-color: #f4f4f4; 
  color: #333; 
}

/* Header styles */
:root { --header-h: 66px; }
/* Reserve space for the header so content doesn't sit under the fixed header */
body { padding-top: var(--header-h); }

.header { 
  background-color: #034001; 
  color: white; 
  padding: 8px 20px; 
  position: fixed; /* keep header always visible */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;           /* place logo mark and text side-by-side */
  align-items: center;
  gap: 10px;                      /* space between icon and text */
  color: inherit;                 /* if .logo is a link, inherit header color */
  text-decoration: none;          /* remove underline on <a> */
  font-size: 1.8em; 
  font-weight: bold; 
  line-height: 1;
}
.logo .logo-text {
  font-size: 1.8em;               /* keep your existing sizing */
  font-weight: bold;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1;
}
.logo .logo-mark {
  height: 40px;
  width: 40px;
  display: block;                 /* avoid baseline whitespace */
}

.nav a { 
  color: white; 
  margin-left: 20px; 
  text-decoration: none; 
  font-family: 'Aileron', sans-serif;
  font-weight: 400; 
}

.nav .logout-btn {
  background: #591C1C;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s;
  margin-left: 20px;
  font-family: 'Aileron', sans-serif;
}

.nav .logout-btn:hover {
  background: #451414;
}

/* Make nav wrap on small screens gracefully */
@media (max-width: 640px) {
  .header { flex-wrap: wrap; gap: 12px; }
  .logo .logo-text { font-size: 1.45em; }
  .nav a { margin-left: 12px; }
  .nav .logout-btn { margin-left: 12px; }
}





.banner {
  position: relative;
  /* progressive enhancement: fallbacks then modern viewport units */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  overflow: hidden; /* prevent scrollbars caused by the image */
}

.banner-img {
  position: absolute;
  inset: 0;            /* shorthand for top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fill the area, keep proportions */
  opacity: 1;
  transition: opacity 700ms ease;
}

.banner-img.is-fading {
  opacity: 0.15;
}

.banner-text { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: white; 
  background-color: rgba(3, 64, 1, 0.7); 
  padding: 30px; 
  border-radius: 10px; 
  text-align: center;
}
.banner-text h1 { 
  font-size: 2em; 
  margin-bottom: 40px; 
  margin: 1;              /* remove default margins */
  line-height: 1.2
}
.btn { 
  background-color: #591C1C; 
  color: white; 
  padding: 10px 20px; 
  text-decoration: none; 
  font-weight: bold; 
  border-radius: 5px; 
}

#contact-btn {
  background-color: white;
  color: #034001;
  cursor: pointer;
}

.banner-text a {
  color: white !important;
  font-weight: bold;
  text-decoration: none;
}

.banner-text #contact-btn {
  color: #034001 !important;
}

.discover-link {
  color: white !important;
  font-weight: bold !important;
  text-decoration: none !important;
}

@media (max-width: 640px) {
  .banner-text {
    width: 70vw;
    box-sizing: border-box;
    padding: 16px 12px;
  }

  .banner-text h1 {
    font-size: 1.55em;
    margin: 0 0 16px 0;
    width: 100%;
  }

  .banner-text #contact-btn {
    display: inline-block;
    font-size: 0.9rem;
    padding: 8px 14px;
    max-width: 100%;
    white-space: normal;
  }
}


.sticky-buttons {
  position: sticky;
  /* use runtime CSS var set by JS; fallback to 100px */
  top: var(--sticky-top, 60px);
  z-index: 900;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #E6ECE6;
  padding: 18px 0 18px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* When JS toggles .fixed we switch to position:fixed so it's always visible
   and not affected by ancestor overflow. We use the same background/padding. */
.sticky-buttons.fixed {
  position: fixed !important;
  top: var(--sticky-top, 56px) !important;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  padding: 12px 0; /* slightly more compact when fixed */
  background: #E6ECE6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Small screens: show the four sticky buttons as a 2x2 grid for better
   use on mobile — touch-friendly, evenly sized buttons that wrap into
   two rows of two. Matches .sticky-buttons.fixed when fixed. */
@media (max-width: 640px) {
  .sticky-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 12px;
    justify-items: stretch;
    align-items: stretch;
  }

  .sticky-buttons a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 0.95em;
  }

  /* Ensure the fixed variant uses the same grid layout and fits under the header */
  .sticky-buttons.fixed {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    left: 10px !important;
    right: 10px !important;
  }

  .expand-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  #upcoming-grid {
    grid-template-columns: 1fr !important;
  }
}

.sobre-nos { 
  padding: 40px; 
  background-color: white; 
}
.sobre-nos .container {
  display: flex; 
  justify-content: space-between; 
}
.sobre-nos .text { 
  flex: 1; 
  margin-right: 20px; 
}
.sobre-nos .images { 
  flex: 1; 
  display: flex; 
  gap: 10px; 
}
.sobre-nos img { 
  width: 100%; 
  border-radius: 5px; 
}
/* ...existing code... */

.sobre-nos .right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 20px;
}
.sobre-nos .btn { 
  background-color: #034001; 
}
.sobre-nos .info-box {
  background-color: #034001;
}
.info-boxes {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.info-box {
  background-color: #591C1C;
  color: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.info-box strong {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 8px;
}
.small-text {
  margin-top: 8px;
  font-size: 0.98em;
  color: #333;
}
/* Responsive adjustment for boxes */
@media (max-width: 800px) {
  .sobre-nos .container { flex-direction: column; }
  .sobre-nos .right-side { margin-left: 0; margin-top: 24px; }
  .info-boxes { flex-direction: column; gap: 12px; }
}






.atuacoes { 
  padding: 40px; 
  background-color: #E6ECE6; 
  text-align: center; 
}
.evento { 
  font-size: 1.2em; 
  margin-bottom: 20px; 
}
.galeria-mini { 
  display: flex; 
  justify-content: center; 
  gap: 10px; 
}
.galeria-mini img { 
  border-radius: 5px; 
}






/* header/footer-specific styles were moved into header.html and footer.html */



/* === Added: logo before the ForTuna title === */















/* ...existing code... */

/* Atuacoes Section Split */
.atuacoes-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 32px;
  font-weight: bold;
  letter-spacing: 1px;
}
.atuacoes-split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-direction: column;
}
.atuacoes-left {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}
.evento-box {
  display: flex;
  align-items: center;
  padding: 16px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #591C1C;
  color: #fff;
  min-height: 80px;
  flex: 1;
}
.evento-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 22px;
}
.evento-day {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1;
}
.evento-month {
  font-size: 1.3em;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 1px;
}
.evento-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.evento-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 4px;
}
.evento-desc {
  font-size: 1em;
}

/* Right Side: Image Boxes */
.atuacoes-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}
.atuacao-img-box {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  background: #eee;
  display: flex;
  align-items: flex-end;
}
.atuacao-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atuacao-img-info {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 10px 18px 8px 14px;
  border-radius: 10px;
  font-size: 1em;
  min-width: 120px;
}
.img-event-name {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 2px;
}
.img-event-date {
  font-size: 0.98em;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .atuacoes-right {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
  }
  #upcoming-grid {
    grid-template-columns: 1fr;
  }
  #upcoming-grid .evento-box {
    padding: 10px;
  }
  .evento-date {
    flex: 0 0 64px;
  }
}

















/* ...existing code... */

.vem-experimentar {
  background-color: #E6ECE6;
  padding: 40px;
}
.vem-split {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.vem-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
  max-width: 340px;
}
.vem-left h2 {
  font-size: 2em;
  margin-bottom: 10px;
}
.vem-left p {
  font-size: 1.1em;
  margin-bottom: 8px;
}
.vem-right {
  flex: 1;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  min-width: 180px;
  max-width: 220px;
}

/* Extra slim styling for statistics boxes only */
.stats-box {
  min-width: 140px !important;
  max-width: 160px !important;
  padding: 18px 16px !important;
}
.vem-right h3 {
  font-size: 1.3em;
  margin-bottom: 18px;
  text-align: left;
}
.faq-item {
  margin-bottom: 16px;
}
.faq-item strong {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.faq-item div {
  font-size: 1em;
  color: #333;
}

/* Responsive - Statistics section specific */
@media (max-width: 900px) {
  .vem-split .stats-box {
    flex: 0 1 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    min-width: 140px !important;
  }
}

/* Override column layout for statistics section */
@media (max-width: 768px) {
  .stats-grid {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }
}

/* Extra slim for phone screens - Statistics section */
@media (max-width: 640px) {
  .vem-split .stats-box {
    min-width: 120px !important;
    max-width: 140px !important;
    padding: 15px 12px !important;
  }
}

/* Footer styles */
.footer {
  background-color: #034001;
  color: #fff;
  padding: 32px 20px;
  font-size: 0.95rem;
}

.footer a { color: inherit; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Row 1: three columns */
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.logo-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.logo-row img {
  height: 50px;
  width: auto;
  /* By default make logos white to contrast on dark footer
     but allow opt-out by adding the `no-invert` class to an <img>. */
  filter: brightness(0) invert(1);
}

/* Exempt specific images (like `unl.png`) from being inverted. */
.logo-row img.no-invert {
  filter: none !important;
}

/* Divider */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 16px 0 20px;
}

/* Row 2: two columns */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social i {
  font-size: 22px;
  color: currentColor;
  opacity: 0.9;
  transition: transform .15s ease, opacity .15s ease;
}
.footer-social a:hover i {
  transform: translateY(-2px);
  opacity: 1;
}

/* Responsive */
@media (max-width: 800px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .logo-row { 
    justify-content: center;
    flex-direction: row;
    gap: 20px;
  }
}

.vem-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.vem-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

@media (max-width: 768px) {
  .vem-split {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile responsive for music page album section */
@media (max-width: 768px) {
  .container[style*="display: flex"] {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* Center the Spotify iframe container on mobile */
  .container[style*="display: flex"] > div:last-child {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .container[style*="display: flex"] > div:last-child > div {
    width: 100%;
    max-width: 400px;
  }
}

/* FORTUNA section responsive */
@media (max-width: 768px) {
  .FORTUNA div[style*="display: flex"] {
    flex-direction: column;
    gap: 20px;
  }
  
  .FORTUNA img {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .FORTUNA div[style*="flex: 1"] {
    text-align: center;
  }
  
  .FORTUNA div[style*="display: flex; gap: 15px"] {
    justify-content: center;
    flex-wrap: wrap;
  }
}
