/* Main CSS for Veteran Benefits Concierge */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-1: #1a3a52; /* Navy Blue - Military Theme */
  --primary-2: #b8860b; /* Gold - Honor and Service */
  --primary-3: #2c5f2d; /* Forest Green - Military Heritage */
  --primary-4: #8b0000; /* Deep Red - Valor */
  --primary-5: #4a4a4a; /* Charcoal - Professional */
  
  /* Light Shades */
  --primary-1-light: #4a6a8a;
  --primary-2-light: #d4a017;
  --primary-3-light: #5c8f5d;
  --primary-4-light: #bb3030;
  --primary-5-light: #7a7a7a;
  
  /* Dark Shades */
  --primary-1-dark: #0a1a32;
  --primary-2-dark: #886600;
  --primary-3-dark: #1c3f1d;
  --primary-4-dark: #5b0000;
  --primary-5-dark: #2a2a2a;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-1-dark) 100%);
  --gradient-accent: linear-gradient(45deg, var(--primary-2) 0%, var(--primary-2-light) 100%);
  --gradient-service: linear-gradient(135deg, var(--primary-3-light) 0%, var(--primary-3) 100%);
  
  /* Text Colors */
  --text-primary: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Conservative Font Sizes */
  --fs-base: 16px;
  --fs-small: 0.875rem;
  --fs-h1: 1.75rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-navbar: 1rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-1);
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  margin-bottom: 0.875rem;
  color: var(--primary-1);
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: var(--fs-h4);
  font-weight: 500;
  margin-bottom: 0.625rem;
}

p {
  font-size: var(--fs-base);
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Navbar */
.navbar {
  background: var(--gradient-hero);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: var(--fs-navbar);
  font-weight: 600;
  color: var(--text-light) !important;
}

.navbar-nav .nav-link {
  font-size: var(--fs-navbar);
  color: var(--text-light) !important;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-2-light) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 70%);
  animation: pulse 20s ease-in-out infinite;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
}

#hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

#hero .hero-subtitle {
  font-size: var(--fs-h3);
  color: var(--primary-2-light);
  margin-bottom: 1rem;
}

#hero .hero-desc {
  color: rgba(255,255,255,0.9);
  max-width: 50ch;
}

/* Decorative Shapes */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
}

.shape-blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-2);
  top: 10%;
  left: -150px;
}

.shape-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-3);
  bottom: 10%;
  right: -200px;
  animation-delay: 5s;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: var(--fs-h4);
  color: var(--primary-2);
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-2);
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--fs-h2);
  color: var(--primary-1);
  font-weight: 700;
  margin: 1rem 0;
}

/* Feature Items */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-2);
  transition: all 0.3s ease;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.team-member:hover .team-photo {
  border-color: var(--primary-1);
}

.team-member:hover .team-photo img {
  transform: scale(1.1);
}

/* Testimonials */
.testimonial-slide {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: var(--fs-base);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-1);
}

.testimonial-stars {
  color: var(--primary-2);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-1);
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-2);
  border-radius: 50%;
  top: 1.5rem;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 1.5rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-control, .form-select {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 0.2rem rgba(184,134,11,0.25);
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  padding: 0.75rem 2rem;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(184,134,11,0.3);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--primary-1);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.faq-question:hover {
  background: var(--primary-1-dark);
}

.faq-answer {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0 0 10px 10px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

/* Blog */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--fs-h4);
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-2);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-2-dark);
}

/* Footer */
.footer {
  background: var(--gradient-hero);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer h4 {
  color: var(--primary-2-light);
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-small);
}

.footer a {
  color: var(--primary-2-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-2);
}

.footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

#site-copyright {
  display: block;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-small);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  height: 20px;
  width: auto;
}

/* Space Page */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Swiper Adjustments */
.swiper {
  padding: 2rem 0;
}

.swiper-pagination-bullet {
  background: var(--primary-2);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-1);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-1-dark);
} 