/* Tea Tasting Room & E-commerce Template - Main Styles */

/* Bootstrap 5 CDN Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Font Awesome CDN Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:wght@400;600&display=swap');

/* CSS Variables - Tea Theme Color Palette */
:root {
  /* Primary Colors */
  --primary-emerald: #2d8659;
  --primary-sage: #87a96b;
  --primary-amber: #d4a853;
  --primary-cream: #f5f1e8;
  --primary-terracotta: #c17767;
  
  /* Light Shades */
  --light-emerald: #4db380;
  --light-sage: #a8c285;
  --light-amber: #e6c373;
  --light-cream: #faf8f3;
  --light-terracotta: #d69587;
  
  /* Dark Shades */
  --dark-emerald: #1e5a3a;
  --dark-sage: #6b8552;
  --dark-amber: #b8923a;
  --dark-cream: #e8e0d0;
  --dark-terracotta: #a55e4e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-emerald), var(--primary-sage));
  --gradient-secondary: linear-gradient(135deg, var(--primary-amber), var(--primary-terracotta));
  --gradient-accent: linear-gradient(135deg, var(--light-emerald), var(--light-amber));
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Crimson Text', serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-emerald);
  background-color: var(--primary-cream);
  overflow-x: hidden;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-emerald);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--dark-sage);
}

/* Header Styles */
.navbar {
  background: rgba(245, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-emerald) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-emerald) !important;
  margin: 0 0.5rem;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--dark-sage);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--light-cream), var(--primary-cream));
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--primary-cream);
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(45, 134, 89, 0.2);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-emerald);
  margin: 1rem 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--dark-sage);
}

.service-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-emerald);
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  background: var(--gradient-accent);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  background: white;
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--light-cream);
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(45, 134, 89, 0.2);
}

.price-card.featured {
  background: var(--gradient-primary);
  color: white;
}

.price-card.featured h3,
.price-card.featured .price {
  color: white;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-emerald);
  margin: 1.5rem 0;
}

/* Team Section */
.team-section {
  background: var(--primary-cream);
}

.team-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--primary-emerald);
}

.team-role {
  color: var(--primary-emerald);
  font-style: italic;
  margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
  background: var(--gradient-secondary);
}

.review-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-stars {
  color: var(--primary-amber);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-emerald);
  margin-top: 1rem;
}

/* Case Studies Section */
.casestudy-section {
  background: var(--light-cream);
}

.casestudy-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.casestudy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

/* Process Section */
.process-section {
  background: var(--primary-cream);
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(45, 134, 89, 0.1);
}

.process-number {
  background: var(--gradient-primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--light-cream);
}

.timeline-item {
  background: white;
  border-left: 4px solid var(--primary-emerald);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.timeline-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(45, 134, 89, 0.15);
}

/* Career Section */
.career-section {
  background: var(--primary-cream);
}

.career-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.career-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

.career-role {
  color: var(--primary-emerald);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  background: var(--gradient-accent);
}

.coreinfo-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.coreinfo-card:hover {
  background: white;
  transform: translateY(-5px);
}

.coreinfo-card i {
  font-size: 3rem;
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--light-cream);
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(45, 134, 89, 0.1);
}

.form-control {
  border: 2px solid var(--light-sage);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 0.2rem rgba(45, 134, 89, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(45, 134, 89, 0.3);
}

/* Blog Section */
.blog-section {
  background: var(--primary-cream);
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-link {
  color: var(--primary-emerald);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.blog-link:hover {
  color: var(--dark-emerald);
}

/* FAQ Section */
.faq-section {
  background: var(--light-cream);
}

.faq-card {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  box-shadow: 0 10px 25px rgba(45, 134, 89, 0.15);
}

.faq-question {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  border-radius: 15px 15px 0 0;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-answer {
  padding: 1.5rem;
  border-top: 1px solid var(--light-sage);
  color: var(--dark-sage);
}

/* Gallery Section */
.gallery-section {
  background: var(--primary-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.2);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--dark-emerald);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-sage);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--primary-amber);
}

.footer-bottom {
  border-top: 1px solid var(--primary-emerald);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
}

.rounded-custom {
  border-radius: 15px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Space Page Specific */
#space {
  min-height: 60vh;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 2rem 0;
}

/* Additional Page Sections */
.additional-section {
  padding: 4rem 0;
}

.additional-section:nth-child(odd) {
  background: var(--light-cream);
}

.additional-section:nth-child(even) {
  background: var(--primary-cream);
}

.additional-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
}

.additional-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(45, 134, 89, 0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.4);
  color: white;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Contact Options for additional_page3 */
.contact-option {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(45, 134, 89, 0.1);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
}

.contact-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(45, 134, 89, 0.15);
}

.contact-icon {
  margin-bottom: 1.5rem;
}

.contact-icon i {
  font-size: 3rem;
  color: var(--primary-emerald);
}

.contact-option h4 {
  color: var(--primary-emerald);
  margin-bottom: 1rem;
}

/* Navbar enhancements */
.navbar.scrolled {
  background: rgba(245, 241, 232, 1);
  box-shadow: 0 2px 30px rgba(45, 134, 89, 0.15);
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

/* Progress bar for scrolling */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Fade in on scroll animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Keyboard navigation styles */
.keyboard-navigation *:focus {
  outline: 3px solid var(--primary-amber) !important;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Error states */
.error {
  border-color: #dc3545 !important;
  background-color: #f8d7da !important;
}

.success {
  border-color: #28a745 !important;
  background-color: #d4edda !important;
}

/* Enhanced responsive design for very small screens */
@media (max-width: 320px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
} 


/* 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;
    }
}
