/*
Theme Name: BREE Wellness
Theme URI: https://bree.fit
Author: BREE
Author URI: https://bree.fit
Description: A premium, minimal wellness brand theme for BREE - Amla wellness shots. Clean design with cream backgrounds, green typography, and gold accents. WooCommerce ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bree
Tags: e-commerce, one-column, custom-menu, featured-images, theme-options, translation-ready

BREE - Rise. Sip. Glow.
*/

/* ==================== CSS Variables ==================== */
:root {
  --bree-bg: #F9F8F6;
  --bree-surface: #FFFFFF;
  --bree-primary: #7BA05B;
  --bree-primary-hover: #6A8C4D;
  --bree-text-primary: #2D3A2B;
  --bree-text-secondary: #5C6B5A;
  --bree-border: #E5E2DA;
  --bree-accent: #B4CBA4;
  --bree-success: #7BA05B;
  --bree-error: #D9534F;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bree-bg);
  color: var(--bree-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ==================== Utility Classes ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

.section-padding {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 8rem 0;
  }
}

.label-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bree-primary);
}

.heading-lg {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--bree-text-primary);
}

@media (min-width: 768px) {
  .heading-lg {
    font-size: 3.5rem;
  }
}

.heading-md {
  font-size: 1.875rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--bree-text-primary);
}

@media (min-width: 768px) {
  .heading-md {
    font-size: 2.25rem;
  }
}

.text-secondary {
  color: var(--bree-text-secondary);
}

.text-center {
  text-align: center;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--bree-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(123, 160, 91, 0.3);
}

.btn-primary:hover {
  background-color: var(--bree-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 160, 91, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--bree-primary);
  border: 1px solid var(--bree-primary);
}

.btn-outline:hover {
  background-color: rgba(123, 160, 91, 0.08);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* ==================== Header ==================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229, 226, 218, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo img {
  height: 3rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 3.5rem;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bree-text-secondary);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--bree-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background: rgba(180, 203, 164, 0.2);
}

.icon-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--bree-text-primary);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--bree-primary);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(229, 226, 218, 0.5);
  padding: 1rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--bree-text-secondary);
}

.mobile-menu a:hover {
  color: var(--bree-primary);
}

/* ==================== Hero Section ==================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background: linear-gradient(135deg, #F9F8F6 0%, #F0F5ED 50%, #F9F8F6 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 1rem 0 1.5rem;
}

.hero-content h1 span {
  font-weight: 400;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

.hero-text {
  font-size: 1.125rem;
  color: var(--bree-text-secondary);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-image img {
  max-height: 480px;
  width: auto;
  margin: 0 auto;
  animation: float 5s ease-in-out infinite;
}

/* ==================== Benefits Section ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: var(--bree-bg);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(180, 203, 164, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--bree-primary);
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
}

/* ==================== Products Section ==================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--bree-border);
  transition: all 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-card.popular {
  border: 2px solid var(--bree-primary);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bree-primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.product-image {
  height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bree-bg);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.product-image img {
  height: 12rem;
  width: auto;
  object-fit: contain;
}

.product-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bree-primary);
  margin-bottom: 0.5rem;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
  margin-bottom: 1rem;
}

.product-features {
  margin-bottom: 1rem;
}

.product-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
  padding: 0.25rem 0;
}

.product-features li svg {
  width: 1rem;
  height: 1rem;
  color: var(--bree-primary);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-price-sub {
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
}

/* ==================== How It Works ==================== */
.steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
}

.step-item {
  text-align: center;
}

.step-circle {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  background: var(--bree-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.step-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: var(--bree-text-secondary);
}

/* ==================== Why BREE ==================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(180, 203, 164, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--bree-primary);
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
}

/* ==================== Testimonials ==================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2rem;
  border-radius: 1.5rem;
}

.testimonial-card .quote-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--bree-accent);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  color: var(--bree-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--bree-text-secondary);
}

.stars {
  display: flex;
  gap: 0.125rem;
  margin-top: 1rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--bree-primary);
  color: var(--bree-primary);
}

/* ==================== CTA Section ==================== */
.cta-section {
  background: var(--bree-text-primary);
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-weight: 300;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin: 1.5rem 0 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--bree-text-primary);
  color: #fff;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 3rem;
  width: auto;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bree-accent);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact li span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== WooCommerce Overrides ==================== */
.woocommerce .button,
.woocommerce a.button {
  background-color: var(--bree-primary) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  border: none !important;
}

.woocommerce .button:hover,
.woocommerce a.button:hover {
  background-color: var(--bree-primary-hover) !important;
}

/* ==================== Custom Scrollbar ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bree-bg); }
::-webkit-scrollbar-thumb { background: var(--bree-accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bree-primary); }
