/*
Theme Name: Black Lion Protective Services
Theme URI: https://blacklionprotective.com
Description: Custom theme for Black Lion Protective Services
Author: Black Lion
Version: 1.0
Template: astra
*/

/* ===== COLOR VARIABLES ===== */
:root {
  --primary-black: #1a1a1a;
  --accent-gold: #C9A961;
  --text-light: #ffffff;
  --text-dark: #333333;
  --hover-gold: #e8c76f;
  --border-gray: #e0e0e0;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a;
}

p {
  color: #555555;
}

/* ===== DARK BACKGROUND TEXT FIX ===== */
section[style*="background: linear-gradient"] h1,
section[style*="background: linear-gradient"] h2,
section[style*="background: linear-gradient"] h3,
.hero h1,
.hero h2,
.hero h3,
.hero p {
  color: #ffffff !important;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--primary-black);
  color: var(--text-light);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  max-width: 60px;
  height: auto;
  animation: fadeInDown 0.6s ease-out;
}

.logo-text {
  color: var(--text-light);
  font-size: 20px;
  font-weight: bold;
}

nav {
  flex: 1;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

.cta-button {
  background-color: var(--accent-gold);
  color: var(--primary-black);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--hover-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-black) 0%, #2a2a2a 100%);
  color: var(--text-light);
  padding: 100px 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  max-width: 800px;
}

.hero-logo {
  max-width: 150px;
  margin: 0 auto 30px;
  animation: slideInUp 0.7s ease-out;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  animation: slideInUp 0.7s ease-out 0.2s both;
  color: #ffffff;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
  animation: slideInUp 0.7s ease-out 0.4s both;
}

.hero .cta-button {
  animation: slideInUp 0.7s ease-out 0.6s both;
}

/* ===== SERVICE CARDS ===== */
.services-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.services-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-black);
  animation: fadeInUp 0.6s ease-out;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.2);
}

.service-card h3 {
  color: var(--primary-black);
  font-size: 22px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--accent-gold);
}

.service-card p {
  color: #666;
  line-height: 1.8;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.service-card.active p {
  display: block;
}

.service-card .toggle-icon {
  color: var(--accent-gold);
  font-weight: bold;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.service-card.active .toggle-icon {
  transform: rotate(180deg);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background-color: white;
  padding: 80px 20px;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-section h1 {
  font-size: 42px;
  color: var(--primary-black);
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease-out;
}

.about-section h2 {
  font-size: 36px;
  color: var(--primary-black);
  margin-bottom: 30px;
}

.about-section h3 {
  color: var(--primary-black);
}

.about-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.9;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.about-highlight {
  background-color: #f9f9f9;
  border-left: 4px solid var(--accent-gold);
  padding: 20px;
  margin: 30px 0;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.about-highlight strong {
  color: var(--accent-gold);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-black);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-black);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group button {
  background-color: var(--accent-gold);
  color: var(--primary-black);
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-group button:hover {
  background-color: var(--hover-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

/* ===== CAREERS PAGE ===== */
.careers-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.careers-section h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-black);
}

.job-listing {
  background: white;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-gold);
  transition: all 0.3s ease;
  cursor: pointer;
}

.job-listing:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(10px);
}

.job-listing h3 {
  color: var(--primary-black);
  margin-bottom: 10px;
}

.job-listing p {
  color: #666;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--primary-black);
  color: var(--text-light);
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 15px;