/* Artisan Honey Subscription Template - Main CSS */

/* Color Palette Variables */
:root {
  --primary-amber: #f59e0b;
  --primary-honey: #d97706;
  --primary-earth: #92400e;
  --primary-cream: #fef3c7;
  --primary-forest: #166534;
  --light-amber: #fef3c7;
  --dark-amber: #b45309;
  --light-honey: #fed7aa;
  --dark-honey: #9a3412;
  --light-earth: #fed7aa;
  --dark-earth: #7c2d12;
  --light-cream: #fffbeb;
  --dark-cream: #f3e8ff;
  --light-forest: #dcfce7;
  --dark-forest: #14532d;
  
  /* Conservative font sizes */
  --navbar-brand-size: 1.4rem;
  --h1-size: 2.2rem;
  --h2-size: 1.8rem;
  --h3-size: 1.4rem;
  --h4-size: 1.2rem;
  --h5-size: 1.1rem;
  --h6-size: 1rem;
  --p-size: 1rem;
  --small-size: 0.9rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--p-size);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography - Conservative Sizes */
.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--primary-honey) !important;
}

h1 { font-size: var(--h1-size); font-weight: 600; }
h2 { font-size: var(--h2-size); font-weight: 600; }
h3 { font-size: var(--h3-size); font-weight: 500; }
h4 { font-size: var(--h4-size); font-weight: 500; }
h5 { font-size: var(--h5-size); font-weight: 500; }
h6 { font-size: var(--h6-size); font-weight: 500; }
p { font-size: var(--p-size); }
small { font-size: var(--small-size); }

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-cream), var(--light-amber));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--primary-earth) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-honey) !important;
}

/* Hero Section - Fullscreen */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-honey) 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-image: url('../MAS_images/hero-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-decorative-blob {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-amber), var(--primary-honey));
  border-radius: 50%;
  opacity: 0.1;
}

.blob-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.blob-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Services Section */
.services-section {
  background: linear-gradient(45deg, var(--light-cream), var(--primary-cream));
  padding: 5rem 0;
  margin-bottom: 0;
  overflow: hidden;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-honey);
  margin: 1rem 0;
  margin-top: auto;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: white;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--light-cream);
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-amber);
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, var(--primary-forest), var(--dark-forest));
  color: white;
  padding: 5rem 0;
  margin-top: 0;
  clear: both;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--light-cream);
  padding: 5rem 0;
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-card.featured {
  border: 3px solid var(--primary-amber);
  transform: scale(1.02);
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background: white;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-amber);
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(45deg, var(--primary-cream), var(--light-honey));
  padding: 5rem 0;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 1rem;
  text-align: center;
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background: white;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background: var(--light-cream);
  padding: 5rem 0;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-amber);
  color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.faq-answer {
  padding: 1.5rem;
  background: white;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: white;
}

.gallery-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-honey), var(--primary-earth));
  color: white;
  padding: 5rem 0;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form .form-control {
  border: 2px solid var(--light-amber);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-amber);
  box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-honey));
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-amber), var(--dark-honey));
}

/* Footer */
.footer {
  background: var(--dark-earth);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--light-amber);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-amber);
}

.footer .sitename {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-amber);
}

/* Breadcrumbs */
.breadcrumb-section {
  background: var(--light-cream);
  padding: 1rem 0;
  border-bottom: 1px solid var(--primary-cream);
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Additional Pages Sections */
.additional-section {
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.additional-section:nth-child(odd) {
  background: white;
}

.additional-section:nth-child(even) {
  background: var(--light-cream);
}

.section-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-left: 4px solid var(--primary-amber);
}

/* Process Section */
.process-section {
  background: linear-gradient(45deg, var(--light-forest), var(--primary-forest));
  color: white;
  padding: 5rem 0;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  margin-bottom: 2rem;
}

/* Timeline Section */
.timeline-section {
  padding: 5rem 0;
  background: white;
}

.timeline-item {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-honey);
}

/* Career Section */
.career-section {
  background: var(--light-cream);
  padding: 5rem 0;
}

.career-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Core Info Section */
.coreinfo-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-cream), var(--light-honey));
}

.coreinfo-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Case Study Section */
.casestudy-section {
  background: white;
  padding: 5rem 0;
}

.casestudy-item {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary-amber);
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--light-cream), var(--primary-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-earth);
}

/* Utility Classes */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-earth);
}

.section-subtitle {
  text-align: center;
  color: var(--primary-honey);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-description {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-primary-custom {
  color: var(--primary-honey) !important;
}

.bg-primary-custom {
  background-color: var(--primary-amber) !important;
}

.border-primary-custom {
  border-color: var(--primary-amber) !important;
}

/* Strong contrast for accessibility */
.high-contrast {
  color: #000 !important;
  background-color: #fff !important;
}

.high-contrast-reverse {
  color: #fff !important;
  background-color: #000 !important;
} 


/* 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;
    }
}
