/* Syracuse Greens - Custom Styles */
/* Using Bulma CSS framework as base */

/* CSS Variables for Green Party Theme */
:root {
  --primary: #2E7D32;
  --primary-light: #4CAF50;
  --primary-dark: #1B5E20;
  --secondary: #8BC34A;
  --accent: #FFC107;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8faf8;
  --bg-white: #ffffff;
  --sunflower: #FFD54F;
}

/* Typography */
body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Navbar Customization */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand .navbar-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: white !important;
}

.navbar-menu {
  background: transparent;
}

.navbar-item, .navbar-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar-item:hover, .navbar-link:hover {
  background: rgba(255,255,255,0.1) !important;
  color: white !important;
}

.navbar-dropdown {
  background: var(--primary);
  border: none;
  border-radius: 0 0 8px 8px;
}

.navbar-dropdown .navbar-item {
  color: white !important;
}

.navbar-dropdown .navbar-item:hover {
  background: var(--primary-dark) !important;
}

.navbar-burger span {
  background-color: white !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46,125,50,0.85) 0%, rgba(27,94,32,0.75) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  max-width: 700px;
}

/* Buttons */
.button.is-primary {
  background: var(--primary);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46,125,50,0.3);
}

.button.is-primary.is-outlined {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.button.is-primary.is-outlined:hover {
  background: var(--primary);
  color: white;
}

.button.is-accent {
  background: var(--accent);
  color: var(--text-dark);
  border: none;
  font-weight: 600;
}

.button.is-accent:hover {
  background: #FFB300;
  transform: translateY(-2px);
}

/* Cards */
.card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-content {
  padding: 2rem;
}

.card .title {
  color: var(--primary-dark);
}

/* Value Cards */
.value-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

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

.value-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section.is-green {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.section.is-green h2, .section.is-green h3, .section.is-green .title {
  color: white;
}

.section.is-light-green {
  background: var(--bg-light);
}

/* Content Area */
.content h2 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
}

.content h3 {
  color: var(--primary);
  margin-top: 1.5rem;
}

.content ul {
  list-style: none;
  padding-left: 0;
}

.content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

.content a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--secondary);
}

.content a:hover {
  color: var(--primary-dark);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 3rem 1.5rem 2rem;
}

.footer h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--sunflower);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--sunflower);
  color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  color: rgba(255,255,255,0.9);
}

/* Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item .icon-wrapper {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .icon-wrapper i {
  color: white;
  font-size: 1.25rem;
}

.feature-item h4 {
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

/* Image styling */
.content-image {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 1.5rem 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .navbar-menu {
    background: var(--primary-dark);
  }
}

/* 404 Page */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-light);
}

.error-page h1 {
  font-size: 8rem;
  color: var(--primary);
  margin-bottom: 0;
}

.error-page p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Sunflower Accent */
.sunflower-icon {
  color: var(--sunflower);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
