/*
 * Navigation and PWA styles
 */

/* Navigation Bar Styles */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-brand h1 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.3s ease;
}

.navbar-logo:hover {
  opacity: 0.8;
  text-decoration: none;
  color: inherit;
}

.navbar-logo h1 {
  margin: 0;
  cursor: pointer;
}

.pwa-install-nav {
  display: flex;
  align-items: center;
}

/* PWA Install Button Styles */
.pwa-install-section {
  margin: 2rem 0;
  text-align: center;
  position: relative;
}

.btn-pwa-install {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pwa-install:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-pwa-install:active {
  transform: translateY(0);
}

/* Prominent PWA Install Button */
.btn-pwa-prominent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 6px 12px;
  font-size: 1rem;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-pwa-prominent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-pwa-prominent:hover::before {
  left: 100%;
}

.btn-pwa-prominent:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* PWA Mobile Styles */
@media (max-width: 768px) {
  .navbar-brand h1 {
    font-size: 1.2rem;
  }

  .pwa-install-section {
    margin: 1.5rem 0;
  }

  .btn-pwa-install {
    width: 100%;
    justify-content: center;
  }

  .btn-pwa-prominent {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
