/* 
This website was developed for team at SSA:RP 2024-2026
Developer: nocaffe
Designer: nocaffe
Version: 1.0.0
all rights reserved to nocaffe and SSA:RP
*/

:root {
    --cor-back: #100B07;
    --cor-sec: #22160D;
    --text: #fff;
    --principal: #D4B57A;
    --backimg: url('assets/image/back.png');
}

body {
    background-color: var(--cor-back);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.logossa{
    width: 120px;
    height: auto;
}

.centerlize{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 6rem;
}

nav {
    position: fixed; 
    top: 0;          
    left: 0;         
    width: 100%;     
    z-index: 1000;
}

.nave{
    background-color: var(--cor-sec);
    padding: 1rem;
}

.txtan a {
    font-weight: 600;
    font-size: large;
    text-decoration: none;
    color: var(--text);
    &:hover {
        color: var(--principal);
    }
}

.txtan {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.txim{
    text-align: center;
}

.ptxssarp {
    font-size: medium;
    font-weight: 600;
    display: flex;
    text-align: center;
    justify-content: center;
}

.mosai {
    width: 548px;
}

.lgss{
    align-items: center;
    width: 400px;
    height: auto;
}

.firstsec{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8rem;
    margin-top: 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0), #100B07), url('/assets/image/back.png') center/cover no-repeat;
    height: 100dvh;
}

.secondsec{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 18rem;
    margin-top: 4rem;
    height: 100dvh;
}

.abt {
    text-align: justify;
}

.cr, .how, .abot, .what, .stitle, .lnk, .co{
    color: var(--principal);
    text-decoration: none;
}

.cr{
    font-weight: 650;
}

.co{
    text-decoration: underline;
}

.imagem-protegida {
  -webkit-user-select: none; 
  -ms-user-select: none;
  user-select: none;       
  -webkit-user-drag: none;    
  pointer-events: none;
}

.wat, .what, .TT, .tt{
    font-weight: 700;
    text-align: center;
}

.tercse{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
    height: 100dvh;
}

.quartsec{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
    height: 100dvh;
}

.hwdow{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.pttj {
    font-size: large;
    font-weight: 400;
    display: flex;
    text-align: center;
    justify-content: center;
}

.stext{
    text-align: justify;
}

.sextsec{
    margin-left: -50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
    height: 90dvh;
}

.txcom{
    margin-top: 20dvh;
}

.socialmidia{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    transition: fill 0.3s ease;
}

.iconsso{
    margin-left: 25%;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}

.ss{
    fill: white;

    &:hover{
        fill: var(--principal);
        color: var(--principal);
    }
}

.btndc{
    margin-top: 3rem;
}

.btnjoin{
    background-color: var(--principal);
    color: var(--cor-back);
    text-decoration: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;

    &:hover{
        background-color: var(--cor-back);
        color: var(--principal);
        border: 2px solid var(--principal);
    }
}

.imtxfcop{
    margin-left: 3%;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.copy{
    font-weight: bold;
}

.logofot{
    width: 150px;
    height: auto;
    margin-top: 4rem;
}

.line{
    margin-top: 80px;
    border-bottom: 2px solid var(--principal);
}

.txff{
    margin-top: 5rem;
    font-size: small;
}

.secb{
    display: flex;
    flex-direction: row;
    gap: 15%;
}

.ftlinks{
    margin-left: 1%;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1.5rem;
}

.flink{
    color: #979797;
    gap: 30px;
    text-decoration: none;

    &:hover{
        text-decoration: underline;
    }
}

.dev{
    color: #979797;
}

.fotes{
    background-color: var(--cor-sec);
    height: 420px;
    margin-top: 4rem;
}






.containersecimg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header Styles */
.headerimg {
  text-align: center;
  margin-bottom: 40px;
}

.header-subtitle {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--principal);
  margin-bottom: 8px;
}

.header-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.header-title .highlight {
  color: #d4a53c;
}

.header-description {
  font-size: 14px;
  color: #888888;
}

/* Gallery Grid */
.gallerysec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.822) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .overlay {
  opacity: 1;
  border: 2px solid var(--principal);
}

/* Gallery Item Sizes */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: #d4a53c;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .header-title {
    font-size: 28px;
  }

  .lightbox-nav {
    padding: 12px 16px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item.tall,
  .gallery-item.large {
    grid-row: span 1;
  }

  .header-title {
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}



/* Tablets (Até 1024px) */
@media (max-width: 1024px) {
    .centerlize { gap: 2rem; }
    .firstsec, .secondsec { gap: 3rem; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: auto; padding: 5rem 1rem; }
    .lgss { width: 300px; }
    .mosai { width: 90%; }
    .secb { gap: 5%; }
    .iconsso { margin-left: 0; justify-content: center; width: 100%;}
    .fotes { height: auto; width: 100%; }
}

/* Celulares Grandes e Médios (Até 768px) */
@media (max-width: 768px) {
    .txtan { display: none; } /* Recomenda-se criar um menu hamburguer aqui */
    .secondsec { height: auto; }
    .yt { width: 100%; height: 100%; }
    .tercse, .quartsec { height: auto; padding: 3rem 1rem; }
    .sextsec { margin-left: 0; height: auto; padding: 2rem; }
    .iconsso { margin-left: 0; justify-content: center; width: 100%;}
    .secb { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
    .ftlinks { flex-wrap: wrap; justify-content: center; }
    .fotes { height: auto; width: 100%; }
}

/* Celulares Pequenos (Até 480px) */
@media (max-width: 480px) {
    .header-title { font-size: 1.8rem; }
    .btnjoin { padding: 0.8rem 1.5rem; width: 80%; display: inline-block; }
    .iconsso { margin-left: 0; justify-content: center; width: 100%;}
    .imtxfcop { flex-direction: column; text-align: center; margin-left: 0; }
    .logofot { margin-top: 2rem; }
}