/* Header Styles */
/* header {
  background-color: #2c3e50;
  <img src="images/bg_green.jpg" alt="back" />
  color: #fff;
  padding: 15px 0;
} */

/* header {
     width:100%;
     background-image:<src="images/bg_green.jpg" alt="back" />;
    color: #fff;
  padding: 15px 0;
} */

header {
     width:100%;
     background-image:url("images/fundo.png");
    color: #fff;
     padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; /* Needed for absolute positioning alternative */
}

.header-logo {
  height: 75px; /* Adjust as needed */
  width: auto;
}

.left-logo {
  margin-right: auto; /* Pushes everything else right */
}

.right-logo {
  margin-left: auto; /* Pushes to far right */
  order: 2; /* Ensures it stays right */
}

.header-link {
  color: inherit;
  text-decoration: none;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}


.site-title {
  margin: 0;
  font-size: 2.0rem;
  line-height: 1.2;
}



.site-subtitle {
  margin: 0;
  font-size: 1.5rem;
  color: #ecf0f1;
}

/* Mobile responsive */

/* Tablet (768px) */
@media (max-width: 768px) {
  .header-brand {
    gap: 12px;
    padding: 0 15px;
  }
  
  .header-logo {
    height: 50px;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  .header-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px 10px;
  }
  
  .header-logo {
    height: 45px;
    margin-bottom: 5px;
  }
  
  .title-group {
    width: 100%;
  }
  
  .site-subtitle {
    margin-top: 2px;
  }
}

