@font-face {
  font-family: 'ITC New Baskerville';
  src: url('fonts/ITC New Baskerville Roman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'ITC New Baskerville',serif;display:flex;flex-direction:column;min-height:100vh;background:#fdfdfd;color:#000}
#preloader{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#fff;z-index:2000}
#preloader img{max-width:400px;width:80%}
header{display:flex;justify-content:flex-start;align-items:center;padding:10px 20px;background:#fff}

header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
}

header img {
  height: 80px;
}


/* Responsivo (para ecrãs pequenos) */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .header-right p {
    white-space: normal;
  }
}


header img{height:80px}
.container{flex:1;display:flex;position:relative}
.sidebar{width:220px;padding:15px;display:flex;flex-direction:column;gap:10px}
.sidebar button{padding:12px;border-radius:25px;border:2px solid #800000;background:#fff;color:#800000;font-size:1rem;cursor:pointer;transition:.3s}
.sidebar button:hover{background:#800000;color:#fff}
.content {
  flex:1;
  background: url('images/Business.jpg') no-repeat center/contain;
  background-color:#fff; 
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:20px;
  position:relative;
}
header h1.site-title {
  color: #800000;          /* cor principal do site */
  font-size: 2.5rem;       /* tamanho maior */
  margin-left: 20px;       /* espaço entre o logo e o texto */
  font-weight: bold;
  letter-spacing: 2px;     /* letras mais espaçadas */
  text-transform: uppercase;
}
.content::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,0.05)}
#content-box{position:relative;z-index:2;background:rgba(255,255,255,.85);padding:20px;border-radius:12px;max-width:800px}
.social-links{position:fixed;right:20px;top:40%;display:flex;flex-direction:column;gap:10px}
.social-links svg{width:40px;height:40px}
footer{display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background:#800000;color:#fff;position:relative}
#toggle-theme{padding:6px 12px;border-radius:20px;border:2px solid #fff;background:#800000;color:#fff;cursor:pointer;transition:.3s}
#toggle-theme:hover{background:#fff;color:#800000}

body.dark{background:#6e1214;color:#d8a65d}
body.dark .sidebar button,
body.dark #toggle-theme,
body.dark form button,
body.dark .service-btn{background:#6e1214;color:#d8a65d;border:2px solid #d8a65d}
body.dark .sidebar button:hover,
body.dark #toggle-theme:hover,
body.dark form button:hover,
body.dark .service-btn:hover{background:#fff;color:#6e1214;border:2px solid #6e1214}
body.dark #content-box{background:rgba(110,18,20,0.95);color:#d8a65d}
body.dark footer{background:#6e1214;color:#d8a65d}

form{display:flex;flex-direction:column;gap:10px;margin-top:15px}
form input,form textarea{padding:10px;border-radius:20px;border:2px solid #800000;font-size:1rem;font-family:'ITC New Baskerville',serif}
form textarea{resize:vertical;min-height:100px}
form button{padding:12px;border-radius:25px;border:2px solid #800000;background:#fff;color:#800000;cursor:pointer;transition:.3s;font-family:'ITC New Baskerville',serif}
form button:hover{background:#800000;color:#fff}


.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.services-list .service-btn {
  padding: 12px;
  border-radius: 25px;
  border: 2px solid #800000;
  background: #fff;
  color: #800000;
  font-size: 1rem;
  cursor: pointer;
  transition: .3s;
}

.services-list .service-btn:hover {
  background: #800000;
  color: #fff;
}


body.dark .services-list .service-btn {
  background: #6e1214;
  color: #d8a65d;
  border: 2px solid #d8a65d;
}

body.dark .services-list .service-btn:hover {
  background: #fff;
  color: #6e1214;
  border: 2px solid #6e1214;
}




.galeria-item {
  margin-bottom: 20px;
}

.galeria-item h3 {
  margin-bottom: 8px;
}

.galeria-item .fotos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.galeria-item .fotos img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}


@media (max-width: 768px) {
  .galeria-item .fotos {
    grid-template-columns: 1fr;
  }
}

.noticias-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.noticia {
  border: 1px solid #800000;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}

.noticia h3 {
  margin-bottom: 10px;
  color: #800000;
}

.noticia img {
  margin-bottom: 10px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
}

body.dark .noticia {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}

body.dark .noticia h3 {
  color: #d8a65d;
}


.eventos-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.evento {
  border: 1px solid #800000;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}

.evento h3 {
  margin-bottom: 10px;
  color: #800000;
}

.evento img {
  margin-bottom: 10px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  cursor: pointer;
  transition: transform .3s;
}

.evento img:hover {
  transform: scale(1.05);
}

body.dark .evento {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}

body.dark .evento h3 {
  color: #d8a65d;
}



.galeria-item {
  border: 1px solid #800000;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
}

.galeria-item h3 {
  margin-bottom: 10px;
  color: #800000;
}

.galeria-item p {
  margin-bottom: 10px;
}

.galeria-item .fotos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.galeria-item .fotos img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform .3s;
}

.galeria-item .fotos img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .galeria-item .fotos {
    grid-template-columns: 1fr;
  }
}

body.dark .galeria-item {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}

body.dark .galeria-item h3 {
  color: #d8a65d;
}


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

main.container {
  flex: 1;
}


#service-description {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #800000;
  border-radius: 10px;
  background: #fff;
}

#service-description h3 {
  margin-bottom: 10px;
  color: #800000;
}

body.dark #service-description {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}

body.dark #service-description h3 {
  color: #d8a65d;
}


#galeria-description,
#noticia-description,
#evento-description {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #800000;
  border-radius: 10px;
  background: #fff;
}

body.dark #galeria-description,
body.dark #noticia-description,
body.dark #evento-description {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}


.ramo-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.ramo-list .ramo-btn {
  padding: 12px;
  border-radius: 25px;
  border: 2px solid #800000;
  background: #fff;
  color: #800000;
  font-size: 1rem;
  cursor: pointer;
  transition: .3s;
}

.ramo-list .ramo-btn:hover {
  background: #800000;
  color: #fff;
}

body.dark .ramo-list .ramo-btn {
  background: #6e1214;
  color: #d8a65d;
  border: 2px solid #d8a65d;
}

body.dark .ramo-list .ramo-btn:hover {
  background: #fff;
  color: #6e1214;
  border: 2px solid #6e1214;
}

#ramo-description {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #800000;
  border-radius: 10px;
  background: #fff;
}

#ramo-description h3 {
  margin-bottom: 10px;
  color: #800000;
}

body.dark #ramo-description {
  background: #6e1214;
  color: #d8a65d;
  border: 1px solid #d8a65d;
}

body.dark #ramo-description h3 {
  color: #d8a65d;
}




