/* 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;
  }
}

/* ============================================================
   Team List Page — hero section
   ============================================================ */

.team-list-hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   Team Member Bio Page — hero section
   ============================================================ */

.team-hero {
  background-color: var(--dignity-blue);
  /* Pull the hero flush to the top of the viewport by
     counteracting the <main> pt-24 (6rem) offset */
  margin-top: -6rem;
  padding-top: calc(6rem + 3rem); /* navbar height + desired top breathing room */
  padding-bottom: 3.5rem;
}

.team-hero-photo {
  width: 11rem;
  height: 11rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.team-hero-initials {
  width: 11rem;
  height: 11rem;
  border-radius: 9999px;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #b22234, #001f40);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

@media (min-width: 768px) {
  .team-hero-photo,
  .team-hero-initials {
    width: 13rem;
    height: 13rem;
  }
}

.team-hero-role {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.team-hero-name {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.team-hero-title {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-hero-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Contact links */
.team-hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  justify-content: center;
}

.team-hero-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color 0.15s;
}

.team-hero-contact-link:hover {
  color: #fff;
}

.team-hero-contact-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Social icon buttons */
.team-hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.team-hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: background 0.15s;
}

.team-hero-social-btn:hover {
  background: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.team-hero-social-icon {
  width: 1.2rem;
  height: 1.2rem;
}
