/*
Theme Name: Easy Website Child Theme
Template: easywebsite
Tags: one-column, two-columns, right-sidebar,left-sidebar, flexible-content, accessibility-ready, custom-colors, custom-logo, editor-style, featured-images, theme-options, translation-ready
*/

#cp-branding:after{background: rgba(0,0,0,.4);}
.cp-testimoni-box p,.blog-post .date-time, .blog-post p,.news-content-detail td,.single .date-time{
	    color: #707070 !important;
}
.news-content-detail td{
	    border: none  !important;
}

.cp-testimoni-author strong {
    color: #008ed6 !important;
}


/* AllState Cleaning - Professional Page Styling */
/* Brand Color: #008ed6 (Blue) with complementary colors */

/* ===== GLOBAL STYLES ===== */
:root {
  --primary-color: #008ed6;
  --primary-dark: #006ba3;
  --primary-light: #4db8e8;
  --secondary-color: #2c5530;
  --accent-color: #4a7c59;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
}

/* Page Container */
.allstate-page {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== TYPOGRAPHY ===== */
.allstate-page h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 15px;
  text-align: center;
}

.allstate-page h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  position: relative;
  padding-left: 20px;
}

.allstate-page h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 2px;
}

.allstate-page h3 {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
}

.allstate-page p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ===== CALL-TO-ACTION SECTIONS ===== */
.allstate-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 40px 30px;
  margin: 40px 0;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 142, 214, 0.3);
  position: relative;
  overflow: hidden;
}

.allstate-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.allstate-cta-section h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.allstate-cta-section p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-phone, .cta-quote {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  min-width: 200px;
  justify-content: center;
}

.cta-phone {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
}

.cta-phone:hover {
  background: var(--background-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: var(--primary-dark);
}

.cta-quote {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(10px);
}

.cta-quote:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* CTA Features List */
.cta-features {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-features span {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.service-card {
  background: var(--white);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 142, 214, 0.2);
  border-color: var(--primary-light);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-card h3 a:hover {
  color: var(--primary-dark);
}

.service-card p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.service-card ul li {
  padding: 5px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
  padding-left: 20px;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.service-card .learn-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-card .learn-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.service-card .learn-more::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-card .learn-more:hover::after {
  transform: translateX(3px);
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
  background: var(--background-light);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  border-left: 5px solid var(--primary-color);
}

.benefits-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list ul li {
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  position: relative;
  padding-left: 40px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.benefits-list ul li:last-child {
  border-bottom: none;
}

.benefits-list ul li::before {
  content: '🏆';
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 1.2rem;
}

.benefits-list ul li strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ===== LOCATION INFO ===== */
.location-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
  border: 1px solid #dee2e6;
}

.location-info h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.location-info h3::before {
  content: '📍';
  margin-right: 10px;
  font-size: 1.2rem;
}

.zip-codes {
  background: var(--white);
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid var(--primary-color);
}

.zip-codes strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ===== RELATED SERVICES ===== */
.related-services {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-top: 4px solid var(--accent-color);
}

.related-services h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  text-align: center;
}

.related-services ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.related-services ul li {
  background: var(--background-light);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.related-services ul li:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 142, 214, 0.3);
}

.related-services ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.related-services ul li:hover a {
  color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .allstate-page {
    padding: 15px;
  }
  
  .allstate-page h1 {
    font-size: 2rem;
    text-align: left;
  }
  
  .allstate-page h2 {
    font-size: 1.6rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-phone, .cta-quote {
    width: 100%;
    max-width: 300px;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .related-services ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .allstate-cta-section {
    padding: 25px 20px;
  }
  
  .allstate-cta-section h3 {
    font-size: 1.5rem;
  }
  
  .cta-phone, .cta-quote {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .service-card, .benefits-list, .location-info, .related-services {
    padding: 20px;
  }
}

/* ===== PROFESSIONAL TOUCHES ===== */
.professional-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--success) 0%, #20c997 100%);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 10px 5px;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.professional-badge::before {
  content: '✓';
  margin-right: 8px;
  font-weight: bold;
}

/* Guarantee Box */
.guarantee-box {
  background: linear-gradient(135deg, var(--warning) 0%, #ffdb4d 100%);
  color: #333;
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  border: 2px solid #fff;
}

.guarantee-box strong {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}

/* Loading Animation for Interactive Elements */
.cta-phone:active, .cta-quote:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

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

/* Focus States for Accessibility */
.cta-phone:focus, .cta-quote:focus {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .allstate-cta-section, .related-services {
    background: var(--white) !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
  }
  
  .cta-phone, .cta-quote {
    border: 2px solid var(--primary-color) !important;
    background: var(--white) !important;
    color: var(--primary-color) !important;
  }
}