/* All City Appliance Repair - Custom Styles */
/* Brutalist design with electric blue accents on clean white background */

/* Custom Color Palette */
:root {
  --primary-blue: #0A84FF;
  --dark-gray: #1a1a1a;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;
  --text-gray: #333333;
  --white: #ffffff;
  --black: #000000;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-gray);
  background-color: var(--white);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.appliance-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary-blue);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}

.company-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-gray);
  text-decoration: none;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.phone-number {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.cta-button {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.9rem;
}

.cta-button:hover {
  background: #0066cc;
  transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
  background: var(--light-gray);
}

/* Hero Section */
.hero-section {
  background: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(10, 132, 255, 0.05) 0%, rgba(10, 132, 255, 0.02) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.secondary-button {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.secondary-button:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-1px);
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-large {
  padding: 6rem 0;
}

.section-small {
  padding: 3rem 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background: var(--white);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 25px rgba(10, 132, 255, 0.1);
  transform: translateY(-2px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
}

/* Service Grid */
.service-card {
  border: 3px solid var(--border-gray);
  border-radius: 0;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
  border: 2px solid var(--border-gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-gray);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

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

/* Review Card */
.review-card {
  background: var(--white);
  border-left: 4px solid var(--primary-blue);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.review-author {
  font-weight: 700;
  color: var(--dark-gray);
}

.review-location {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Footer */
.appliance-footer {
  background: var(--dark-gray);
  color: var(--white);
  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 h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: #cccccc;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 9999;
  display: block;
}

.cookie-banner-title {
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cookie-banner-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-accept,
.cookie-decline {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 100px;
}

.cookie-accept {
  background: var(--primary-blue);
  color: var(--white);
}

.cookie-accept:hover {
  background: #0066cc;
}

.cookie-decline {
  background: transparent;
  color: var(--text-gray);
  border: 1px solid var(--border-gray);
}

.cookie-decline:hover {
  background: var(--light-gray);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }
.text-primary { color: var(--primary-blue); }
.text-dark { color: var(--dark-gray); }
.text-gray { color: var(--text-gray); }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Contact Page Styles */
.contact-info-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Service Detail Styles */
.service-detail {
  margin-bottom: 4rem;
  padding: 2rem 0;
  background: white;
  border-radius: 8px;
}

.service-detail.bg-light {
  background-color: var(--light-gray);
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 1.5rem;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.faq-question:hover {
  background: #e8f4fd;
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border-gray);
  line-height: 1.6;
  color: var(--text-gray);
}

.faq-icon {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Article Content Styles */
.article-content {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-top: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-info {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 0 15px;
  }
  
  .cookie-consent-banner {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}