/*
Theme Name: SBK Services
Theme URI: https://sbkservices.local
Author: SBK Services
Author URI: https://sbkservices.local
Description: Custom automotive services theme for SBK Services. Dark, high-energy design with purple lightning accents matching the shop banner. Features lift kits, suspension, tires, alignments, and more for cars, trucks, and SUVs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbk-services
Tags: automotive, dark, custom-colors, custom-menu, featured-images, full-width-template, one-column, two-columns
*/

/* ==========================================================================
   CSS Variables - Matching Banner Theme
   ========================================================================== */
:root {
  --sbk-black: #0a0a0a;
  --sbk-dark: #121212;
  --sbk-darker: #0d0d0d;
  --sbk-purple: #9b30ff;
  --sbk-purple-dark: #6b1fb8;
  --sbk-purple-light: #c77dff;
  --sbk-neon: #b8ff00;
  --sbk-neon-green: #a8ff00;
  --sbk-white: #ffffff;
  --sbk-gray: #cccccc;
  --sbk-silver: #e0e0e0;
  --sbk-accent: #ff3d00;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  --font-display: 'Impact', 'Arial Black', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--sbk-black);
  color: var(--sbk-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--sbk-purple-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--sbk-neon);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.site-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--sbk-purple), var(--sbk-purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  position: relative;
  color: var(--sbk-white);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--sbk-purple), var(--sbk-neon));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.neon-text {
  color: var(--sbk-neon);
  text-shadow: 0 0 8px rgba(184, 255, 0, 0.5);
}

.purple-text {
  color: var(--sbk-purple-light);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 2px solid var(--sbk-purple-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

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

.site-branding a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sbk-white);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #9b30ff, #c77dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text span {
  color: var(--sbk-neon);
  -webkit-text-fill-color: var(--sbk-neon);
}

.main-navigation ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-navigation a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--sbk-gray);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--sbk-white);
  background: rgba(155, 48, 255, 0.2);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--sbk-purple-dark), var(--sbk-purple));
  color: var(--sbk-white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(155, 48, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-phone:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(155, 48, 255, 0.6);
  color: var(--sbk-white) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--sbk-purple);
  color: var(--sbk-white);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sbk-black);
  overflow: hidden;
  border-bottom: 3px solid var(--sbk-purple);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 100%);
  z-index: 1;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(155, 48, 255, 0.6);
  background: linear-gradient(90deg, #c77dff, #9b30ff, #6b1fb8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--sbk-neon);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(184, 255, 0, 0.4);
}

.hero .phone-large {
  display: inline-block;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--sbk-white);
  background: rgba(0,0,0,0.6);
  padding: 0.6rem 1.8rem;
  border: 2px solid var(--sbk-purple);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  box-shadow: 0 0 20px rgba(155, 48, 255, 0.3);
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sbk-purple), var(--sbk-purple-dark));
  color: var(--sbk-white);
  box-shadow: 0 4px 15px rgba(155, 48, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--sbk-purple-light), var(--sbk-purple));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 48, 255, 0.6);
  color: var(--sbk-white);
}

.btn-secondary {
  background: transparent;
  color: var(--sbk-neon);
  border: 2px solid var(--sbk-neon);
}

.btn-secondary:hover {
  background: var(--sbk-neon);
  color: var(--sbk-black);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-section {
  padding: 4rem 0;
  background: var(--sbk-dark);
}

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

.service-card {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sbk-purple), var(--sbk-neon));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--sbk-purple);
  box-shadow: 0 10px 30px rgba(155, 48, 255, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(155, 48, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--sbk-purple-light);
  border: 2px solid rgba(155, 48, 255, 0.3);
}

.service-card h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--sbk-white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--sbk-gray);
  line-height: 1.5;
}

/* ==========================================================================
   About / Why Us
   ========================================================================== */
.about-section {
  padding: 4rem 0;
  background: var(--sbk-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  text-align: left;
}

.about-content h2::after {
  margin-left: 0;
}

.about-content p {
  color: var(--sbk-gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.feature-list {
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--sbk-silver);
}

.feature-list li::before {
  content: '⚡';
  color: var(--sbk-neon);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--sbk-purple-dark);
  box-shadow: 0 0 40px rgba(155, 48, 255, 0.2);
}

/* ==========================================================================
   Call to Action Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--sbk-purple-dark) 0%, #1a0a2e 50%, var(--sbk-black) 100%);
  padding: 3.5rem 0;
  text-align: center;
  border-top: 2px solid var(--sbk-purple);
  border-bottom: 2px solid var(--sbk-purple);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--sbk-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.cta-phone {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sbk-neon);
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  display: block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 4rem 0;
  background: var(--sbk-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--sbk-purple-light);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-info p,
.contact-info a {
  color: var(--sbk-gray);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-info a:hover {
  color: var(--sbk-neon);
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--sbk-silver);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: var(--sbk-white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--sbk-purple);
  box-shadow: 0 0 0 2px rgba(155, 48, 255, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #050505;
  border-top: 2px solid var(--sbk-purple-dark);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  color: var(--sbk-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--sbk-purple-light);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: var(--sbk-gray);
  padding: 0.25rem 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--sbk-neon);
  padding-left: 4px;
}

.footer-contact p {
  color: var(--sbk-gray);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 1.25rem;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */
.page-header {
  background: linear-gradient(180deg, #1a0a2e 0%, var(--sbk-black) 100%);
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 2px solid var(--sbk-purple-dark);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.entry-content {
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.entry-content p {
  margin-bottom: 1.25rem;
  color: var(--sbk-gray);
  font-size: 1.05rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-navigation {
    display: none;
  }

  .main-navigation.active {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--sbk-dark);
    border-bottom: 2px solid var(--sbk-purple);
    padding: 1rem;
  }

  .main-navigation.active ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .menu-toggle {
    display: block;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 55vh;
  }

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
