/* Patriot Trucks & Equipment Custom Styles */
:root {
  --patriot-navy: #2D4A6B;
  --patriot-red: #C41E3A;
  --patriot-blue: #1E3A5F;
  --patriot-light-gray: #F8F9FA;
  --patriot-dark-gray: #6C757D;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

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

/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Header styles */
.patriot-header {
  background: linear-gradient(135deg, var(--patriot-navy) 0%, var(--patriot-blue) 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-height: 20rem; /* Accommodate larger logo */
}

/* Header content alignment for large logo */
.patriot-header .container {
  display: flex;
  align-items: center;
  min-height: 20rem;
}

/* Hero section */
.hero-bg {
  background: linear-gradient(135deg, var(--patriot-navy) 0%, var(--patriot-blue) 70%, var(--patriot-red) 100%);
  position: relative;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.3;
}

/* Button styles */
.btn-patriot {
  background: linear-gradient(135deg, var(--patriot-red) 0%, #E53E3E 100%);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-patriot:hover {
  background: linear-gradient(135deg, #B91C3C 0%, var(--patriot-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
  color: white;
  text-decoration: none;
}

.btn-patriot-outline {
  background: transparent;
  color: var(--patriot-navy);
  border: 2px solid var(--patriot-navy);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-patriot-outline:hover {
  background: var(--patriot-navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 74, 107, 0.3);
  text-decoration: none;
}

/* Card hover effects */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--patriot-red);
}

/* Equipment grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 24px 0;
}

/* Footer */
.patriot-footer {
  background: var(--patriot-navy);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem !important;
  }
}

/* Loading animations */
.loading-animation {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Star decoration */
.star-decoration::before {
  content: '★';
  color: var(--patriot-red);
  font-size: 0.8rem;
  margin-right: 4px;
}

/* Enhanced Logo Styles */
.patriot-logo {
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.patriot-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Header Logo - Large and Transparent */
.header-logo {
  height: 15rem !important; /* 5x larger than original 3rem */
  width: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Footer Logo - Medium size */
.footer-logo {
  height: 2.5rem !important;
  width: auto;
  opacity: 0.85;
}

/* Modal Logo - Standard size */
.modal-logo {
  height: 3rem !important;
  width: auto;
  opacity: 0.9;
}

/* Dashboard Logo - Large */
.dashboard-logo {
  height: 3rem !important;
  width: auto;
  opacity: 0.9;
}

/* Mobile Logo Adjustments */
@media (max-width: 768px) {
  .header-logo {
    height: 8rem !important; /* Smaller on mobile but still large */
  }
}