/*
Theme Name: Lawman Tactical
Theme URI: https://lawmantactical.com
Author: Lawman Tactical
Author URI: https://lawmantactical.com
Description: A custom WordPress theme for Lawman Tactical - Evansville's Premier Guntry Club & Tactical Training Facility. Features a modern, patriotic design focused on firearms training, tactical fitness, and community.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lawman-tactical
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

:root {
  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --white: #ffffff;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--neutral-900);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  background-color: var(--primary-red);
  padding: 0.5rem;
  border-radius: 4px;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.logo-text-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neutral-600);
}

/* Navigation */
.main-navigation {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-navigation {
    display: flex;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--primary-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--neutral-900);
  border: 2px solid var(--white);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--neutral-900);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--neutral-900);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1.5rem 0;
  border-top: 1px solid var(--neutral-200);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-menu {
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-color: var(--neutral-900);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-300);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

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

.section-bg-gray {
  background-color: var(--neutral-50);
}

.section-bg-white {
  background-color: var(--white);
}

.section-bg-primary {
  background-color: var(--primary-red);
  color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-600);
  text-align: center;
  margin-bottom: 3rem;
}

.section-bg-primary .section-title,
.section-bg-primary .section-subtitle {
  color: var(--white);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-cols-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-md-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-lg-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 2rem;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Facility Cards */
.facility-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.1);
}

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3) 60%, transparent);
}

.facility-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--white);
}

.facility-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.facility-description {
  font-size: 0.875rem;
  color: var(--neutral-200);
}

/* Membership Cards */
.membership-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.membership-card.popular {
  border: 4px solid var(--primary-red);
  transform: scale(1.05);
}

.membership-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-red);
  color: var(--white);
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  white-space: nowrap;
}

.membership-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.membership-price {
  margin-bottom: 1.5rem;
}

.membership-price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
}

.membership-price-period {
  color: var(--neutral-600);
}

.membership-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.membership-features li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--neutral-700);
}

.membership-features li::before {
  content: "✓";
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-red);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-title {
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.25rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--neutral-600);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: var(--primary-red);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--neutral-700);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  color: var(--neutral-500);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--neutral-900);
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  font-size: 0.875rem;
  color: var(--neutral-400);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--neutral-400);
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.mt-10 {
  margin-top: 2.5rem;
}
