/*
Theme Name: Molina-SoundPro
Description: Professional WordPress theme for audio and lighting equipment company with modern animations and enhanced user experience
Author: Molina-SoundPro LLC
Version: 2.0.0
License: GPL v2 or later
Text Domain: molina-soundpro
*/

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700;900&display=swap');

/* WordPress Theme Styles */
:root {
  --primary-dark: #1a1a1a;
  --secondary-dark: #2d2d2d;
  --accent-yellow: #f1c40f;
  --accent-orange: #f39c12;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-muted: #999999;
}

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

body {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--primary-dark);
  overflow-x: hidden;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
a { text-decoration: none; }

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* WordPress Core Styles */
.wp-block-image {
  margin: 1rem 0;
}

.wp-block-quote {
  border-left: 4px solid var(--accent-yellow);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
}

.alignleft {
  float: left;
  margin: 0.5rem 1rem 0.5rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 0.5rem 1rem;
}

.aligncenter {
  display: block;
  margin: 0.5rem auto;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(30px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.site-logo:hover {
  color: var(--accent-yellow);
}

.site-logo .logo-icon {
  font-size: 1.5rem;
}

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

.site-logo .logo-main {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.2;
}

.site-logo .logo-sub {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.2;
}

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

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

.main-navigation a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--accent-yellow);
}

.location-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.location-badge {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(30,30,50,0.9) 100%),
              url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
  letter-spacing: 2px;
}

.hero-subtitle p {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(241, 196, 15, 0.3);
  color: #000;
  text-decoration: none;
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-divider {
  width: 100px;
  height: 4px;
  background: var(--accent-yellow);
  margin: 1rem auto;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(241, 196, 15, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(241, 196, 15, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
}

/* Location Cards */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.location-card {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(241, 196, 15, 0.3);
  box-shadow: 0 15px 40px rgba(241, 196, 15, 0.1);
}

.location-card .location-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.location-card h3 {
  color: var(--accent-yellow);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.location-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.location-card ul li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

/* Testimonial Card */
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--accent-yellow);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(241, 196, 15, 0.1);
}

.testimonial-card p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-left: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 50%, #e67e22 100%);
  color: black;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-item .icon {
  font-size: 2rem;
}

.contact-item a {
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 1.125rem;
}

.contact-item a:hover {
  color: #000;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #000;
  font-family: 'Titillium Web', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #000;
  color: var(--accent-yellow);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Featured Image */
.featured-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.5s ease;
}

.featured-image:hover {
  opacity: 1;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .header-container {
    flex-direction: column;
    height: auto;
    padding: 1rem 2rem;
  }

  .location-badges {
    margin-top: 1rem;
    justify-content: center;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

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

  .featured-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

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

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

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Skip to content */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999999;
  background: #000;
  color: #fff;
  padding: 1rem;
}

.skip-link:focus {
  left: 6px;
  top: 7px;
}
