/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafafa;
}

/* Header */
header {
    background-color: transparent;
    padding: 18px 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    max-height: 150px;
    filter: brightness(0) invert(1);  /* Optional: makes dark logo white */
}

.footer-logo {
    height: 80px;
    max-height: 150px;
    filter: brightness(0) invert(1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

/* underline grows from center on hover */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero-half {
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.hero::after,
.hero-half::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        #001f3f 0%,
        rgba(0,31,63,0.95) 15%,
        rgba(0,31,63,0.75) 35%,
        rgba(0,31,63,0.4) 60%,
        rgba(0,31,63,0) 100%);
    z-index: 0;
}


.hero-half > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Overlay containers */
.hero .overlay,
.hero-half .overlay {
    position: absolute;
    inset: 0;
    text-align: center;
    width: 100%;
    height: 100%;
}

.hero .overlay {
    background: none;
    z-index: 2;
}

.hero-half .overlay {
    position: absolute;
    inset: 0;
    background: none; /* remove background for half hero */
    pointer-events: none;
}

.hero .overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* Optional titles if you use them later */
.hero .main-title {
    font-size: 6rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: white;
}

.hero .subtitle {
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    color: white;
}

.hero-half img,
.hero img {
    filter: drop-shadow(0 20px 40px rgba(0,31,63,0.8));
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* efeito leve ao hover */
.hero-half img:hover,
.hero img:hover {
    transform: translateY(-8px) scale(1.03);
    filter: 
        drop-shadow(0 25px 50px rgba(0,31,63,0.8))
        brightness(1.05);
}

.about-section { 
    padding: 80px 40px; 
    text-align: center; 
}

.about-section .container { 
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}    

.about-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: justify;
}

.about-section h1 { 
    font-size: 3rem; 
    margin-bottom: 40px; 
    color: #00264d; } 

.about-section a {
    color: #00264d;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.about-section a:hover {
    text-decoration: underline;
}
    
.about-section p { 
    font-size: 1.2rem; 
    color: #333; 
    margin: 0; }

/* ===== Footer ===== */
.ieee-footer {
    background-color: #001f3f;
    color: white;
    padding: 40px 20px;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-center { 
  font-size: 1rem; 
}

.footer-center p:first-child { 
  font-weight: bold; 
  margin: 5px 0;
}

.footer-center p {
  margin: 5px 0;
}

.footer-right { 
  align-items: flex-end; 
  text-align: right;  
}

.footer-right p { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  margin: 10px 180px; 
  white-space: nowrap; 
  font-size: 1rem; 
}

.icon { 
  width: 28px; 
  height: 28px; 
  object-fit: contain; 
  filter: brightness(0) 
  invert(1); 
}

.button-rounded {
    border: 2px solid #ccc;
    border-radius: 30px;
    padding: 8px 20px;
    color: white;
    background-color: transparent;
    font-weight: bold;
    transition: all 0.3s ease;
}

.button-rounded:hover {
    background-color: white;
    color: #001f3f;
    border-color: white;
}

nav ul li a.button-rounded::after {
    display: none;
}

/*scroll button */
.scroll-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.scroll-button img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.scroll-button:hover {
    opacity: 0.7;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px;
  flex-wrap: wrap;
}

.card {
  background-color: #ffffff;
  width: 300px;
  height: 200px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Social Media Cards - Smaller variant */
.social-media-section .stats-container .card {
  width: 250px;
  height: 160px;
  padding: 20px;
}

.social-media-section .stats-container .card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.social-media-section .stats-container .card p {
  font-size: 0.9rem;
}

.card h2 {
  font-size: 40px;
  margin: 5px 0;
  color: #001f3f;
}

.card p {
  font-size: 20px;
  margin: 0;
  color: #001f3f;
}

.card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  filter: invert(10%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(90%);
}

.map {
    width: 100%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #00264d;
}

.map iframe {
    border: 10px solid #001f3f;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    height: 500px;
}

/* Social Media Section */
.social-media-section {
    padding: 80px 40px;
    text-align: center;
}

.social-media-section h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #00264d;
}

.lang-button {
  width: 60px;
  height: 40px;
  background: rgba(120, 95, 35, 0.6); /* brown transparent */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  margin-top: -100px;
}

.lang-button:hover {
  transform: scale(1.05);
}

/* Language Toggle Button */
.lang-toggle button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.lang-toggle button:hover {
  opacity: 0.8;
}

.fi {
  font-size: 24px;
  border-radius: 3px;
}

/* * {
    outline: 1px solid red;
} */   /* just for debug purposes, ignore this block */
