/* ===== CONFIGURACIÓN GENERAL ===== */
:root {
  --primary-bg: #074A75;
  --secondary-bg: #A5B1B9;
  --accent: #00d4ff;
  --text-light: #ffffff;
}

body {
/* ===== FONDO GENERAL ===== */
font-family: 'coolvetica' ;
    font-weight: normal;
     letter-spacing: 0.7px; 
    background-image: url("fondo_scishark.webp");
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    color:#1a1a1a;

}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, #074A75, #009bb3);
  color: var(--text-light);
  text-align: center;
  padding: 20px;
}

header h1 {
  margin-top: 20px;
  font-size: 2rem;
}

.frase {
  margin: 15px auto;
  max-width: 600px;
  font-style: italic;
}

/* ===== LOGO CONTAINER ===== */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
  max-width: 250px;
}

.logo {
  width: 80px;
  height: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  align-items: baseline;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===== NAVBAR ===== */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

/* ===== VIDEOS ===== */
.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 10%;
}

.video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video iframe:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.video p {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

/* ===== BOTONES ===== */
.button {
  background: var(--accent);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.button:hover {
  background: #009bb3;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-bg);
  padding: 20px;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width:600px){
  header h1 { font-size: 1.5rem; }
  nav ul { flex-direction: column; gap: 10px; }
  .logo-container { flex-direction: column; gap: 8px; max-width: 180px; }
  .logo { width: 60px; }
  .logo-text { font-size: 1.2rem; }
}
