/* ============================================================================
   SPECIALTY LOOSE-LEAF TEA HOUSE - MAIN STYLES
   ============================================================================ */

/* Color Palette - 5 primary colors with light/dark shades */
:root {
  /* Primary Colors */
  --tea-green: #86caba;
  --warm-gold: #faea65;
  --soft-pink: #e6c1c3;
  --lavender: #dfdafe;
  --sage: #9bc197;
  
  /* Light Shades */
  --tea-green-light: #ddf6f0;
  --warm-gold-light: #fce1b3;
  --soft-pink-light: #ffd5db;
  --lavender-light: #e9e2ff;
  --sage-light: #d3f9cc;
  
  /* Dark Shades */
  --tea-green-dark: #73caa9;
  --warm-gold-dark: #eac854;
  --soft-pink-dark: #ffa6a5;
  --lavender-dark: #cac2f0;
  --sage-dark: #7bb07c;
  
  /* 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-semibold: 600;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --element-spacing: 1.5rem;
}

/* Base Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #1f1d1d;
  background-color: #fafafa;
}

/* Conservative Typography Sizes */
.navbar-brand {
  font-size: 1.31rem;
  font-weight: var(--font-weight-semibold);
  color: var(--tea-green-dark);
}

h1 {
  font-size: 2.56rem;
  font-weight: var(--font-weight-semibold);
  color: var(--tea-green-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
  color: var(--sage-dark);
  margin-bottom: 1.06rem;
}

h3 {
  font-size: 1.59rem;
  font-weight: var(--font-weight-medium);
  color: var(--tea-green-dark);
  margin-bottom: 0.96rem;
}

h4 {
  font-size: 1.28rem;
  font-weight: var(--font-weight-medium);
  color: var(--sage-dark);
  margin-bottom: 0.88rem;
}

h5 {
  font-size: 1.22rem;
  font-weight: var(--font-weight-medium);
  color: var(--tea-green-dark);
  margin-bottom: 0.79rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: #4a4645;
}

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--sage-dark);
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--tea-green-light), var(--warm-gold-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--lavender-light) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 250px;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(135deg, var(--tea-green), var(--sage));
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  background: var(--tea-green-light);
}

.service-price {
  font-size: 1.55rem;
  font-weight: var(--font-weight-semibold);
  color: var(--warm-gold-dark);
  margin-top: 1rem;
}

/* Features */
.feature-item {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 1.78rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2rem;
  color: var(--tea-green-dark);
  margin-bottom: 1rem;
}

/* Team Members */
.team-member {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--tea-green-light);
  margin-bottom: 1rem;
}

/* Price Plans */
.price-plan {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.price-plan.featured {
  background: linear-gradient(135deg, var(--warm-gold-light), var(--tea-green-light));
  transform: scale(1.05);
}

.price-value {
  font-size: 3rem;
  font-weight: var(--font-weight-semibold);
  color: var(--tea-green-dark);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.price-features li:last-child {
  border-bottom: none;
}

/* Reviews/Testimonials */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.review-author {
  font-weight: var(--font-weight-semibold);
  color: var(--tea-green-dark);
  margin-top: 1rem;
}

/* FAQ Section */
.faq-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: var(--font-weight-semibold);
  color: var(--tea-green-dark);
  margin-bottom: 0.84rem;
}

.faq-answer {
  color: #525252;
  line-height: 1.6;
}

/* Gallery */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.82rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 10px;
  border: 3px solid #ececec;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--tea-green);
  box-shadow: 0 0 0 0.2rem rgba(146, 198, 179, 0.25);
  outline: none;
}

.form-check-input:focus {
  border-color: var(--tea-green);
  box-shadow: 0 0 0 0.2rem rgba(166, 233, 227, 0.25);
}

.form-check-input:checked {
  background-color: var(--tea-green);
  border-color: var(--tea-green);
}

/* Validation Styles */
.form-control.is-valid {
  border-color: #269a49;
}

.form-control.is-valid:focus {
  border-color: #1b9533;
  box-shadow: 0 0 0 0.2rem rgba(27, 156, 36, 0.25);
}

.form-control.is-invalid {
  border-color: #ed2137;
}

