/* Smart Home Device Installation Service - Main CSS */

:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-blue: #4A90E2;
  --primary-green: #7ED321;
  --primary-orange: #F5A623;
  --primary-purple: #BD10E0;
  --primary-teal: #50E3C2;
  
  /* Light/Dark Shades */
  --light-blue: #E8F4FD;
  --dark-blue: #2C5282;
  --light-green: #F0FCE8;
  --dark-green: #4A7C15;
  --light-orange: #FEF5E7;
  --dark-orange: #CC8A00;
  --light-purple: #F8E8FF;
  --dark-purple: #8B0A8B;
  --light-teal: #E8FCF8;
  --dark-teal: #38B2AC;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #343A40;
  --black: #000000;
}

/* Conservative Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

.navbar-brand {
  font-size: 1.1rem !important;
  font-weight: 600;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-blue);
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-blue);
}

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

h4 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-teal) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-shape {
  position: absolute;
  background: var(--primary-teal);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 15%;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
}

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

.section-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--medium-gray);
  margin-bottom: 2rem;
}

/* Services Cards */
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .price {
  color: var(--primary-green);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Features Cards */
.feature-card {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.feature-icon {
  color: var(--primary-orange);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Price Plan Cards */
.price-plan-card {
  background: var(--white);
  border: 2px solid var(--light-blue);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-plan-card.featured {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

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

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-card-body {
  padding: 1.5rem;
}

/* Reviews Cards */
.review-card {
  background: var(--white);
  border-left: 4px solid var(--primary-teal);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-author {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Case Study Cards */
.case-study-card {
  background: var(--light-purple);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-number {
  background: var(--primary-orange);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary-green);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--light-gray);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Cards */
.career-card {
  background: var(--light-green);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.career-role {
  color: var(--primary-green);
  font-weight: 600;
}

/* Core Info Cards */
.core-info-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
}

.core-info-icon {
  color: var(--primary-purple);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: var(--light-blue);
  border-radius: 10px;
  padding: 3rem;
}

.form-control {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Cards */
.faq-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
}

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

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-gray);
}

.breadcrumb-image {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .price-plan-card.featured {
    transform: none;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