.galeria-item .fotos img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s;
}

.galeria-item .fotos img:hover {
  transform: scale(1.05);
}


.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

#closeModal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.galeria-item .fotos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.galeria-item .fotos img {
  width: 100%;
  height: 200px;      
  object-fit: cover;  /* corta mantendo proporção */
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s;
}

.galeria-item .fotos img:hover {
  transform: scale(1.05);
}

/* 🔹 Imagens dos Projetos – Tamanho DUPLICADO + texto ao lado */
.projeto-item {
  display: flex;
  align-items: center;   /* centra verticalmente */
  gap: 25px;             /* espaço entre imagem e texto */
}

.projeto-item img {
  width: 320px;          /* 🔥 DUPLICADO */
  height: 240px;         /* 🔥 DUPLICADO */
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}

/* Texto ao lado da imagem */
.projeto-texto {
  flex: 1;
}

/* ✅ AJUSTE FINAL DOS PROJETOS — imagem com a mesma altura do texto */
.projeto-item {
  display: flex;
  align-items: stretch;   /* faz imagem e texto terem a mesma altura */
  gap: 25px;
}

.projeto-item img {
  width: 340px;           /* largura da imagem */
  height: auto;          /* altura acompanha o texto */
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}

.projeto-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ✅ RESPONSIVO */
@media (max-width: 700px) {
  .projeto-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projeto-item img {
    width: 100%;
    max-width: 320px;
  }
}
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.video-popup video {
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
}
#skipVideo {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 18px;
  background: rgba(0,0,0,0.7);
  color: white;
  border: 1px solid white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  z-index: 100000;
}

#skipVideo:hover {
  background: rgba(255,255,255,0.2);
}
