/* ==========================================
   ABOUT PAGE - PREMIUM LUXURY DESIGN
   Walker Electrical Services
   Mobile First Approach
   ========================================== */

/* Our Story Section */
.about-story.section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.about-story.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-red) 50%, 
    transparent 100%);
}

/* Story Content Layout */
.about-story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story-text {
  width: 100%;
  animation: fadeInLeft 0.8s ease-out;
}

.about-story-image {
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Story Title */
.about-story-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.about-story-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-red) 0%, 
    var(--red-light) 100%);
  border-radius: var(--radius-full);
}

/* Story Body */
.about-story-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-story-body p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: var(--weight-light);
}

.about-story-body p:last-child {
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

/* Story Image */
.about-story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-slow);
  filter: brightness(1) contrast(1.05);
}

.about-story-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: linear-gradient(135deg, 
    rgba(139, 37, 0, 0.15) 0%, 
    transparent 50%, 
    rgba(139, 37, 0, 0.15) 100%);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.about-story-image:hover::before {
  opacity: 1;
}

.about-story-image:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    var(--glow-red);
}

/* Tablet Layout */
@media (min-width: 768px) {
  .about-story-content {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-4xl);
  }
  
  .about-story-text {
    width: 55%;
  }
  
  .about-story-image {
    width: 45%;
    max-width: none;
  }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
  .about-story-content {
    gap: var(--space-5xl);
  }
  
  .about-story-text {
    width: 50%;
  }
  
  .about-story-image {
    width: 50%;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .about-story.section {
    padding: var(--space-3xl) 0;
  }
  
  .about-story-title {
    font-size: var(--text-3xl);
  }
  
  .about-story-body p {
    font-size: var(--text-base);
  }
}

/* ========================================== */
/* OUR VALUES SECTION */
/* ========================================== */

.about-values.section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-black) 100%);
  position: relative;
  overflow: hidden;
}

.about-values.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-red) 50%, 
    transparent 100%);
}

.about-values.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 37, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 37, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Values Header */
.about-values-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.about-values-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--primary-white);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.about-values-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-red) 0%, 
    var(--red-light) 100%);
  border-radius: var(--radius-full);
}

.about-values-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-300);
  line-height: 1.7;
  font-weight: var(--weight-light);
}

/* Value Cards */
.about-value-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
  animation: fadeInUp 0.6s ease-out both;
}

.about-value-card:nth-child(1) { animation-delay: 0.1s; }
.about-value-card:nth-child(2) { animation-delay: 0.2s; }
.about-value-card:nth-child(3) { animation-delay: 0.3s; }

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

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(139, 37, 0, 0.15), 
    transparent);
  transition: left var(--transition-slow);
  z-index: -1;
}

.about-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 37, 0, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    var(--glow-red);
}

.about-value-card:hover::before {
  left: 100%;
}

/* Value Icon */
.about-value-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, 
    var(--primary-red) 0%, 
    var(--red-dark) 100%);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.about-value-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left var(--transition-slow);
}

.about-value-card:hover .about-value-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(139, 37, 0, 0.5);
}

.about-value-card:hover .about-value-icon::before {
  left: 100%;
}

/* Value Name */
.about-value-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--primary-white);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.about-value-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-red);
  transition: width var(--transition-slow);
}

.about-value-card:hover .about-value-name::after {
  width: 40px;
}

/* Value Description */
.about-value-description {
  color: var(--gray-300);
  line-height: 1.7;
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  transition: color var(--transition-base);
}

.about-value-card:hover .about-value-description {
  color: var(--gray-200);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .about-values.section {
    padding: var(--space-3xl) 0;
  }
  
  .about-values-title {
    font-size: var(--text-3xl);
  }
  
  .about-value-card {
    padding: var(--space-xl);
  }
  
  .about-value-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-2xl);
  }
}

/* ========================================== */
/* DISCOUNTS SECTION - REORGANIZED 2x2 GRID */
/* ========================================== */

.about-discounts.section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.about-discounts.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-red) 50%, 
    transparent 100%);
}

/* Discounts Header - Centered */
.about-discounts-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-discounts-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-md);
}

.about-discounts-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-red) 0%, 
    var(--red-light) 100%);
  border-radius: var(--radius-full);
}

.about-discounts-intro {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: var(--weight-light);
}

/* Discounts Grid - 2x2 Layout */
.about-discounts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

/* Discount Item Cards */
.about-discount-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--primary-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.about-discount-item:nth-child(1) { animation-delay: 0.1s; }
.about-discount-item:nth-child(2) { animation-delay: 0.2s; }
.about-discount-item:nth-child(3) { animation-delay: 0.3s; }
.about-discount-item:nth-child(4) { animation-delay: 0.4s; }

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

.about-discount-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(139, 37, 0, 0.03), 
    transparent);
  transition: left var(--transition-slow);
}

.about-discount-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}

.about-discount-item:hover::before {
  left: 100%;
}

