/* 3D-Printing Workshops Template - Main Styles */
/* Bootstrap 5 Integration - NO OVERRIDES */

:root {
  /* 5-Color Palette for 3D-Printing Theme */
  --primary-blue: #5080e5;      /* Tech blue */
  --secondary-orange: #f6be35;  /* Creative orange */
  --accent-purple: #8771f2;     /* Innovation purple */
  --success-green: #9ede38;     /* Success green */
  --neutral-gray: #8b8b8b;      /* Professional gray */
  
  /* Light variants */
  --primary-blue-light: #dce3ed;
  --secondary-orange-light: #ffead7;
  --accent-purple-light: #e6d5e5;
  --success-green-light: #bddfbe;
  --neutral-gray-light: #F5F5F5;
  
  /* Dark variants */
  --primary-blue-dark: #327ebd;
  --secondary-orange-dark: #d5ab1c;
  --accent-purple-dark: #4f41b2;
  --success-green-dark: #52d73e;
  --neutral-gray-dark: #666262;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  
  /* Conservative sizing */
  --navbar-brand-size: 20px;
  --h1-size: 32px;
  --h2-size: 28px;
  --h3-size: 24px;
  --p-size: 16px;
}

/* Base styles */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-gray-dark);
}

/* Header styles */
.navbar {
  background-color: var(--primary-blue-dark) !important;
}

/* Conservative Typography */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: white;
}

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

h2 {
  font-size: var(--h2-size);
  font-weight: 600;
  color: var(--accent-purple-dark);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: var(--h3-size);
  font-weight: 500;
  color: var(--secondary-orange-dark);
  margin-bottom: 0.6rem;
}

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

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

.hero-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--secondary-orange);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decoration:nth-child(1) {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-decoration:nth-child(2) {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  animation: float 4s ease-in-out infinite reverse;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Team Photos */
.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-purple-light);
  margin: 0 auto 1rem;
  display: block;
}

/* Review Cards */
.review-card {
  background: var(--neutral-gray-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--success-green);
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--neutral-gray-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

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

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

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  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);
}

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

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

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

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

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

.btn-secondary {
  background-color: var(--secondary-orange);
  border-color: var(--secondary-orange);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-orange-dark);
  border-color: var(--secondary-orange-dark);
}

/* Footer - High Contrast Only */
footer {
  background-color: var(--primary-blue-dark);
  color: white;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--secondary-orange);
  margin-bottom: 1rem;
}

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

footer a:hover {
  color: white;
}

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

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

.text-secondary-custom {
  color: var(--secondary-orange) !important;
}

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

/* Animation Classes for Sal.js */
.sal-animate {
  transition: all 0.5s ease;
}

/* Fix for sal.js hiding elements - ensure all elements are visible regardless of animation state */
[data-sal] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-decoration {
    animation: none;
  }
  
  .service-card {
    transition: none;
  }
  
  .gallery-item img {
    transition: none;
  }
  
  .sal-animate {
    transition: none;
  }
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
} 

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


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

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

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

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

.x-link i {
    display: none;
}

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