/* ========================================
   Main CSS - Gluten-Free Bakery Truck Template
   ========================================*/

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Color Palette - Gluten-Free Bakery Theme */
:root {
  /* Primary Colors */
  --primary-wheat: #dec097;
  --primary-sage: #b3c8a3;
  --primary-cream: #fff8e1;
  --primary-terracotta: #e77b6b;
  --primary-forest: #8db29b;
  
  /* Light Shades */
  --light-wheat: #e0d9a2;
  --light-sage: #b0cf9a;
  --light-cream: #fffbf0;
  --light-terracotta: #da9e90;
  --light-forest: #8fb69f;
  
  /* Dark Shades */
  --dark-wheat: #e2c794;
  --dark-sage: #718a57;
  --dark-cream: #d6c4a6;
  --dark-terracotta: #b45c2f;
  --dark-forest: #809e8a;
  
  /* Neutral Colors */
  --text-dark: #3b484f;
  --text-light: #667072;
  --white: #ffffff;
  --soft-shadow: rgba(51, 61, 67, 0.10);
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 1rem;
}

/* Conservative Heading Sizes */
h1 {
  font-size: 2.35rem;
  font-weight: 600;
  color: var(--dark-forest);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.90rem;
  font-weight: 600;
  color: var(--dark-forest);
  margin-bottom: 1.03rem;
}

h3 {
  font-size: 1.59rem;
  font-weight: 500;
  color: var(--dark-sage);
  margin-bottom: 0.60rem;
}

h4 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark-sage);
  margin-bottom: 0.70rem;
}

h5 {
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.79rem;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.84rem;
}

/* Conservative navbar-brand size */
.navbar-brand {
  font-size: 1.52rem;
  font-weight: 600;
  color: var(--dark-forest);
}

/* Paragraph styling */
p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--primary-terracotta);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-terracotta);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-terracotta);
  border-color: var(--primary-terracotta);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-terracotta);
  border-color: var(--dark-terracotta);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--primary-sage);
  border-color: var(--primary-sage);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--dark-sage);
  border-color: var(--dark-sage);
  transform: translateY(-1px);
}

/* Header */
.navbar {
  background-color: var(--white);
  box-shadow: 0 7px 10px var(--soft-shadow);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 7px 20px var(--soft-shadow);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-terracotta);
}

/* Navbar Toggler */
.navbar-toggler {
  border: 1px solid var(--primary-terracotta);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(202, 139, 105, 0.25);
}

.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='%23e07a5f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-terracotta);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 0.25rem;
  z-index: 1100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
  color: var(--white);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-cream) 0%, var(--light-wheat) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: var(--primary-wheat);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-terracotta);
  font-weight: 500;
  font-size: 1.19rem;
  margin-bottom: 0.74rem;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 6px 20px var(--soft-shadow);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  background-color: var(--light-cream);
  border-bottom: 1px solid var(--primary-wheat);
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* Service Items */
.service-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 9px 20px var(--soft-shadow);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-price {
  color: var(--primary-terracotta);
  font-size: 1.58rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Team Members */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px var(--soft-shadow);
}

/* Contact Form */
.contact-form {
  background: var(--light-cream);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 9px 20px var(--soft-shadow);
}

.form-control {
  border: 2px solid var(--primary-wheat);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(214, 128, 78, 0.25);
}

/* Footer */
.footer {
  background-color: var(--dark-forest);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer h5 {
  color: var(--light-cream);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-wheat);
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px var(--soft-shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item a {
  display: block;
  text-decoration: none;
}

/* FAQ Items */
.faq-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.80rem;
  box-shadow: 0 5px 20px var(--soft-shadow);
}

.faq-question {
  color: var(--dark-forest);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Accessibility - Reduced Motion */
@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 {
  color: var(--primary-terracotta);
}

.bg-primary-light {
  background-color: var(--light-cream);
}

.bg-secondary-light {
  background-color: var(--light-sage);
}

.shadow-soft {
  box-shadow: 0 6px 20px var(--soft-shadow);
}

.rounded-custom {
  border-radius: 1rem;
}

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
  background: var(--light-cream);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lazy.loaded {
  opacity: 1;
}

.lazy::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-terracotta), var(--primary-sage));
  animation: spin 1s linear infinite;
}

.lazy.loaded::before {
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9999;
  background: transparent;
}

/* Space for index_space.html */
#space {
  min-height: 80vh;
  background: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
} 

.hero-section h1 {
    padding-top: 275px;
}


/* 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;
    }
}
