/* ==============================================
   BOUTIQUE PUZZLE STORE - MAIN STYLES
   Bootstrap 5 Integration - NO OVERRIDES
   ============================================== */

/* Color Palette - 5 Primary Colors + Shades */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-lavender: #b193d9;
  --primary-sage: #c1d0b9;
  --primary-coral: #db9099;
  --primary-cream: #fffefc;
  --primary-slate: #7e7e82;
  
  /* Light Shades */
  --light-lavender: #ece2ff;
  --light-sage: #c8d0c3;
  --light-coral: #ffd7d5;
  --light-cream: #FDFCF8;
  --light-slate: #e0e0e0;
  
  /* Dark Shades */
  --dark-lavender: #7a6ba3;
  --dark-sage: #83a27d;
  --dark-coral: #d8736e;
  --dark-cream: #e8dfce;
  --dark-slate: #484b5c;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-medium: 1.125rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;
}

/* Global Styles */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-slate);
  background-color: var(--light-cream);
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-lavender);
}

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

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark-slate);
  margin-bottom: 0.75rem;
}

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

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

h5 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

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

/* Section Spacing */
.section-padding {
  padding: var(--section-padding);
}

/* Header Styles */
.navbar {
  background-color: var(--primary-cream);
  box-shadow: 0 2px 4px rgba(139, 140, 164, 0.10);
}

.navbar-nav .nav-link {
  color: var(--dark-slate);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-lavender);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-lavender) 0%, var(--light-sage) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Add padding to prevent header overlap */
}

.hero-content h1 {
  color: var(--dark-slate);
}

.hero-content p {
  color: var(--primary-slate);
  font-size: var(--font-size-medium);
}

/* Card Styles */
.puzzle-card {
  background: white;
  border-radius: 8px;
  padding: var(--card-padding);
  box-shadow: 0 4px 6px rgba(130, 129, 134, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  height: 100%;
}

.puzzle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(109, 109, 121, 0.20);
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 8px;
  padding: var(--card-padding);
  box-shadow: 0 4px 6px rgba(115, 114, 126, 0.15);
  transition: transform 0.3s ease;
  border: none;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-price {
  color: var(--primary-coral);
  font-weight: 700;
  font-size: 1.5rem;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(118, 117, 125, 0.15);
  border: none;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: var(--light-sage);
}

/* Review Cards */
.review-card {
  background: white;
  border-radius: 8px;
  padding: var(--card-padding);
  box-shadow: 0 4px 6px rgba(115, 114, 136, 0.15);
  border: none;
  height: 100%;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 8px;
  padding: var(--card-padding);
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(146, 144, 164, 0.10);
  border: none;
}

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

.faq-answer {
  color: var(--primary-slate);
}

/* Button Styles */
.btn-puzzle-primary {
  background-color: var(--primary-lavender);
  border-color: var(--primary-lavender);
  color: white;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

.btn-puzzle-secondary {
  background-color: var(--primary-sage);
  border-color: var(--primary-sage);
  color: white;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

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

/* Form Styles */
.form-control {
  border: 2px solid var(--light-slate);
  border-radius: 6px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-lavender);
  box-shadow: 0 0 0 0.2rem rgba(174, 159, 194, 0.25);
}

/* Contact Info */
.contact-info {
  background: var(--light-lavender);
  border-radius: 8px;
  padding: var(--card-padding);
}

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

.contact-info-item i {
  color: var(--primary-lavender);
  margin-right: 1rem;
  width: 20px;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(125, 127, 149, 0.15);
}

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

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

/* Footer */
.footer {
  background-color: var(--dark-slate);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-lavender);
  margin-bottom: 1rem;
}

.footer p,
.footer a {
  color: var(--light-slate);
  text-decoration: none;
}

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

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

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--light-coral);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-decoration-1 {
  top: 10%;
  right: 10%;
}

.hero-decoration-2 {
  bottom: 20%;
  left: 10%;
  background: var(--light-sage);
}

/* Price Badge */
.price-badge {
  background: var(--primary-coral);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

/* Icon Styles */
.icon-large {
  font-size: 3rem;
  color: var(--primary-lavender);
  margin-bottom: 1rem;
}

.icon-medium {
  font-size: 2rem;
  color: var(--primary-sage);
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  max-height: 20px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(153, 155, 165, 0.15);
  border: none;
}

.blog-card-body {
  padding: var(--card-padding);
}

/* Utilities */
.text-puzzle-primary {
  color: var(--primary-lavender);
}

.text-puzzle-secondary {
  color: var(--primary-sage);
}

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

.bg-puzzle-section {
  background-color: var(--primary-cream);
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

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

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

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

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

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

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

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

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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

/* Force all elements to be visible regardless of animation state */
[data-sal], 
[data-sal]::before, 
[data-sal]::after,
.sal-animate, 
[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;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

.hero-content {
  padding-top: 100px; /* Add more padding for the hero content */
}
