/* TRENDY TOTE COLLECTION LLC - Nature Distilled / Organic Biophilic */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
  --color-cream: #F5F0E1;
  --color-white: #FFFFFF;
  --color-forest-green: #4A6741;
  --color-sage: #5B7B52;
  --color-terracotta: #C67B5C;
  --color-coral: #E07A5F;
  --color-text-dark: #2D3B2D;
  --color-text-muted: #6B7B6B;

  --font-heading: 'Lora', serif;
  --font-body: 'Raleway', sans-serif;

  --transition-natural: 500ms ease-out;
  --border-radius: 16px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-forest-green);
  text-decoration: none;
  transition: color var(--transition-natural);
}

a:hover {
  color: var(--color-sage);
}

a:focus {
  outline: 2px solid var(--color-forest-green);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  padding: 1.5rem 4%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-forest-green);
}

.logo svg {
  width: 50px;
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  background-color: var(--color-cream);
  padding: 0.75rem 2rem;
  border-radius: 50px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all var(--transition-natural);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--color-sage);
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-forest-green);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition-natural);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image {
  position: relative;
  clip-path: ellipse(80% 85% at 50% 50%);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Organic Wave Divider */
.wave-divider {
  width: 100%;
  height: 80px;
  background-color: var(--color-white);
  position: relative;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Main Content */
section {
  padding: 6rem 4%;
}

.section-white {
  background-color: var(--color-white);
}

.section-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-wide {
  max-width: 1400px;
  margin: 0 auto;
}

/* Rounded Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-natural), box-shadow var(--transition-natural);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card h3 {
  color: var(--color-forest-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.image-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-natural);
}

.image-item:hover {
  transform: scale(1.03);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stats / Infographic */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Press Cards */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.press-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-coral);
}

.press-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-forest-green);
}

.press-meta {
  font-size: 0.9rem;
  color: var(--color-coral);
  font-weight: 600;
  margin-bottom: 1rem;
}

.press-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 3rem auto;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-natural);
}

.faq-question:hover {
  color: var(--color-sage);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-natural);
}

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 3rem auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-forest-green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-cream);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-natural);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-forest-green);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-natural);
}

.btn:hover {
  background-color: var(--color-sage);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(74, 103, 65, 0.3);
}

/* Footer */
footer {
  background-color: var(--color-white);
  padding: 4rem 4% 2rem;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  transform: translateY(-100%);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: var(--color-forest-green);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 103, 65, 0.2);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Breathing Animation */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.breathe-hover:hover {
  animation: breathe 2s ease-in-out infinite;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-natural), transform var(--transition-natural);
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* O2O Info Strip - Organic Style */
.o2o-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.o2o-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.o2o-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.o2o-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest-green);
  margin-bottom: 0.5rem;
}

.o2o-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Product Showcase - Organic Style */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-natural), box-shadow var(--transition-natural);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-forest-green);
  padding: 1.25rem;
  text-align: center;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--color-forest-green);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-forest-green);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-natural);
}

.btn-secondary:hover {
  background-color: var(--color-forest-green);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-natural);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  section {
    padding: 4rem 5%;
  }

  .card-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }
}
