/* Tea Tasting Room Template - Main CSS */
:root {
  /* Primary Color Palette - High contrast pastels */
  --primary-green: #2d5a27;
  --primary-gold: #d4af37;
  --primary-cream: #f5f0e8;
  --primary-brown: #8b4513;
  --primary-sage: #87a96b;
  
  /* Light/Dark Shades */
  --light-green: #a8d5a3;
  --light-gold: #f4e6a1;
  --light-cream: #fefcf9;
  --light-brown: #d2b48c;
  --light-sage: #c4d9b8;
  
  --dark-green: #1a3318;
  --dark-gold: #b8941f;
  --dark-cream: #e8ddd0;
  --dark-brown: #654321;
  --dark-sage: #6b8653;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-green);
  background-color: var(--light-cream);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-sage));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-cream) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--light-cream) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold) !important;
  transform: translateY(-2px);
}

.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%28245, 240, 232, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream), var(--light-sage));
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2rem;
  color: var(--primary-brown);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--primary-brown);
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--dark-sage);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background: linear-gradient(45deg, var(--light-cream), var(--primary-cream));
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.3rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--primary-brown);
  font-size: 1rem;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--primary-sage), var(--light-sage));
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-gold);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-card h4 {
  font-size: 1.4rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--primary-brown);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  color: var(--dark-sage);
  margin-bottom: 1.5rem;
}

.service-features li {
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: "✓";
  color: var(--primary-sage);
  margin-right: 0.5rem;
}

/* Team Section */
.team {
  background: var(--light-cream);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-gold);
}

.team-member h4 {
  font-size: 1.3rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--primary-brown);
  font-style: italic;
}

/* Reviews Section */
.reviews {
  background: linear-gradient(45deg, var(--primary-cream), var(--light-gold));
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-gold);
  position: absolute;
  top: -10px;
  left: 20px;
}

.review-text {
  font-size: 1.1rem;
  color: var(--dark-green);
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: var(--primary-brown);
  text-align: right;
}

/* FAQ Section */
.faq {
  background: var(--light-cream);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--primary-sage);
  color: white;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
  background: var(--primary-gold);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--dark-green);
  background: white;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Gallery Section */
.gallery {
  background: var(--primary-cream);
}

.gallery-item {
  margin-bottom: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-sage));
  color: white;
}

.contact .section-title,
.contact .section-subtitle,
.contact .section-desc {
  color: white;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form .form-control {
  border: 2px solid var(--light-sage);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.contact-form .btn {
  background: var(--primary-gold);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  background: var(--dark-gold);
  transform: translateY(-2px);
}

.contact-info {
  color: var(--light-cream);
}

.contact-info h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--dark-green);
  color: var(--light-cream);
  padding: 2rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid var(--primary-sage);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--light-cream);
  padding: 1rem 0;
  margin-bottom: 0;
}

.breadcrumb img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Animation classes for Sal.js */
.sal-animate {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Scroll reveal styles */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Image loading optimization */
.lozad {
  opacity: 0;
  transition: opacity 0.3s;
}

.lozad.loaded {
  opacity: 1;
}

/* Color gradients for visual appeal */
.gradient-bg-1 {
  background: linear-gradient(135deg, var(--primary-cream), var(--light-sage));
}

.gradient-bg-2 {
  background: linear-gradient(45deg, var(--light-gold), var(--primary-cream));
}

.gradient-bg-3 {
  background: linear-gradient(135deg, var(--primary-sage), var(--light-sage));
}

.gradient-text {
  background: linear-gradient(45deg, var(--primary-gold), var(--primary-brown));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.preloader::before {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid var(--light-sage);
  border-top: 4px solid var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Bar Container */
#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-gold);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: var(--dark-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.back-to-top i {
  font-size: 1.2rem;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
