/* Mobile Device Screen Repair Kiosk Template - Main Styles */

:root {
  /* Primary Color Palette - Pastel High Contrast */
  --primary-blue: #8bcdeb;
  --primary-green: #bae9bd;
  --primary-orange: #ffc18e;
  --primary-purple: #bdadd3;
  --primary-coral: #ffa8aa;
  
  /* Light & Dark Shades */
  --light-bg: #F8F9FA;
  --dark-text: #3b5463;
  --medium-gray: #828d96;
  --border-light: #cbd5de;
  
  /* Conservative Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-text);
}

/* IMPORTANT: Fix for Sal.js animation issues - force display all content */
[data-sal],
[data-sal="fade"],
[data-sal="slide-up"],
[data-sal="slide-down"],
[data-sal="slide-left"],
[data-sal="slide-right"],
[data-sal="zoom-in"],
[data-sal="zoom-out"],
[data-sal="flip-up"],
[data-sal="flip-down"],
[data-sal="flip-left"],
[data-sal="flip-right"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  visibility: visible !important;
  position: relative !important;
}

/* Ensure all images are displayed */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content is visible in hero section */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-top: 275px;
}

.navbar-brand {
  font-size: var(--font-size-lg) !important;
  font-weight: 600;
}

h1 {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Section Spacing */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--light-bg);
}

/* Services Cards */
.service-card {
  border: 2px solid var(--border-light);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card.featured {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(119, 201, 226, 0.10) 100%);
}

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

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-orange);
  margin: 0 auto 1rem;
  display: block;
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  border-left: 4px solid var(--primary-coral);
  height: 100%;
}

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

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

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
}

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

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 12px 30px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #699bb4;
  border-color: #5a8daf;
}

/* Footer */
.footer {
  background-color: var(--dark-text);
  color: white;
  padding: 60px 0 20px;
}

.footer h5 {
  color: var(--primary-green);
}

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

.footer a:hover {
  color: white;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

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

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

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

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

.blog-content {
  padding: 1.5rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--primary-orange);
  margin-bottom: 2rem;
}

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

/* Career Cards */
.career-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.career-card:hover {
  border-color: var(--primary-purple);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 20px 0;
  background-color: var(--light-bg);
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::before {
    animation: none;
  }
}

/* Navbar Scrolled State */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.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-coral { color: var(--primary-coral); }

.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-coral { background-color: var(--primary-coral); } 


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

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