/* Logo Fallback CSS - Enhanced fallback display until actual logo files are uploaded */

/* Enhanced fallback logo using CSS */
.logo-image {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
}

/* Plant icon in the center */
.logo-image::before {
  content: "🌱";
  font-size: 20px;
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* GGC text at the bottom */
.logo-image::after {
  content: "GGC";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
  z-index: 2;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}

/* Hover effect */
.logo:hover .logo-image {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Enhanced fallback favicon using CSS */
.favicon-fallback {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.favicon-fallback::before {
  content: "🌱";
  font-size: 10px;
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
}

/* Logo loading state - more subtle */
.logo-image.loading {
  background: linear-gradient(90deg, #e8f5e8 25%, #d4e8d4 50%, #e8f5e8 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  color: #2d5a27;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Remove error state - show normal fallback instead */
.logo-image.error {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: #a9ebd1;
}

.logo-image.error::before {
  content: "🌱";
  color: #a9ebd1;
}

.logo-image.error::after {
  content: "GGC";
  color: #a9ebd1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-image {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .logo-image::before {
    font-size: 16px;
  }
  
  .logo-image::after {
    font-size: 6px;
  }
}

/* Dark mode adjustments */
.dark-mode .logo-image {
  background: linear-gradient(135deg, #1e3a1a 0%, #2d5a27 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dark-mode .logo-image::before,
.dark-mode .logo-image::after {
  color: #a9ebd1;
} 