/* Reset and Base Styles */
body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Header Styles */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 10px 20px;
  color: white;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

/* Logo Styles */
.logo {
  height: 50px;
  background-color: transparent;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Main Menu Styles */
.menu {
  background-color: rgba(0, 0, 0, 0.6); /* Dark, semi-transparent background */
  padding: 10px 15px;
  border-radius: 25px; /* Makes it pill-shaped */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.menu ul li {
  margin-right: 15px;
}

.menu ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.menu ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s;
}

/* Search Bar Styles */
.search-bar {
  display: flex;
  align-items: center;
  background-color: #000000; /* Black background */
  border-radius: 50px; /* Rounded pill shape */
  padding: 8px 15px;
  margin-right: 80px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  transition: all 0.3s ease;
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  width: 250px; /* Adjust width as needed */
  padding: 0 10px;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 10px;
  position: relative;
}

.search-bar button img {
  width: 20px;
  height: 20px;
  filter: invert(1); /* Make the icon white */
}

.search-bar:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

/* Hamburger Menu Styles */
.menu-hamburguesa {
  font-size: 24px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark, semi-transparent background */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
  color: white;
  transition: 
    transform 0.5s ease, 
    background-color 0.2s ease-in-out;
}

.menu-hamburguesa:hover {
  transform: rotate(360deg) scale(1.1) translateY(-3px);
  background-color: rgba(0, 0, 0, 0.8);
}

/* Sidebar Menu Styles */
.menu-sidebar {
  position: fixed;
  right: -250px;
  top: 0;
  width: 250px;
  height: 100%;
  background-color: #020873;
  transition: 0.3s;
  padding-top: 60px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.menu-sidebar.active {
  right: 0;
}

.menu-item {
  padding: 15px 25px;
  color: rgb(249, 241, 241);
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Background and Overlay Styles */
.background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 5px;
}

/* Login/Profile Section Styles */
.login-section {
  display: flex;
  align-items: center;
  margin-right: 100px;
}

.login-btn {
  background-color: white;
  color: #020873;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
  margin-right: 20px;
}

.login-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.profile-btn {
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  border: 2px solid white;
  transition: transform 0.3s;
}

.profile-btn:hover {
  transform: scale(1.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*----------------------------------*/

/* Updated Login Section Styles */
.login-section {
  display: flex;
  align-items: center;
  margin-right: 100px;
}

.login-btn {
  background-color: white;
  color: #020873;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
  margin-right: 20px;
}

.login-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

/* Completely Redesigned Salir Button */
.salir-btn {
  position: relative;
  background: rgba(0, 0, 0, 0.419);
  color: #ffffff;
  padding: 10px 18px 10px 38px;
  border-radius: 6px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(2, 8, 115, 0.3);
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}

/* Exit icon */
.salir-btn:before {
  content: '\f2f5'; /* Font Awesome exit icon */
  font-family: 'Font Awesome 5 Free';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 16px;
  font-weight: 900;
  transition: all 0.3s ease;
}

/* Hover state */
.salir-btn:hover {
  background: linear-gradient(145deg, #d3d3ec79, #f1f1f479);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(2, 8, 115, 0.4);
}

.salir-btn:hover:before {
  transform: translateY(-50%) translateX(-2px);
}

/* Active state for click effect */
.salir-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #042740af, #03053993);
}

/* Optional animation for the icon */
@keyframes exitPulse {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.15); }
  100% { transform: translateY(-50%) scale(1); }
}

.salir-btn:hover:before {
  animation: exitPulse 1s infinite;
}

/* Media query for responsive design */
@media (max-width: 576px) {
  .salir-btn {
    padding: 8px 16px 8px 34px;
    font-size: 14px;
  }
  
  .salir-btn:before {
    left: 10px;
    font-size: 14px;
  }
}