/* Jigsaw Puzzle E-Shop Template - Main CSS */

:root {
  /* Primary Color Palette */
  --primary-color: #3d5a80;
  --secondary-color: #98c1d9;
  --accent-color: #e0fbfc;
  --warning-color: #ee6c4d;
  --success-color: #293241;
  
  /* Light/Dark Shades */
  --primary-light: #5a7ba3;
  --primary-dark: #2a4059;
  --secondary-light: #b8d4e8;
  --secondary-dark: #78a1b9;
  --accent-light: #f0fcfd;
  --accent-dark: #c0f5f7;
  --warning-light: #f28a70;
  --warning-dark: #d14a2a;
  --success-light: #404757;
  --success-dark: #1a1f28;
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --h1-size: 2rem;
  --h2-size: 1.75rem;
  --h3-size: 1.5rem;
  --h4-size: 1.25rem;
  --navbar-brand-size: 1.5rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--success-color);
  background-color: #ffffff;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: var(--h1-size); font-weight: 700; }
h2 { font-size: var(--h2-size); font-weight: 600; }
h3 { font-size: var(--h3-size); font-weight: 600; }
h4 { font-size: var(--h4-size); font-weight: 500; }
h5, h6 { font-size: var(--font-size-lg); font-weight: 500; }

p { font-size: var(--font-size-base); margin-bottom: 1rem; }

/* Navbar */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar {
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-light));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--warning-color) !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../FIT_images/hero-jigsaw-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Decorative Shapes */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--warning-color), var(--secondary-color));
  opacity: 0.1;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 10%;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--accent-color), white);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--warning-color);
  margin: 1rem 0;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: var(--accent-light);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--secondary-color);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
}

.gallery-item {
  margin-bottom: 2rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--accent-color);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
  display: none;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background: var(--secondary-light);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--success-color));
  color: white;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(61, 90, 128, 0.25);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
}

/* Footer */
.footer {
  background: var(--success-color);
  color: white;
  padding: 50px 0 20px;
}

.footer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 20px 0;
  background: var(--accent-light);
}

.breadcrumb img {
  max-height: 30px;
  width: auto;
}

/* Utility Classes */
.section-title {
  font-size: var(--h2-size);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--success-color);
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--success-dark);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.text-contrast {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
