/*
Theme Name: Backpacker Pro
Description: Professional backpacking gear review WordPress theme
Version: 1.0
Author: The Backpacker Pro
*/

:root {
  /* Color scheme for outdoor/adventure theme */
  --primary-color: #2d5a27;
  --secondary-color: #8b4513;
  --accent-color: #ff6b35;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gray-light: #e9ecef;
  --gray-medium: #6c757d;
  --gray-dark: #495057;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #e55a2b;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.category-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Featured Reviews */
.featured-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-image {
  width: 100%;
  height: 200px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-medium);
}

.review-content {
  padding: 1.5rem;
}

.review-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.review-category {
  color: var(--gray-medium);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  color: var(--warning);
}

.price {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 1.1rem;
}

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

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

.footer-section h3 {
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* WordPress specific styles */
.wp-block-group {
  margin: 2rem 0;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.wp-block-column {
  flex: 1;
  min-width: 300px;
}

.wp-caption {
  text-align: center;
  margin: 1rem 0;
}

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

.wp-caption-text {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin-top: 0.5rem;
}

/* Gear Review specific styles */
.gear-specs {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.gear-specs h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.spec-item {
  text-align: center;
}

.spec-label {
  font-weight: bold;
  color: var(--gray-dark);
}

.spec-value {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros, .cons {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pros h4 {
  color: var(--success);
  margin-bottom: 1rem;
}

.cons h4 {
  color: var(--danger);
  margin-bottom: 1rem;
}

.pros ul, .cons ul {
  list-style: none;
  padding-left: 0;
}

.pros li:before {
  content: "✓ ";
  color: var(--success);
  font-weight: bold;
}

.cons li:before {
  content: "✗ ";
  color: var(--danger);
  font-weight: bold;
}

@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}