.form-control.is-invalid:focus {
  border-color: #c92931;
  box-shadow: 0 0 0 0.2rem rgba(235, 76, 82, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: #d42a35;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.66rem;
  font-size: 0.95rem;
  color: #1cbb33;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tea-green), var(--sage));
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--tea-green-dark), var(--sage-dark));
  transform: translateY(-4px);
}

.btn-primary:focus {
  background: linear-gradient(135deg, var(--tea-green-dark), var(--sage-dark));
  box-shadow: 0 0 0 0.2rem rgba(184, 239, 227, 0.50);
  outline: none;
}

.btn-primary:active {
  background: linear-gradient(135deg, var(--tea-green-dark), var(--sage-dark));
  transform: translateY(0);
}

.btn-primary:disabled {
  background: #c0c0c0;
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-outline-primary {
  border: 5px solid var(--tea-green);
  color: var(--tea-green);
  background: transparent;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--tea-green);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(179, 234, 216, 0.50);
  outline: none;
}

/* Progress Bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: rgba(130, 218, 197, 0.30);
}

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
  background: var(--sage-light);
}

.lazy.loaded {
  opacity: 1;
}

/* Loading States */
.loading {
  pointer-events: none;
  opacity: 0.7;
  cursor: wait;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid var(--tea-green-light);
  border-top: 2px solid var(--tea-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success States */
.success {
  background: linear-gradient(135deg, #2aad3f, #0dc182);
  color: white;
}

.success::after {
  content: 'âœ“';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: var(--tea-green-dark);
}

.navbar.scrolled .nav-link {
  color: #3a3a3a;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--tea-green-dark);
}

/* Navigation Active States */
.nav-link.active {
  color: var(--tea-green-dark);
  font-weight: var(--font-weight-medium);
}

.nav-link:hover {
  color: var(--tea-green-dark);
  transition: color 0.3s ease;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--tea-green-dark), var(--sage-dark));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--warm-gold-light);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--tea-green-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--warm-gold-light);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

.breadcrumb a {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.breadcrumb a:hover {
  transform: scale(1.1);
}

.breadcrumb .active img {
  opacity: 0.7;
}

/* Process/Timeline */
.process-item,
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-item::before,
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--tea-green);
  border-radius: 50%;
  border: 4px solid var(--tea-green-light);
}

/* Blog */
.blog-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post-title {
  color: var(--tea-green-dark);
  font-size: 1.32rem;
  margin-bottom: 0.74rem;
}

.blog-post-excerpt {
  color: #6b6b6b;
  font-size: var(--font-size-small);
  margin-bottom: 1rem;
}

.blog-post-link {
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.blog-post-link:hover {
  color: var(--tea-green-dark);
}

/* Core Info */
.core-info-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.81rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.core-info-item h4 {
  color: var(--tea-green-dark);
  margin-bottom: 0.85rem;
}

/* Career */
.career-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.82rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.career-role {
  color: var(--sage-dark);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.80rem;
}

/* Case Studies */
.casestudy-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.casestudy-title {
  color: var(--tea-green-dark);
  font-size: 1.30rem;
  margin-bottom: 1rem;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Utility Classes */
.text-tea-green { color: var(--tea-green-dark); }
.text-warm-gold { color: var(--warm-gold-dark); }
.text-soft-pink { color: var(--soft-pink-dark); }
.text-lavender { color: var(--lavender-dark); }
.text-sage { color: var(--sage-dark); }

.bg-tea-green { background-color: var(--tea-green-light); }
.bg-warm-gold { background-color: var(--warm-gold-light); }
.bg-soft-pink { background-color: var(--soft-pink-light); }
.bg-lavender { background-color: var(--lavender-light); }
.bg-sage { background-color: var(--sage-light); }

.gradient-primary {
  background: linear-gradient(135deg, var(--tea-green), var(--sage));
}

.gradient-secondary {
  background: linear-gradient(135deg, var(--warm-gold), var(--soft-pink));
}

.shadow-soft {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}

.section-spacer {
  margin-bottom: var(--element-spacing);
}

/* Modernizr Support Classes */
.no-js .hero::before {
  display: none;
}

.no-webp .lazy {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23d1e5d1"/></svg>');
}

/* Print Optimizations */
@media print {
  .lazy {
    opacity: 1;
    background: transparent;
  }
  
  .navbar.scrolled {
    background: white;
    color: black;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
