/* Digital Knitting Patterns - Main Styles */

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Import Swiper */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* Import Lightbox2 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Color Palette Variables */
:root {
  --primary-purple: #7a24a9;
  --primary-teal: #0dd1a9;
  --primary-coral: #ff2779;
  --primary-amber: #e59200;
  --primary-navy: #312245;
  
  --light-purple: #be9ee3;
  --light-teal: #69d6bf;
  --light-coral: #ff6f8d;
  --light-amber: #ffcd6a;
  --light-navy: #5f527c;
  
  --dark-purple: #4c1787;
  --dark-teal: #0d7462;
  --dark-coral: #b31466;
  --dark-amber: #d47600;
  --dark-navy: #2e1a40;
  
  --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--primary-teal));
  --gradient-secondary: linear-gradient(135deg, var(--primary-coral), var(--primary-amber));
  --gradient-accent: linear-gradient(135deg, var(--primary-navy), var(--primary-purple));
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 21.00px;
  line-height: 1.6;
  color: var(--primary-navy);
  overflow-x: hidden;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conservative Typography */
h1 { font-size: 2.22rem; font-weight: 700; }
h2 { font-size: 1.87rem; font-weight: 600; }
h3 { font-size: 1.49rem; font-weight: 600; }
h4 { font-size: 1.29rem; font-weight: 500; }
h5 { font-size: 1.19rem; font-weight: 500; }
h6 { font-size: 1.09rem; font-weight: 500; }
p { font-size: 1.09rem; margin-bottom: 1.16rem; }

/* Header Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(13px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.58rem !important;
  font-weight: 700;
  color: var(--primary-purple) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-navy) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-purple) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: var(--gradient-primary);
  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('../images/knitting-background.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 2.61rem;
  font-weight: 700;
  margin-bottom: 1.69rem;
}

.hero-subtitle {
  font-size: 1.43rem;
  margin-bottom: 2.14rem;
  opacity: 0.9;
}

.hero-image img {
  border-radius: 22px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
}

/* Decorative Shapes */
.decorative-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-coral);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-amber);
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-21px); }
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1.16rem;
  color: var(--primary-navy);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 1.16rem;
  color: var(--primary-purple);
  font-weight: 600;
}

.section-desc {
  text-align: center;
  margin-bottom: 3.07rem;
  color: var(--dark-navy);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #cadae4 100%);
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2.14rem;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3.05rem;
  color: var(--primary-purple);
  margin-bottom: 1.69rem;
}

/* Services Section */
.services-section {
  background: var(--gradient-secondary);
  color: white;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--primary-navy);
  box-shadow: 0 20px 37px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.14rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
}

.service-image img {
  border-radius: 15px;
  margin-bottom: 1.69rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-price {
  font-size: 2.08rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  background: white;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--gradient-accent);
  color: white;
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--primary-navy);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.14rem;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-coral);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.team-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.14rem;
}

.team-card:hover {
  transform: translateY(-13px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 5px solid var(--light-purple);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews Section */
.reviews-section {
  background: var(--gradient-primary);
  color: white;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2.14rem;
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: var(--primary-coral);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
}

/* Case Studies Section */
.casestudy-section {
  background: white;
}

.casestudy-card {
  background: linear-gradient(135deg, var(--light-purple), var(--light-teal));
  border-radius: 20px;
  padding: 2.5rem;
  color: white;
  margin-bottom: 2.14rem;
  text-align: center;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f7fe 100%);
}

.process-step {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.14rem;
  position: relative;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Timeline Section */
.timeline-section {
  background: white;
}

.timeline-item {
  background: var(--gradient-secondary);
  color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2.14rem;
  position: relative;
}

/* Career Section */
.career-section {
  background: var(--gradient-accent);
  color: white;
}

.career-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-navy);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2.14rem;
}

/* Core Info Section */
.coreinfo-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.coreinfo-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.14rem;
}

/* Blog Section */
.blog-section {
  background: white;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2.14rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--dark-purple);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #d9dbde 100%);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1.16rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: var(--primary-purple);
  color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  margin: 0;
  font-size: 1.19rem;
  font-weight: 600;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.58rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  border-top: 1px solid #eee;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery-section {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.20rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  color: white;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  color: var(--primary-navy);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.69rem;
  font-size: 1.09rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(102, 50, 185, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-size: 1.19rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info p {
  margin-bottom: 1.16rem;
  font-size: 1.19rem;
}

.contact-info i {
  margin-right: 1rem;
  color: var(--primary-coral);
}

/* Footer */
.footer {
  background: var(--primary-navy);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.14rem;
}

.footer-section h5 {
  color: var(--primary-coral);
  margin-bottom: 1.69rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.71rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.22rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.08rem;
  text-align: center;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-100px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}



/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
