/* TlakTea - Main Stylesheet */
:root {
  --mint: #2F7164;
  --yellow: #FFE26A;
  --sage: #B6D7B9;
  --raspberry: #EB3D52;
  --graphite: #2E2E2E;
  --cream: #FDF9F4;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--cream);
  color: var(--graphite);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--mint), var(--sage));
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 150px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

nav li {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--yellow);
  transition: var(--transition);
}

nav a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
              url('../img/FUF4gF.jpg') center/cover no-repeat;
  padding: 2rem 0;
}

.hero-content {
  max-width: 600px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--mint);
  position: relative;
}

h1:after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: var(--raspberry);
  position: absolute;
  bottom: -10px;
  left: 0;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px var(--shadow);
}

.btn-primary {
  background-color: var(--raspberry);
  color: white;
}

.btn-primary:hover {
  background-color: #d12e42;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--yellow);
  color: var(--graphite);
}

.btn-secondary:hover {
  background-color: #f5d74f;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--mint);
  position: relative;
}

h2:after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: var(--raspberry);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--mint);
  color: white;
}

.how-it-works h2 {
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--yellow);
  color: var(--graphite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  font-size: 5rem;
  color: var(--sage);
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.3;
}

.testimonial-text {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

/* Products Section */
.products {
  background-color: var(--cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--mint);
}

.product-price {
  font-weight: bold;
  color: var(--raspberry);
  margin: 1rem 0;
}

/* Pricing Section */
.pricing {
  background-color: white;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 5px 15px var(--shadow);
  border-radius: 10px;
  overflow: hidden;
  min-width: 500px; /* Ensure table doesn't get too squeezed */
}

.pricing-table th, .pricing-table td {
  padding: 1rem;
  text-align: center;
  border: 1px solid #eee;
}

.pricing-table th {
  background-color: var(--mint);
  color: white;
}

.pricing-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.pricing-table .highlight {
  background-color: var(--yellow);
  color: var(--graphite);
  font-weight: bold;
}

/* FAQ Section */
.faq {
  background-color: var(--cream);
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px var(--shadow);
}

.faq-question {
  background-color: white;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #f9f9f9;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 1rem;
}

/* Use CSS without JavaScript for accordion */
.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-item input[type="checkbox"]:checked + .faq-question:after {
  content: '-';
}

/* Order Form Section */
.order {
  background: linear-gradient(135deg, var(--mint), var(--sage));
  color: white;
}

.order h2 {
  color: white;
}

.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: rotate(-1deg);
  color: var(--graphite);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(47, 113, 100, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-group label {
  font-size: 0.95rem;
}

/* Alert styles */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 5px;
}

.alert-danger {
  background-color: rgba(235, 61, 82, 0.1);
  border: 1px solid var(--raspberry);
  color: var(--raspberry);
}

.alert ul {
  margin-left: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--graphite);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--yellow);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #888;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 -5px 20px var(--shadow);
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-popup:target {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-text {
  flex: 3;
  min-width: 200px;
}

.cookie-buttons {
  flex: 1;
  min-width: 150px;
  text-align: right;
}

/* CSS Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fade {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  
  nav li {
    margin: 0 0.75rem 0.5rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .order-form {
    transform: none;
    padding: 1.5rem;
  }
  
  .benefit-card,
  .product-card,
  .testimonial-card {
    margin-bottom: 1rem;
  }
  
  .hero-content {
    width: 100%;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .testimonial-slider {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
    text-align: center;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .product-image {
    height: 180px;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-author img {
    margin: 0 auto 0.5rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
    padding: 0.75rem;
  }
  
  h1:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  h1, .hero p {
    text-align: center;
  }
} 