/* XJSoCal.com - Tactical / Post-Apocalyptic / Survival Theme */

:root {
  --black: #0D0D0D;
  --near-black: #1A1A1A;
  --dark-gray: #2A2A2A;
  --mid-gray: #3A3A3A;
  --text-gray: #CCCCCC;
  --yellow: #F5C518;
  --yellow-dark: #D4A817;
  --white: #FFFFFF;
  --overlay: rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--black);
  color: var(--text-gray);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--yellow-dark);
}

/* Typography - Bold Condensed Uppercase */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-stretch: condensed;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--yellow);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--yellow);
  margin-bottom: 2rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--white);
}

h4 {
  font-size: 1.2rem;
  color: var(--white);
}

/* Header & Navigation */
header {
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 2px solid var(--mid-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  font-stretch: condensed;
}

.logo svg {
  width: 40px;
  height: 40px;
  fill: var(--yellow);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-gray);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

nav a:hover,
nav a.active {
  border-color: var(--yellow);
  color: var(--yellow);
  background-color: rgba(245, 197, 24, 0.1);
}

/* Main Content */
main {
  flex: 1;
  width: 100%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section - Full Bleed Video */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.75) 0%, rgba(13, 13, 13, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-content h1 {
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--yellow);
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn-primary:hover {
  background-color: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}

.btn-outline:hover {
  background-color: rgba(245, 197, 24, 0.1);
  border-color: var(--yellow-dark);
  color: var(--yellow-dark);
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 4rem 0;
}

section.dark {
  background-color: var(--near-black);
}

section.darker {
  background-color: var(--black);
}

/* Latest Grid */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--mid-gray);
}

.section-title {
  margin: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background-color: var(--near-black);
  border: 2px solid var(--dark-gray);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(245, 197, 24, 0.2);
}

.video-card-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background-color: var(--dark-gray);
}

.video-card-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumbnail img {
  transform: scale(1.05);
}

.video-card-thumbnail video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(245, 197, 24, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--black);
  margin-left: 4px;
}

.video-card:hover .play-icon {
  background-color: var(--yellow);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-content {
  padding: 1.5rem;
}

.video-card-content h4 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.video-author {
  color: var(--yellow);
}

.video-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.video-link {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.video-link:hover {
  color: var(--yellow-dark);
}

.video-link::after {
  content: ' →';
}

/* Featured Section */
.featured-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  margin-top: 3rem;
}

.featured-main {
  background-color: var(--near-black);
  border: 2px solid var(--yellow);
  border-radius: 8px;
  overflow: hidden;
}

.featured-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: var(--dark-gray);
}

.featured-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 2rem;
}

.featured-label {
  display: inline-block;
  background-color: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.featured-content h3 {
  margin-bottom: 0.75rem;
}

.featured-content p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.featured-sidebar {
  background-color: var(--near-black);
  border: 2px solid var(--dark-gray);
  border-radius: 8px;
  padding: 2rem;
}

.featured-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--mid-gray);
}

.sidebar-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--mid-gray);
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.sidebar-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.kanban-column {
  background-color: var(--near-black);
  border-radius: 8px;
  padding: 1.5rem;
  border: 2px solid var(--dark-gray);
}

.kanban-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--yellow);
  text-align: center;
}

.project-card {
  background-color: var(--black);
  border: 2px solid var(--dark-gray);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 15px rgba(245, 197, 24, 0.15);
}

.project-card h4 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 1.1rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: var(--dark-gray);
  color: var(--yellow);
  border: 1px solid var(--mid-gray);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-cost {
  font-weight: 800;
  color: var(--yellow);
  font-size: 1.2rem;
}

.project-notes {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Budget Summary */
.budget-summary {
  background-color: var(--near-black);
  border: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.budget-summary h3 {
  margin-bottom: 1.5rem;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.budget-item {
  padding: 1.5rem;
  background-color: var(--black);
  border-radius: 6px;
  border: 2px solid var(--dark-gray);
  text-align: center;
}

.budget-label {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.budget-amount {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 800;
}

.budget-item:last-child {
  border-color: var(--yellow);
  background-color: var(--dark-gray);
}

/* Trip Card */
.trip-card {
  background-color: var(--near-black);
  border: 2px solid var(--dark-gray);
  border-radius: 8px;
  padding: 2.5rem;
  margin: 2rem 0;
}

.trip-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--mid-gray);
}

.trip-header h3 {
  margin-bottom: 0.75rem;
}

.trip-dates {
  color: var(--yellow);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trip-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trip-detail {
  background-color: var(--black);
  padding: 1.25rem;
  border-radius: 6px;
  border: 2px solid var(--dark-gray);
}

.trip-detail strong {
  color: var(--yellow);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.trip-detail p {
  color: var(--text-gray);
}

.trip-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.trip-list h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--mid-gray);
}

.trip-list ul {
  list-style: none;
}

.trip-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background-color: var(--black);
  border-left: 3px solid var(--yellow);
  border-radius: 4px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.trip-list li:before {
  content: "✓ ";
  color: var(--yellow);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Info Boxes */
.info-box {
  padding: 1.5rem;
  background-color: var(--near-black);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  margin: 2rem 0;
}

.info-box p {
  margin: 0.5rem 0;
}

.info-box strong {
  color: var(--yellow);
}

/* Footer */
footer {
  background-color: var(--near-black);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  border-top: 3px solid var(--mid-gray);
  margin-top: auto;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

footer p {
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--yellow);
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--yellow-dark);
}

/* Video Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.lightbox video {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--yellow);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background-color: transparent;
  border: none;
  color: var(--yellow);
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-layout {
    grid-template-columns: 1fr;
  }

  .featured-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .kanban-board {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }

  section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  h2 {
    font-size: 2rem;
  }
}
