/*
 * Online Creative Writing Retreats Template
 * Bootstrap 5 based design with conservative typography
 * Pastel high-contrast color palette
 */

/* Color Palette - Pastel High-Contrast */
:root {
  /* Primary Colors */
  --primary-sage: #9BB5A6;
  --primary-lavender: #D4BBFF;
  --primary-peach: #FFD6B8;
  --primary-sky: #B8E3FF;
  --primary-rose: #FFB8D6;
  
  /* Light Shades */
  --light-sage: #E8F1ED;
  --light-lavender: #F4EFFF;
  --light-peach: #FFF2E8;
  --light-sky: #E8F7FF;
  --light-rose: #FFEBF4;
  
  /* Dark Shades */
  --dark-sage: #7A9385;
  --dark-lavender: #B396E6;
  --dark-peach: #E6BD9F;
  --dark-sky: #9FD1E6;
  --dark-rose: #E69FBD;
  
  /* Text Colors */
  --text-primary: #2C3E50;
  --text-secondary: #5A6C7D;
  --text-light: #8FA0B3;
  
  /* Conservative Typography */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
}

/* Conservative Typography Override */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  font-size: var(--font-size-base);
    overflow-x: hidden;
}

/* Conservative Heading Sizes */
.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 600;
  color: var(--primary-sage);
}

h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

h4, h5, h6 {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

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

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

.hero-decorative {
  position: absolute;
  background: var(--primary-peach);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
}

.hero-decorative:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -100px;
  background: var(--primary-sky);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Cards */
.custom-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  height: 100%;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
}

/* Service Cards */
.service-card {
  background: var(--light-sage);
  border-left: 4px solid var(--primary-sage);
}

.service-card .card-icon {
  background: var(--primary-sage);
  color: white;
}

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

.feature-card .card-icon {
  background: var(--primary-lavender);
  color: white;
}

/* Price Plan Cards */
.price-card {
  background: var(--light-peach);
  border-left: 4px solid var(--primary-peach);
}

.price-card .card-icon {
  background: var(--primary-peach);
  color: white;
}

.price-value {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-peach);
}

/* Team Cards */
.team-card {
  background: var(--light-sky);
  border-left: 4px solid var(--primary-sky);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-sky);
}

/* Reviews/Testimonials */
.review-card {
  background: var(--light-rose);
  border-left: 4px solid var(--primary-rose);
}

.review-card .card-icon {
  background: var(--primary-rose);
  color: white;
}

/* Case Study Cards */
.casestudy-card {
  background: var(--light-sage);
  border-left: 4px solid var(--dark-sage);
}

/* Process Cards */
.process-card {
  background: var(--light-lavender);
  border-left: 4px solid var(--dark-lavender);
  position: relative;
}

.process-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-lavender);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Timeline Cards */
.timeline-card {
  background: var(--light-peach);
  border-left: 4px solid var(--dark-peach);
}

/* Career Cards */
.career-card {
  background: var(--light-sky);
  border-left: 4px solid var(--dark-sky);
}

/* Core Info Cards */
.coreinfo-card {
  background: var(--light-rose);
  border-left: 4px solid var(--dark-rose);
}

/* Contact Form */
.contact-form {
  background: var(--light-sage);
  border-radius: 15px;
  padding: 2rem;
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--primary-sage);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--dark-sage);
  box-shadow: 0 0 0 0.25rem rgba(155, 181, 166, 0.25);
}

.btn-primary {
  background: var(--primary-sage);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* FAQ Cards */
.faq-card {
  background: var(--light-lavender);
  border: 1px solid var(--primary-lavender);
  margin-bottom: 1rem;
}

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

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

/* Blog Cards */
.blog-card {
  background: var(--light-sky);
  border-left: 4px solid var(--primary-sky);
}

/* Gallery */
.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  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);
}

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

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

.footer a {
  color: #E8F1ED;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--text-secondary);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-sage);
}

.breadcrumb-image {
  height: 30px;
  width: auto;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-2xl);
  }
  
  h2 {
    font-size: var(--font-size-xl);
  }
  
  .hero-section {
    text-align: center;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Animation Support - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .sal-animate {
    transition: all 0.5s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
}


.hero-section h1 {
    padding-top: 200px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