/* Discount Icon */
.about-discount-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, 
    rgba(139, 37, 0, 0.1) 0%, 
    rgba(139, 37, 0, 0.05) 100%);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.about-discount-item:hover .about-discount-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, 
    var(--primary-red) 0%, 
    var(--red-dark) 100%);
  box-shadow: var(--glow-red);
}

/* Discount Text */
.about-discount-text {
  width: 100%;
}

.about-discount-text strong {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  line-height: 1.4;
}

/* Tablet - 2 columns */
@media (min-width: 768px) {
  .about-discounts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

/* Desktop enhancements */
@media (min-width: 1024px) {
  .about-discounts-grid {
    gap: var(--space-3xl);
  }
  
  .about-discount-item {
    padding: var(--space-3xl);
  }
  
  .about-discount-icon {
    font-size: 4rem;
    width: 90px;
    height: 90px;
  }
}

/* Mobile responsive */
@media (max-width: 767px) {
  .about-discounts.section {
    padding: var(--space-3xl) 0;
  }
  
  .about-discounts-title {
    font-size: var(--text-3xl);
  }
  
  .about-discounts-intro {
    font-size: var(--text-base);
  }
  
  .about-discount-item {
    padding: var(--space-xl);
  }
  
  .about-discount-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
  }
  
  .about-discount-text strong {
    font-size: var(--text-lg);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .about-discount-item {
    animation: none;
  }
  
  .about-discount-item:hover {
    transform: none;
  }
  
  .about-discount-item:hover .about-discount-icon {
    transform: none;
  }
}

/* ========================================== */
/* CREDENTIALS SECTION */
/* ========================================== */

.about-credentials.section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-black) 100%);
  position: relative;
  overflow: hidden;
}

.about-credentials.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-red) 50%, 
    transparent 100%);
}

.about-credentials.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(139, 37, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 37, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Credentials Header */
.about-credentials-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.about-credentials-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--primary-white);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.about-credentials-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-red) 0%, 
    var(--red-light) 100%);
  border-radius: var(--radius-full);
}

.about-credentials-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-300);
  line-height: 1.7;
  font-weight: var(--weight-light);
}

/* Credentials Grid */
.about-credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Credential Cards */
.about-credential-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
  animation: fadeInUp 0.6s ease-out both;
}

.about-credential-card:nth-child(1) { animation-delay: 0.1s; }
.about-credential-card:nth-child(2) { animation-delay: 0.2s; }
.about-credential-card:nth-child(3) { animation-delay: 0.3s; }

.about-credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(139, 37, 0, 0.15), 
    transparent);
  transition: left var(--transition-slow);
  z-index: -1;
}

.about-credential-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 37, 0, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    var(--glow-red);
}

.about-credential-card:hover::before {
  left: 100%;
}

/* Credential Icon */
.about-credential-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, 
    var(--primary-red) 0%, 
    var(--red-dark) 100%);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.about-credential-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left var(--transition-slow);
}

.about-credential-card:hover .about-credential-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(139, 37, 0, 0.5);
}

.about-credential-card:hover .about-credential-icon::before {
  left: 100%;
}

/* Credential Name */
.about-credential-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--primary-white);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.about-credential-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-red);
  transition: width var(--transition-slow);
}

.about-credential-card:hover .about-credential-name::after {
  width: 40px;
}

/* Credential Description */
.about-credential-description {
  color: var(--gray-300);
  line-height: 1.7;
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  transition: color var(--transition-base);
}

.about-credential-card:hover .about-credential-description {
  color: var(--gray-200);
}

/* Tablet Grid */
@media (min-width: 768px) {
  .about-credentials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .about-credentials.section {
    padding: var(--space-3xl) 0;
  }
  
  .about-credentials-title {
    font-size: var(--text-3xl);
  }
  
  .about-credential-card {
    padding: var(--space-xl);
  }
  
  .about-credential-icon {
    width: 60px;
    height: 60px;
    font-size: var(--text-2xl);
  }
}


/* ========================================== */
/* REDUCED MOTION SUPPORT */
/* ========================================== */

@media (prefers-reduced-motion: reduce) {
  .about-story-text,
  .about-story-image,
  .about-value-card,
  .about-discount-item,
  .about-credential-card,
  .about-cta-content {
    animation: none;
  }
  
  .about-story-image img,
  .about-discounts-image img,
  .about-value-card,
  .about-credential-card,
  .about-discount-item,
  .about-cta-contact {
    transition: none;
  }
  
  .about-story-image:hover img,
  .about-discounts-image:hover img,
  .about-value-card:hover,
  .about-credential-card:hover,
  .about-discount-item:hover,
  .about-cta-contact:hover {
    transform: none;
  }
}

/* ========================================== */
/* HIGH CONTRAST SUPPORT */
/* ========================================== */

@media (prefers-contrast: high) {
  .about-value-card,
  .about-credential-card {
    background: var(--gray-800);
    border: 2px solid var(--gray-600);
  }
  
  .about-value-card:hover,
  .about-credential-card:hover {
    border-color: var(--primary-red);
  }
  
  .about-discount-item {
    border: 2px solid var(--gray-300);
  }
  
  .about-discount-item:hover {
    border-color: var(--primary-red);
  }
}