/*
Theme Name: Survival Blueprint v52
Theme URI: https://survivalblueprint.site
Author: Gemini Expert
Author URI: https://survivalblueprint.site
Description: A survival and emergency preparedness theme built for families seeking practical off-grid and disaster readiness content.
Version: 1.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: survival-blueprint
*/

/* Custom Styles to complement Tailwind */
:root {
  --survival-green: #1a2e1a;
  --survival-orange: #f97316;
  --survival-black: #0a0a0a;
}

body {
  background-color: var(--survival-black);
  color: white;
  overflow-x: hidden;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.btn-primary {
  background-color: var(--survival-orange);
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #ea580c;
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: bold;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Ticker Animation */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrap {
  overflow: hidden;
  background: #dc2626;
  white-space: nowrap;
  padding: 0.5rem 0;
  height: 34px;
  display: flex;
  align-items: center;
}

/* Fix for WordPress Admin Bar */
body.admin-bar .ticker-wrap {
  top: 32px;
}

body.admin-bar #main-nav {
  top: 66px; /* 32px admin bar + 34px ticker */
}

@media screen and (max-width: 782px) {
  body.admin-bar .ticker-wrap {
    top: 46px;
  }
  body.admin-bar #main-nav {
    top: 80px;
  }
}

.ticker-content {
  display: inline-block;
  animation: ticker 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 3rem;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--survival-black);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
