/* ===============================================
   SPARKLING BOTANICAL SODA STARTUP - MAIN CSS
   Bootstrap 5 Integration with Custom Variables
   =============================================== */

/* CSS Variables - 5 Primary Colors + Shades */
:root {
  /* Primary Color Palette */
  --color-mint: #9bd2c2;        /* Soft mint green */
  --color-citrus: #ffef67;      /* Fresh citrus yellow */
  --color-botanical: #91e9ff;   /* Light botanical blue */
  --color-peach: #ffa8bf;       /* Soft peach coral */
  --color-white: #ffffff;       /* Clean white */
  
  /* Light Shades */
  --color-mint-light: #defcf3;
  --color-citrus-light: #fff4ca;
  --color-botanical-light: #b9ebff;
  --color-peach-light: #f1d0d6;
  --color-white-light: #fafafa;
  
  /* Dark Shades */
  --color-mint-dark: #7da592;
  --color-citrus-dark: #ecba4e;
  --color-botanical-dark: #57afc9;
  --color-peach-dark: #f99aa3;
  --color-white-dark: #f0f0f0;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 19px;
  --font-size-h1: 2.25rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-h5: 1.125rem;
  --font-size-h6: 1rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1rem;
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Base Typography - Conservative Sizes */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #1b1b1b;
  background-color: var(--color-white);
}

/* Conservative Heading Sizes */
h1 { 
  font-size: var(--font-size-h1); 
  font-weight: 600;
  color: var(--color-mint-dark);
}

h2 { 
  font-size: var(--font-size-h2); 
  font-weight: 500;
  color: var(--color-botanical-dark);
}

h3 { 
  font-size: var(--font-size-h3); 
  font-weight: 500;
}

h4 { 
  font-size: var(--font-size-h4); 
  font-weight: 500;
}

h5 { 
  font-size: var(--font-size-h5); 
  font-weight: 400;
}

h6 { 
  font-size: var(--font-size-h6); 
  font-weight: 400;
}

/* Conservative Paragraph Sizing */
p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* Header Styling */
.navbar-brand {
    font-size: 10px !important;
  font-size: 1.33rem;
  font-weight: 600;
  color: var(--color-mint-dark);
}

.navbar {
  background-color: var(--color-white);
  box-shadow: 0 7px 4px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--color-botanical-dark);
  font-weight: 400;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-mint-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-mint-light) 0%, var(--color-botanical-light) 100%);
  display: flex;
  align-items: center;
  padding: var(--section-padding);
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--color-botanical-dark);
  font-size: var(--font-size-small);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.62rem;
}

/* Card Styling */
.custom-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-white);
}

.custom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(0,0,0,0.15);
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-citrus-dark);
  margin-top: 1rem;
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-mint-light);
}

/* Button Styling */
.btn-primary {
  background-color: var(--color-mint);
  border-color: var(--color-mint);
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-mint-dark);
  border-color: var(--color-mint-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-botanical);
  border-color: var(--color-botanical);
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 25px;
}

.btn-secondary:hover {
  background-color: var(--color-botanical-dark);
  border-color: var(--color-botanical-dark);
}

/* Form Styling */
.form-control {
  border-radius: 8px;
  border: 2px solid var(--color-mint-light);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-mint);
  box-shadow: 0 0 0 0.2rem rgba(137, 209, 177, 0.25);
}

/* FAQ Cards */
.faq-card {
  background: var(--color-white);
  border: 1px solid var(--color-mint-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.faq-question {
  font-weight: 600;
  color: var(--color-mint-dark);
  margin-bottom: 0.64rem;
}

.faq-answer {
  color: #7e7e7d;
  margin-bottom: 0;
}

/* Gallery */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.69rem;
}

.gallery-item a {
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.gallery-item img.loaded {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-item:focus-within {
  outline: 2px solid var(--color-mint);
  outline-offset: 2px;
}

/* Timeline */
.timeline-item {
  border-left: 3px solid var(--color-mint);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--color-mint);
  border-radius: 50%;
  position: absolute;
  left: -7.5px;
  top: 0;
}

/* Footer */
.footer {
  background-color: var(--color-mint-dark);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--color-mint-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-white);
}

/* Utility Classes */
.text-mint { color: var(--color-mint-dark); }
.text-citrus { color: var(--color-citrus-dark); }
.text-botanical { color: var(--color-botanical-dark); }
.text-peach { color: var(--color-peach-dark); }

.bg-mint-light { background-color: var(--color-mint-light); }
.bg-citrus-light { background-color: var(--color-citrus-light); }
.bg-botanical-light { background-color: var(--color-botanical-light); }
.bg-peach-light { background-color: var(--color-peach-light); }

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--color-white-light);
}

.breadcrumb-image {
  width: 24px;
  height: 24px;
}

/* Decorative Elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.blob-1 {
  width: 200px;
  height: 200px;
  background: var(--color-mint);
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 150px;
  height: 150px;
  background: var(--color-citrus);
  bottom: 10%;
  left: 5%;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--color-mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.62rem;
  color: var(--color-mint-dark);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-mint-dark);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Focus indicators */
.btn:focus,
.nav-link:focus,
.form-control:focus {
  outline: 2px solid var(--color-mint);
  outline-offset: 2px;
}

/* Loading state */
.img-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e7dbda 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Form states */
.form-submitting {
  opacity: 0.7;
  pointer-events: none;
}

.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error states */
.form-control.error {
  border-color: var(--color-peach);
  box-shadow: 0 0 0 0.2rem rgba(255, 190, 199, 0.25);
}

.form-control.success {
  border-color: var(--color-mint);
  box-shadow: 0 0 0 0.2rem rgba(175, 212, 202, 0.25);
} 

.hero-section h1 {
    padding-top: 175px;
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
