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

:root {
  /* Primary Color Palette - Pastel High-Contrast Colors */
  --primary-blue: #4A90E2;
  --primary-blue-light: #E8F4FD;
  --primary-blue-dark: #2C5AA0;
  
  --secondary-green: #7ED321;
  --secondary-green-light: #F0FDE4;
  --secondary-green-dark: #5CB615;
  
  --accent-orange: #F5A623;
  --accent-orange-light: #FEF7E6;
  --accent-orange-dark: #D18A00;
  
  --neutral-gray: #9B9B9B;
  --neutral-gray-light: #F5F5F5;
  --neutral-gray-dark: #4A4A4A;
  
  --highlight-purple: #9013FE;
  --highlight-purple-light: #F3E5FF;
  --highlight-purple-dark: #6200EA;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --line-height-base: 1.6;
}

/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: var(--line-height-base);
  color: var(--neutral-gray-dark);
  background-color: #ffffff;
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
}

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

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--neutral-gray-dark);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--neutral-gray-dark);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--neutral-gray-dark);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* Header */
.navbar {
  background-color: var(--primary-blue-light);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  color: var(--primary-blue-dark);
}

.navbar-nav .nav-link {
  color: var(--neutral-gray-dark);
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Hero Section - Full Height */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--secondary-green-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--accent-orange);
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(50%, -50%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: var(--highlight-purple);
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(-50%, 50%);
}

/* Services Cards */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-blue-light);
}

/* Reviews/Testimonials */
.review-card {
  background: var(--neutral-gray-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* FAQ Section */
.faq-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: none;
}

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

.faq-answer {
  color: var(--neutral-gray-dark);
  margin-bottom: 0;
}

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

.form-control {
  border-radius: 8px;
  border: 1px solid var(--neutral-gray);
  padding: 0.75rem;
}

.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(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

/* Footer - High Contrast Colors Only */
.footer {
  background-color: var(--neutral-gray-dark);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-blue-light);
  text-decoration: underline;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

/* Process/Timeline Steps */
.process-step {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-blue);
}

/* Case Studies */
.case-study-card {
  background: var(--secondary-green-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* Career/Jobs */
.career-card {
  background: var(--accent-orange-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* Core Info */
.core-info-card {
  background: var(--highlight-purple-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* Price Plan */
.price-plan-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--primary-blue-light);
  text-align: center;
}

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

/* Blog */
.blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: none;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
}

/* Utility Classes */
.section-padding {
  padding: 5rem 0;
}

.text-primary-custom {
  color: var(--primary-blue);
}

.bg-light-custom {
  background-color: var(--neutral-gray-light);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

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


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

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

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
