/* Custom styles for Romanian Republicans GOP Club Inc */

/* Color variables */
:root {
  --patriot-red: #b22234;
  --dignity-blue: #003366;
  --bright-red: #e74c3c;
  --elegant-gray: #cccccc;
  --charcoal-gray: #333333;
}

/* Navigation underline effect */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--patriot-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: var(--elegant-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--patriot-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bright-red);
}

/* Button hover effects */
.btn-primary {
  background-color: var(--patriot-red);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--bright-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178, 34, 52, 0.3);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form focus styles */
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--patriot-red);
  box-shadow: 0 0 0 3px rgba(178, 34, 52, 0.1);
}

/* Animation for floating elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Loading animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}
