/* =============================
   PARKSPOT - Mobile App Template
   ============================= */

:root {
  /* Primary Color Palette - Pastel High Contrast */
  --primary-blue: #4A90E2;
  --primary-green: #7ED321;
  --primary-orange: #F5A623;
  --primary-purple: #9013FE;
  --primary-red: #D0021B;
  
  /* Light Shades */
  --light-blue: #E3F2FD;
  --light-green: #F1F8E9;
  --light-orange: #FFF8E1;
  --light-purple: #F3E5F5;
  --light-red: #FFEBEE;
  
  /* Dark Shades */
  --dark-blue: #1565C0;
  --dark-green: #33691E;
  --dark-orange: #E65100;
  --dark-purple: #4A148C;
  --dark-red: #B71C1C;
  
  /* Neutral Colors */
  --bg-light: #FAFAFA;
  --bg-dark: #212121;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #E0E0E0;
}

/* Typography - Conservative Font Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary-blue);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-decorative {
  position: absolute;
  background: var(--primary-blue);
  opacity: 0.1;
  border-radius: 50%;
}

.hero-blob-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.hero-blob-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--bg-light);
}

/* Card Styles */
.service-card,
.feature-card,
.price-card,
.team-card,
.review-card,
.case-card,
.process-card,
.timeline-card,
.career-card,
.coreinfo-card,
.blog-card,
.faq-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover,
.feature-card:hover,
.price-card:hover,
.team-card:hover,
.review-card:hover,
.case-card:hover,
.process-card:hover,
.timeline-card:hover,
.career-card:hover,
.coreinfo-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
  border-top: 4px solid var(--primary-blue);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

/* Feature Cards */
.feature-card {
  border-top: 4px solid var(--primary-green);
}

/* Price Plan Cards */
.price-card {
  border-top: 4px solid var(--primary-orange);
}

.price-highlight {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
  color: white;
}

/* Team Cards */
.team-card {
  border-top: 4px solid var(--primary-purple);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

/* Review Cards */
.review-card {
  border-left: 4px solid var(--primary-green);
  background-color: var(--light-green);
}

/* Case Study Cards */
.case-card {
  border-top: 4px solid var(--primary-red);
}

/* Process Cards */
.process-card {
  position: relative;
  border-top: 4px solid var(--primary-orange);
}

.process-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-orange);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Timeline Cards */
.timeline-card {
  border-left: 4px solid var(--primary-purple);
}

/* Career Cards */
.career-card {
  border-top: 4px solid var(--primary-blue);
}

/* Core Info Cards */
.coreinfo-card {
  border-top: 4px solid var(--primary-green);
}

/* Contact Form */
.contact-form {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 10px;
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  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(--dark-blue);
  border-color: var(--dark-blue);
}

/* Blog Cards */
.blog-card {
  border-top: 4px solid var(--primary-red);
}

/* FAQ Cards */
.faq-card {
  border-left: 4px solid var(--primary-orange);
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.faq-card .card-body {
  padding: 1.25rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

#faq .row {
  margin-bottom: 1rem;
}

#faq p {
  margin-bottom: 0;
  line-height: 1.5;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--light-blue);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-blue);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Lazy Loading Animation */
.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.lozad {
  opacity: 0;
}

.lozad.fade-in {
  opacity: 1;
}

/* Gallery Loading Effect */
.gallery-item.loaded {
  animation: galleryFadeIn 0.5s ease-in-out;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .fade-in,
  .lozad.fade-in {
    transition: none;
  }
  
  .gallery-item.loaded {
    animation: none;
  }
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 1rem 0;
  background-color: var(--light-blue);
  margin-top: 76px; /* Account for fixed navbar */
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-image {
  max-height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.breadcrumb-image:hover {
  opacity: 1;
}

/* Utilities */
.text-primary-blue { color: var(--primary-blue); }
.text-primary-green { color: var(--primary-green); }
.text-primary-orange { color: var(--primary-orange); }
.text-primary-purple { color: var(--primary-purple); }
.text-primary-red { color: var(--primary-red); }

.bg-primary-blue { background-color: var(--primary-blue); }
.bg-primary-green { background-color: var(--primary-green); }
.bg-primary-orange { background-color: var(--primary-orange); }
.bg-primary-purple { background-color: var(--primary-purple); }
.bg-primary-red { background-color: var(--primary-red); }

.bg-light-blue { background-color: var(--light-blue); }
.bg-light-green { background-color: var(--light-green); }
.bg-light-orange { background-color: var(--light-orange); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-light-red { background-color: var(--light-red); } 

.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

/* FAQ Section */
.faq-wrapper {
  display: block;
  width: 100%;
}

#faq .card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

#faq .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
