/* International Snacks Subscription Box - Main CSS */

/* Color Palette - Pastel High-Contrast Colors */
:root {
  --primary-color: #ff5e62;
  --primary-light: #ff9089;
  --primary-dark: #d9636c;
  
  --secondary-color: #57bab6;
  --secondary-light: #76e5e5;
  --secondary-dark: #2b9088;
  
  --accent-color: #52b1c6;
  --accent-light: #64bcca;
  --accent-dark: #24a5c0;
  
  --warning-color: #f1b617;
  --warning-light: #ffe245;
  --warning-dark: #f29800;
  
  --success-color: #585aef;
  --success-light: #8f6cfb;
  --success-dark: #4e48e0;
  
  --text-dark: #25334c;
  --text-light: #88a2a1;
  --bg-light: #f8f9fa;
  --bg-dark: #3e5365;
}

/* Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

h1 {
  font-size: 2.61rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.92rem;
}

h3 {
  font-size: 1.54rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.66rem;
}

h4, h5, h6 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.59rem;
}

p {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.navbar-brand {
  font-size: 1.56rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 200px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 6px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 1rem;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--accent-light), var(--success-light));
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-price {
  font-size: 2.60rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-light);
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-light), var(--accent-light));
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-color);
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.contact-info {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.59rem;
}

.contact-info-item i {
  font-size: 1.63rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 30px;
}

/* Forms */
.form-control {
  border-radius: 10px;
  border: 2px solid var(--bg-light);
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(245, 109, 108, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--accent-light), var(--success-light));
}

.faq-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.56rem;
  backdrop-filter: blur(10px);
}

.faq-question {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-light);
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 15px;
  overflow: hidden;
}

.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(--bg-dark);
  color: white;
  padding: 40px 0 20px;
}

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color);
}

.text-secondary-custom {
  color: var(--secondary-color);
}

.bg-primary-custom {
  background-color: var(--primary-color);
}

.bg-secondary-custom {
  background-color: var(--secondary-color);
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Breadcrumbs */
.breadcrumb-section {
  padding: 20px 0;
  background-color: var(--bg-light);
  margin-top: 76px; /* Account for fixed navbar */
}

.breadcrumb-image {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Navbar scroll effect */
.navbar.scrolled {
  background-color: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile menu show state */
.navbar-collapse.show {
  display: block !important;
}

/* Navbar improvements */
.navbar {
  transition: all 0.3s ease;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Space div styling */
#space {
  min-height: 70vh;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Skip link styling */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  left: 6px;
}

/* Progress bar styling */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: transparent;
}

/* Loading state styles */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Form validation styles */
.form-control.is-invalid {
  border-color: #c9284e;
}

.form-control.is-valid {
  border-color: #2da849;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.47rem;
  font-size: 0.99rem;
  color: #dd3f3f;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.32rem;
  font-size: 0.96rem;
  color: #2b9c44;
}

/* Lazy loading image placeholder */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
