/*!
 * Zero-Waste DIY Candle Refill Kiosk Template
 * Main CSS - Bootstrap 5 Based
 * 2025 Modern Design
 */

/* Import Bootstrap 5 from CDN */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors */
  --primary-green: #5aa352;
  --primary-cream: #fdfbe6;
  --primary-orange: #ea6900;
  --primary-blue: #88bddf;
  --primary-purple: #e5bfeb;
  
  /* Light Shades */
  --light-green: #8ac193;
  --light-cream: #FFFEF7;
  --light-orange: #ffd158;
  --light-blue: #c2e3ff;
  --light-purple: #f1b1ff;
  
  /* Dark Shades */
  --dark-green: #2a652f;
  --dark-cream: #eaddad;
  --dark-orange: #c86700;
  --dark-blue: #3a679c;
  --dark-purple: #a178cd;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  --gradient-secondary: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  --gradient-accent: linear-gradient(135deg, var(--light-cream), var(--primary-cream));
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1rem;
}

/* Base Styles */
body {
  font-family: 'Arial', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #3f3f3f;
  overflow-x: hidden;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
header {
  background: var(--gradient-primary);
  box-shadow: 0 4px 111px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.27rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: var(--font-weight-medium);
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-cream);
}

/* Hero Section */
.hero-section {
  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/hero-bg.webp') center/cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
    padding-top: 250px;
}

.hero-title {
  font-size: 2.60rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--font-size-large);
  margin-bottom: 1.59rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--font-size-base);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.section-subtitle {
  font-size: var(--font-size-large);
  text-align: center;
  margin-bottom: 1.58rem;
  color: var(--dark-blue);
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #6c6c6c;
}

/* About Section */
.about-section {
  background: var(--gradient-accent);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 9px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-7px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.about-feature h4 {
  font-size: 1.36rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

/* Services Section */
.services-section {
  background: white;
}

.service-card {
  background: var(--gradient-secondary);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: white;
  box-shadow: 0 13px 29px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-13px);
  box-shadow: 0 16px 310px rgba(0,0,0,0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.55rem;
}

.service-card h4 {
  font-size: 1.57rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.70rem;
  opacity: 0.9;
}

.service-price {
  font-size: 1.78rem;
  font-weight: var(--font-weight-bold);
  color: var(--light-cream);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.25rem 0;
  opacity: 0.8;
}

.service-features li i {
  color: var(--light-cream);
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  background: var(--gradient-accent);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-item i {
  font-size: 2.64rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.36rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

/* Price Plan Section */
.priceplan-section {
  background: white;
}

.price-card {
  background: var(--gradient-primary);
  border-radius: 19px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 9px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card h4 {
  font-size: 1.52rem;
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: 2.64rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.71rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-card li {
  padding: 0.5rem 0;
  opacity: 0.9;
}

.price-card li i {
  color: var(--light-cream);
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  background: var(--gradient-accent);
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-green);
}

.team-member h4 {
  font-size: 1.36rem;
  margin-bottom: 0.71rem;
  color: var(--dark-green);
}

.team-member p {
  color: var(--dark-blue);
  font-weight: var(--font-weight-medium);
}

/* Reviews Section */
.reviews-section {
  background: white;
}

.review-card {
  background: var(--gradient-secondary);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: white;
  box-shadow: 0 11px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.60rem;
  font-size: var(--font-size-large);
}

.review-author {
  font-weight: var(--font-weight-bold);
  color: var(--light-cream);
}

/* Case Study Section */
.casestudy-section {
  background: var(--gradient-accent);
}

.case-study-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-card h4 {
  font-size: 1.33rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

/* Process Section */
.process-section {
  background: white;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-primary);
  border-radius: 15px;
  margin-bottom: 2rem;
  color: white;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: scale(1.05);
}

.process-step i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--light-cream);
}

.process-step h4 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--gradient-accent);
}

.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-green);
}

.timeline-item h4 {
  font-size: 1.31rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

/* Career Section */
.career-section {
  background: white;
}

.career-item {
  background: var(--gradient-secondary);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: white;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-item h4 {
  font-size: 1.33rem;
  margin-bottom: 1rem;
}

.career-role {
  font-weight: var(--font-weight-bold);
  color: var(--light-cream);
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  background: var(--gradient-accent);
}

.coreinfo-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 2.57rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.coreinfo-item h4 {
  font-size: 1.36rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

/* Contact Section */
.contact-section {
  background: white;
  padding: 5rem 0;
}

.contact-form {
  background: var(--gradient-primary);
  border-radius: 15px;
  padding: 3rem;
  color: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-form .form-control {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: white;
  padding: 1rem;
  margin-bottom: 1rem;
}

.contact-form .form-control::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form .form-control:focus {
  background: rgba(255,255,255,0.2);
  border-color: var(--light-cream);
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  background: var(--primary-orange);
  border: none;
  padding: 1rem 2rem;
  font-weight: var(--font-weight-bold);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  background: var(--dark-orange);
  transform: translateY(-2px);
}

.contact-info {
  background: var(--gradient-accent);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.contact-info h4 {
  color: var(--dark-green);
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.contact-info i {
  color: var(--primary-green);
  margin-right: 1rem;
  width: 20px;
}

/* Blog Section */
.blog-section {
  background: var(--gradient-accent);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
}

.blog-card h4 {
  font-size: 1.32rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.blog-card a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.blog-card a:hover {
  color: var(--dark-blue);
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-card {
  background: var(--gradient-accent);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.63rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
}

.faq-question {
  font-weight: var(--font-weight-bold);
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-size: var(--font-size-large);
}

.faq-answer {
  color: #5e5756;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  background: var(--gradient-accent);
  padding: 5rem 0;
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--gradient-primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-content h4 {
  font-size: 1.37rem;
  margin-bottom: 1rem;
  color: var(--light-cream);
}

.footer-content p {
  margin-bottom: 0.68rem;
  opacity: 0.9;
}

.footer-content a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom small {
  opacity: 0.8;
}

/* Breadcrumbs */
.breadcrumb-section {
  background: var(--gradient-accent);
  padding: 2rem 0;
}

.breadcrumb-image {
  text-align: center;
}

.breadcrumb-image img {
  height: 40px;
  opacity: 0.7;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.border-radius-custom {
  border-radius: 15px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Bar */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-green);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
} 


/* 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);
}

.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;
    }
}
