/* DFW Scrollers Modern Website Styles */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #1E3A8A;
  --secondary-color: #8B4513;
  --accent-color: #BF0A30;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F3F4F6;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* Header and Navigation */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.texas-flag {
  width: 60px;
  height: auto;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.site-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* Navigation */
nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  padding: 0.75rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: var(--transition);
  font-weight: 500;
}

nav a:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
  color: var(--bg-white);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo {
  max-width: 400px;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Meeting Alert */
.meeting-alert {
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: var(--shadow-lg);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.content-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.content-card h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: var(--transition);
  font-weight: 600;
}

.btn:hover {
  background-color: #1E40AF;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #A0522D;
}

/* YouTube Section */
.youtube-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--bg-white);
  margin: 3rem 0;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.youtube-link {
  display: inline-block;
  color: #FF0000;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border: 3px solid #FF0000;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.youtube-link:hover {
  background-color: #FF0000;
  color: var(--bg-white);
  transform: scale(1.05);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--bg-white);
  text-decoration: underline;
}

/* Page Content Styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-content {
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  line-height: 1.8;
}

.page-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.page-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-content a:hover {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }
  
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    width: 100%;
    text-align: left;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-logo {
    max-width: 300px;
  }
  
  .meeting-alert {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .page-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
  }
  
  .site-title {
    font-size: 1.25rem;
  }
  
  .texas-flag {
    width: 50px;
  }
  
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  main {
    padding: 2rem 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}
