/* Bootstrap 5 CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* FontAwesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Sal.js Animation CSS */
@import url('https://unpkg.com/sal.js@0.8.5/dist/sal.css');

/* Custom Color Variables for Puzzle Store */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-purple: #6744ab;
  --primary-coral: #ff828a;
  --primary-mint: #a0dcd7;
  --primary-lavender: #b393d4;
  --primary-peach: #ecaf6f;
  
  /* Light Shades */
  --light-purple: #ccabcf;
  --light-coral: #eab6b1;
  --light-mint: #ccecf0;
  --light-lavender: #f5ddf7;
  --light-peach: #fffef4;
  
  /* Dark Shades */
  --dark-purple: #490a89;
  --dark-coral: #c2311a;
  --dark-mint: #034d35;
  --dark-lavender: #3c2395;
  --dark-peach: #f86e14;
  
  /* Neutral Colors */
  --text-dark: #424242;
  --text-light: #5f5f5f;
  --bg-light: #FAFAFA;
  --white: #FFFFFF;
}

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

/* Navbar Brand - Conservative Size */
.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--primary-purple);
}

/* Headings - Conservative Sizes */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-purple);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark-purple);
  margin-bottom: 0.5rem;
}

/* Paragraph - Conservative Size */
p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: var(--light-coral);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-purple);
  border-color: var(--dark-purple);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-purple);
  border-color: var(--primary-purple);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-purple);
  border-color: var(--primary-purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-lavender));
  color: var(--white);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 2rem;
}

/* Price Cards */
.price-card {
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-coral), var(--primary-mint));
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--white);
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-purple);
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  height: 100%;
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-coral);
  margin-bottom: 1rem;
}

/* Review Cards */
.review-card {
  background: var(--light-lavender);
  border-left: 4px solid var(--primary-lavender);
}

.review-card .card-body {
  position: relative;
}

.review-card .card-body::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  color: var(--primary-lavender);
  opacity: 0.3;
}

/* FAQ Cards */
.faq-card {
  background: var(--bg-light);
  margin-bottom: 1rem;
}

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

.faq-answer {
  color: var(--text-light);
}

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

.form-control {
  border: 2px solid var(--light-purple);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(138, 97, 168, 0.25);
}

/* Footer - High Contrast Colors Only */
.footer {
  background-color: var(--light-lavender);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-purple);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  background-color: var(--light-purple);
  padding: 1rem 0;
  margin-top: 2rem;
}

/* 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 {
  height: 100%;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

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

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

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-coral), var(--primary-peach));
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: var(--primary-mint);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-mint);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 25px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--light-mint);
}

.timeline-item:last-child::after {
  display: none;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
}

/* Accessibility - Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

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

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, var(--light-mint), var(--light-lavender));
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--primary-purple);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

/* Core Info Cards */
.core-info-card {
  background: var(--white);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  border-left: 4px solid var(--primary-coral);
}

.core-info-icon {
  font-size: 2.5rem;
  color: var(--primary-coral);
  margin-bottom: 1rem;
} 

.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;
    }
}