/* General Styles */
body {
  font-family: 'Calibri', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.logostop {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.logosbottom {
  display: flex;
  text-align: justify;
  justify-content: space-between;
  margin: 200px;
  gap: 90px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 10px
}

.logo {
  height: 130px;
  width: auto;
}

h1 {
  margin: 0;
  font-size: 5.5rem;
}
/* onde esta o cabecalho com as opcoes: */
/* nav { 
  font-size: 1.rem;
  background-color: #34495e;
  padding: 0px;
} */

nav {
  width: 100%;
  font-size: 3.rem;
     background-image:url("images/background_cinza.png");
    color: #fff;
     padding: 10px 0;
}



nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav ul li {
  display: inline;
}

/* NAVEGADOR INFRMATION */
nav ul li a {
  color: #fff;
  font-family: 'Calibri', sans-serif;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px
}
/* h1, h2, h3, h4, h5, h6 {
	color: #ffffff;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
} */
nav ul li a:hover {
  text-decoration: underline;
}

main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

membersarea {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


main ul {
  list-style-type: circle;
}



section {
  margin-bottom: 20px;
}

/* footer {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 0px;
} */

footer {
  width: 100%;
  font-size: 1.rem;
     background-image:url("images/background_cinza.png");
    color: #fff;
     padding: 10px 0;
    margin-top: 250px;
}


footer a {
  color: #1abc9c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* Collaboration Members List */
.members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px;
  top-margin: 0;
  bottom-margin: 20px;
  list-style: none;
}

.member-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 275px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.member-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2c3e50;
}

.member-name img {
  height: 16px;
  width: auto;
  float: top;
}

.member-name img:hover {
  transform: scale(1.2);
}



.member-role {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.member-institution {
  font-size: 0.9rem;
  color: #34495e;
}


/* Estilo lattes */

.member-lattes {
    color: #005999;
    margin-top: 10px;
}

.member-lattes img{
  height: 16px;
  width: auto;
  float: top;
}

.member-lattes a{
    color: #005999;
}

.member-logo {
	background-image: url("./images/lattes-logo-2.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	display: inline-block;
	height: 22px;
	margin-left: 10px;
	width: 26px;
}

/* Seminar Schedule Styles */
.seminar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.seminar-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.seminar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.seminar-type {
  font-size: 1rem;
  color: #7f8c8d; /* Neutral color */
  margin-bottom: 10px;
  text-transform: uppercase; /* Optional: Make it uppercase */
}

.seminar-content {
  margin-left: 20px; /* Indent content slightly to the right */
}

.seminar-speaker {
  font-size: 1.1rem;
  color: #34495e;
  margin-bottom: 5px;
}

.seminar-affiliation {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.seminar-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.seminar-authors {
  font-style: italic;
  font-size: 0.95rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.seminar-title q {
  quotes: "“" "”" "‘" "’"; /* Custom quotes for better typography */
}

.seminar-article {
  font-size: 0.95rem;
  color: #34495e;
  margin-bottom: 10px;
  font-style: italic;
}

.seminar-article a {
  color: #1abc9c; /* Link color */
  text-decoration: none;
}

.seminar-article a:hover {
  text-decoration: underline;
}

.seminar-details {
  font-size: 0.9rem;
  color: #34495e;
  margin-bottom: 10px;
}

.seminar-details span {
  font-weight: bold;
  color: #2c3e50;
}

.seminar-abstract {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd; /* Separator line */
}
.seminar-abstract span {
  font-weight: bold;
  color: #2c3e50;
}

/* Style for the Google Agenda link */
    .google-agenda-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 15px;
      background-color: #1a73e8; /* Google's blue color */
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-family: Arial, sans-serif;
      font-size: 1rem;
      transition: background-color 0.3s ease;
    }

    .google-agenda-link:hover {
      background-color: #1557b0; /* Darker blue on hover */
    }

    .google-agenda-link i {
      font-size: 1.2rem;
    }

/* Style for the Google Agenda link */
    .google-agenda-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 15px;
      background-color: #1a73e8; /* Google's blue color */
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-family: Arial, sans-serif;
      font-size: 1rem;
      transition: background-color 0.3s ease;
    }

    .google-agenda-link:hover {
      background-color: #1557b0; /* Darker blue on hover */
    }

    .google-agenda-link i {
      font-size: 1.2rem;
    }
    
/* Responsive Design */
@media (max-width: 768px) {
  .logos {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}


input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: 0;
	box-shadow: inset 0 0 0 1px #ffffff;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 300;
	height: 2.75rem;
	letter-spacing: 0.2rem;
	line-height: 2.75rem;
	outline: 0;
	padding: 0 1.25rem 0 1.35rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover,
	button:hover,
	.button:hover {
		background-color: rgba(255, 255, 255, 0.075);
	}

	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active,
	button:active,
	.button:active {
		background-color: rgba(255, 255, 255, 0.175);
	}

	input[type="submit"].icon:before,
	input[type="reset"].icon:before,
	input[type="button"].icon:before,
	button.icon:before,
	.button.icon:before {
		margin-right: 0.5em;
	}

	input[type="submit"].fit,
	input[type="reset"].fit,
	input[type="button"].fit,
	button.fit,
	.button.fit {
		width: 100%;
	}

	input[type="submit"].small,
	input[type="reset"].small,
	input[type="button"].small,
	button.small,
	.button.small {
		font-size: 0.6rem;
		height: 2.0625rem;
		line-height: 2.0625rem;
	}

	input[type="submit"].primary,
	input[type="reset"].primary,
	input[type="button"].primary,
	button.primary,
	.button.primary {
		background-color: #ffffff;
		color: #1b1f22 !important;
		font-weight: 600;
	}

	input[type="submit"].disabled, input[type="submit"]:disabled,
	input[type="reset"].disabled,
	input[type="reset"]:disabled,
	input[type="button"].disabled,
	input[type="button"]:disabled,
	button.disabled,
	button:disabled,
	.button.disabled,
	.button:disabled {
		pointer-events: none;
		cursor: default;
		opacity: 0.25;
	}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	line-height: calc(2.75rem - 2px);
}

.fade-box {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}

/* Classe que mostra o bloco */
.fade-box.show {
  opacity: 1;
  max-height: 500px; /* ajuste conforme tamanho do texto */
}

/* Botão estilizado */
.btn-back {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background: #c7bfbf;
  color: #090909;
  border-radius: 5px;
  cursor: pointer;
}
.btn-back:hover {
  background: #666;
}



.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas */
  gap: 20px;
  margin-top: 30px;
}

/* Cada bloco */
.work-item {
  background: #d4d2d2;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(202, 199, 199, 0.4);
  text-align: center;
}
/* Responsividade */
@media (max-width: 1000px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
  }
}
/* Fade in/out */
.fade-box {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}
.fade-box.show {
  opacity: 1;
  max-height: 600px;
}
.hidden { display: none; }

/* Botão voltar */
.btn-back {
  margin-top: 10px;
  padding: 8px 15px;
  border: none;
  background: #444;
  color: #050505;
  border-radius: 5px;
  cursor: pointer;
}
.btn-back:hover { background: #666; }

.work-item img {
  width: 100%;          /* makes image fill the block's width */
  height: 200px;        /* fixed height for all images */
  object-fit: cover;    /* crops the image so it fills nicely */
  border-radius: 8px;   /* optional, rounded corners */
}

.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.calendar-container iframe {
  max-width: 1000px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.member-card {
  position: relative;
  width: 220px;
  min-height: 300px;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  background-color: #fdfdfd;
  transition: transform 0.6s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.member-photo {
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s;
}

.member-photo:hover {
  transform: scale(1.05);
}

.member-back {
  display: none;
  animation: fadeIn 0.4s ease;
}

.member-back.show {
  display: block;
}

.member-front.hidden {
  display: none;
}

.btn-back {
  background-color: #ccc;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-back:hover {
  background-color: #999;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}



/* --- ajustes para mobile e tablet --- */

/* Tablets (máx. 1000px) */
@media (max-width: 1000px) {
  /* Header */
  .header-content, .header-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .header-logo {
    height: 55px;
    margin-bottom: 8px;
  }

  /* Nav menu */
  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  nav ul li a {
    font-size: 18px;
  }

  /* Logos e imagens */
  .logosbottom {
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
    gap: 30px;
  }

  .logo {
    height: 90px;
  }

  /* Grid de pesquisa */
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
    gap: 15px;
    margin-top: 20px;
  }
}

/* Celulares (máx. 600px) */
@media (max-width: 600px) {
  /* Header */
  .site-title {
    font-size: 1.6rem;
  }

  .site-subtitle {
    font-size: 1.1rem;
  }

  /* Nav */
  nav ul {
    flex-direction: column;
    gap: 8px;
  }

  nav ul li a {
    font-size: 16px;
  }

  /* Logos */
  .logosbottom {
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    gap: 20px;
  }

  .logo {
    height: 75px;
  }

  /* Grid de pesquisa */
  .grid-container {
    grid-template-columns: 1fr; /* 1 coluna no celular */
    gap: 15px;
    margin-top: 15px;
  }

  /* Cartões de membros */
  .members-list {
    flex-direction: column;
    align-items: center;
  }

  .member-card {
    width: 90%;
    max-width: 320px;
  }

  /* Margens gerais */
  main {
    padding: 15px;
  }

  footer {
    font-size: 0.9rem;
    padding: 10px 0;
  }
}
