/* Knitting Club Main CSS */
/* Color Palette - 5 primary colors with light/dark shades */
:root {
  /* Primary Colors */
  --color-primary: #8B4B9F; /* Deep Purple */
  --color-secondary: #E6A4C4; /* Soft Pink */
  --color-accent: #F5E6D3; /* Warm Cream */
  --color-neutral: #6B7280; /* Gray */
  --color-highlight: #FF6B9D; /* Bright Pink */
  
  /* Light Shades */
  --color-primary-light: #B577CC;
  --color-secondary-light: #F0C7DD;
  --color-accent-light: #FAF2E8;
  --color-neutral-light: #9CA3AF;
  --color-highlight-light: #FFB3D1;
  
  /* Dark Shades */
  --color-primary-dark: #5F3471;
  --color-secondary-dark: #C4839B;
  --color-accent-dark: #E0CDB0;
  --color-neutral-dark: #4B5563;
  --color-highlight-dark: #E55A8A;
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-small: 0.875rem;
  --navbar-brand-size: 1.5rem;
}

/* Base Styles */
* {
  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(--color-neutral-dark);
  margin: 0;
  padding: 0;
  background-color: var(--color-accent-light);
}

/* Typography - Conservative Sizes */
h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Navbar - Conservative Logo Size */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--color-primary-dark) !important;
}

/* Hero Section - Fullscreen */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(139, 75, 159, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.1;
  z-index: 1;
}

.hero-blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.hero-blob-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--color-accent);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 75, 159, 0.2);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-highlight);
  margin: 1rem 0;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(139, 75, 159, 0.1);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--color-secondary);
}

/* Price Plan Section */
.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.priceplan-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

.priceplan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-highlight));
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
}

.form-control {
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(139, 75, 159, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-highlight));
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.3);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-highlight-dark));
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-neutral-dark));
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-secondary-light);
}

/* Breadcrumbs */
.breadcrumb {
  background: none;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* FAQ Section */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(139, 75, 159, 0.1);
  border: 1px solid var(--color-accent);
}

.faq-question {
  background: var(--color-accent);
  padding: 1rem 1.5rem;
  margin: 0;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.faq-answer {
  padding: 1rem 1.5rem;
  margin: 0;
  border-top: 1px solid var(--color-accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
}

.blog-card-body {
  padding: 1.5rem;
}

/* Process/Timeline Sections */
.process-grid, .timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-item, .timeline-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(139, 75, 159, 0.1);
  position: relative;
}

.process-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Reviews/Testimonials */
.reviews-slider {
  margin-top: 2rem;
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
  text-align: center;
}

/* Career Section */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.career-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
}

/* Case Studies */
.casestudy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.casestudy-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(139, 75, 159, 0.1);
  border: 2px solid var(--color-accent);
}

/* Core Info Section */
.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.coreinfo-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(139, 75, 159, 0.1);
  text-align: center;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Animations and Transitions */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.text-highlight { color: var(--color-highlight) !important; }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-accent { background-color: var(--color-accent) !important; }
.bg-highlight { background-color: var(--color-highlight) !important; }

.gradient-bg {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Strong Contrast for Text */
.hero-section, .footer {
  color: white;
}

.hero-section h1, .hero-section h2, .hero-section h3 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Ensure proper contrast */
.card-title, .service-card h3, .feature-item h4 {
  color: var(--color-primary-dark);
}

.service-card p, .feature-item p {
  color: var(--color-neutral-dark);
} 