:root {
  /* Colors */
  --bg-primary: #F8F9F7;
  --primary: #3A7D6D;
  --secondary: #D9A77A;
  --text: #2E2E2E;
  --accent: #B25C50;
  --bg-card: #ECEBE8;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Crimson Pro', serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Borders, shadows, misc */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-md);
  color: var(--text);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

/* Header */
header {
  position: relative;
  transition: var(--transition);
}

.header-container {
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: var(--text-xl);
  font-weight: bold;
  color: var(--primary);
}

.logo:hover {
  transform: translateY(-2px);
}

/* Unique Transforming Header */
.transforming-header {
  height: 80px;
  background-color: var(--bg-primary);
  transition: var(--transition);
  z-index: 1000;
}

.scrolled-header {
  height: 60px;
  background-color: rgba(248, 249, 247, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1010;
}

.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.burger span:nth-child(1) {
  top: 0px;
}

.burger span:nth-child(2), .burger span:nth-child(3) {
  top: 9px;
}

.burger span:nth-child(4) {
  top: 18px;
}

.burger.active span:nth-child(1), .burger.active span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.burger.active span:nth-child(2) {
  transform: rotate(45deg);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: var(--space-lg);
}

nav ul li a {
  position: relative;
  font-weight: 500;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text);
  border: none;
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Sections */
section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title h2 {
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  bottom: -10px;
  left: 20%;
  background-color: var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, var(--bg-primary), var(--bg-card));
  position: relative;
  overflow: hidden;
}

/* Unique animation for hero background */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(58, 125, 109, 0.05) 20%, rgba(217, 167, 122, 0.05) 50%, rgba(178, 92, 80, 0.05) 80%);
  z-index: 0;
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  flex: 1;
}

.hero-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.hero-description {
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Leaf Animation */
.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.leaf {
  position: absolute;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
}

.leaf1 {
  top: 20%;
  left: 10%;
  animation: floatLeaf 25s ease-in-out infinite;
}

.leaf2 {
  top: 70%;
  left: 20%;
  animation: floatLeaf 18s ease-in-out infinite 2s;
}

.leaf3 {
  top: 30%;
  right: 15%;
  animation: floatLeaf 22s ease-in-out infinite 1s;
}

.leaf4 {
  top: 60%;
  right: 10%;
  animation: floatLeaf 20s ease-in-out infinite 3s;
}

@keyframes floatLeaf {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, 10px) rotate(5deg);
  }
  50% {
    transform: translate(0, 20px) rotate(0deg);
  }
  75% {
    transform: translate(-20px, 10px) rotate(-5deg);
  }
}

/* Features Section */
.features {
  background-color: var(--bg-card);
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
}

.feature-card {
  flex: 1;
  min-width: 250px;
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  color: var(--accent);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.product-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--bg-card);
}

.product-details {
  padding: var(--space-lg);
}

.product-title {
  margin-bottom: var(--space-xs);
}

.product-price {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.product-description {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary);
  color: white;
  font-size: var(--text-xs);
  font-weight: bold;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

/* About Section */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-card);
  position: relative;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  padding: var(--space-lg);
}

.testimonial-content {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-family: var(--font-secondary);
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
}

.testimonial-content::before {
  top: -20px;
  left: -20px;
}

.testimonial-content::after {
  bottom: -40px;
  right: -20px;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--primary);
}

/* Call to Action */
.cta {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta h2 {
  color: white;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-buttons {
  margin-top: var(--space-lg);
}

.cta-buttons .btn {
  margin: 0 var(--space-xs);
}

/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(to bottom right, var(--bg-primary), white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(58, 125, 109, 0.1), transparent 60%),
              radial-gradient(circle at bottom right, rgba(217, 167, 122, 0.1), transparent 60%);
  z-index: -1;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--bg-card);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: var(--text-md);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(58, 125, 109, 0.2);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-container input {
  margin-top: 5px;
  margin-right: 10px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.contact-info-content {
  background-color: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  height: 100%;
}

.contact-info-item {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: flex-start;
}

.contact-info-icon {
  margin-right: var(--space-sm);
  color: var(--primary);
  font-size: var(--text-lg);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--bg-card);
  padding: var(--space-lg) 0;
  font-size: var(--text-sm);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Cookies Policy Popup */
.cookies-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  display: none;
}

.cookies-popup.active {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookies-content {
  margin-bottom: var(--space-md);
}

.cookies-buttons {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

/* 404 Page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-code {
  font-size: 8rem;
  font-weight: bold;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.error-code::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(58, 125, 109, 0.1);
  border-radius: 50%;
  top: 20px;
  right: -20px;
  z-index: -1;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(10px, -10px) scale(1.05);
  }
}

.error-message {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
}

/* Thank You Page */
.thank-you-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.thank-you-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(217, 167, 122, 0.1) 0%, transparent 70%);
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  position: relative;
  z-index: 1;
  padding: var(--space-xl);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  display: inline-block;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.thank-you-title {
  margin-bottom: var(--space-md);
}

.thank-you-message {
  margin-bottom: var(--space-lg);
}

/* Gift wrapping styles */
.gift-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-lg);
}

.gift-step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: var(--space-md);
}

.gift-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -30px;
  width: 60px;
  height: 2px;
  background-color: var(--secondary);
}

/* Brands page */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.brand-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.brand-logo {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  padding: var(--space-md);
}

.brand-details {
  padding: var(--space-lg);
}

.brand-sustainability {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.brand-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: rgba(58, 125, 109, 0.1);
  color: var(--primary);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

/* Animation for page transitions */
.page-transition {
  animation: fadeIn 0.5s ease;
}

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

/* Media Queries */
@media (max-width: 992px) {
  :root {
    --text-3xl: 2.25rem;
    --text-2xl: 1.75rem;
    --text-xl: 1.25rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gift-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: white;
    padding: 80px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
    display:none;
  }
  
  nav.active {
    display:block;
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: var(--space-md) 0;
  }
  
  .hero-wrapper {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .hero-image {
    width: 100%;
    order: -1;
  }
  
  .about-container,
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  :root {
    --space-xl: 3rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .feature-card,
  .about-content,
  .about-image,
  .contact-form,
  .contact-info {
    min-width: 100%;
  }
  
  .cta-buttons .btn {
    margin-bottom: var(--space-sm);
    display: block;
    width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
