:root {
  --color-primary: #ff6b6b;
  --color-secondary: #4d8c57;
  --color-accent: #ffe066;
  --color-light: #f9f9f9;
  --color-dark: #2c3e50;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-background: #ffffff;

  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Quicksand', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

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

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

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

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

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

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

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

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

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

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

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

/* Header Styles */
.header {
  position: relative;
  padding: var(--space-md) 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-medium);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width var(--transition-medium);
}

.logo:hover::after {
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  margin-left: var(--space-md);
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: var(--space-xs);
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.hamburger:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: aliceblue;
}

.hero-btns {
  display: flex;
  gap: var(--space-md);
}

/* Flower Animation */
.flower-animation {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 300px;
  height: 300px;
  z-index: 0;
}

.petal {
  position: absolute;
  width: 50px;
  height: 100px;
  background-color: var(--color-primary);
  border-radius: 50% 50% 0 50%;
  transform-origin: bottom center;
  animation: sway 8s infinite ease-in-out;
}

.petal:nth-child(1) {
  transform: rotate(0deg) translateY(-30px);
  animation-delay: 0s;
}

.petal:nth-child(2) {
  transform: rotate(45deg) translateY(-30px);
  animation-delay: 0.5s;
}

.petal:nth-child(3) {
  transform: rotate(90deg) translateY(-30px);
  animation-delay: 1s;
}

.petal:nth-child(4) {
  transform: rotate(135deg) translateY(-30px);
  animation-delay: 1.5s;
}

.petal:nth-child(5) {
  transform: rotate(180deg) translateY(-30px);
  animation-delay: 2s;
}

.petal:nth-child(6) {
  transform: rotate(225deg) translateY(-30px);
  animation-delay: 2.5s;
}

.petal:nth-child(7) {
  transform: rotate(270deg) translateY(-30px);
  animation-delay: 3s;
}

.petal:nth-child(8) {
  transform: rotate(315deg) translateY(-30px);
  animation-delay: 3.5s;
}

.flower-center {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@keyframes sway {
  0%, 100% {
    transform: rotate(var(--rotation)) translateY(-30px) rotate(0deg);
  }

  50% {
    transform: rotate(var(--rotation)) translateY(-30px) rotate(10deg);
  }
}

/* Featured Section */
.featured {
  padding: var(--space-xl) 0;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
}

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

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

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

.product-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.product-content {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-desc {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* About Section */
.about {
  padding: var(--space-xl) 0;
  background-color: var(--color-light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-img {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-content {
  padding: var(--space-md);
}

.service-list {
  list-style: none;
  margin-top: var(--space-md);
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.service-icon {
  margin-right: var(--space-sm);
  color: var(--color-primary);
}

/* Contact Section */
.contact {
  padding: var(--space-xl) 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.map {
  height: 400px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

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

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

.form-checkbox input {
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: white;
  padding: var(--space-lg) 0;
}

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

.footer-logo {
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: white;
}

.footer-link {
  color: #aaa;
  margin-bottom: var(--space-xs);
}

.footer-link:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Cookies Popup */
.cookies-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: bottom var(--transition-medium);
}

.cookies-popup.active {
  bottom: 0;
}

.cookies-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookies-text {
  flex: 1;
  min-width: 300px;
}

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

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

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

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

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: var(--space-lg);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .flower-animation {
    width: 200px;
    height: 200px;
  }

  .petal {
    width: 40px;
    height: 80px;
  }

  .flower-center {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-medium);
    z-index: 999;
    display: none;
  }

  .nav-list.active {
    right: 0;
    display: block;
  }

  .nav-item {
    margin: var(--space-sm) 0;
  }

  .hamburger {
    display: block;
    z-index: 1000;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
  }

  .overlay.active {
    opacity: 1;
    pointer-events: all;
    display: none;
  }

  .hero-btns {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
  }

  .footer-container {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .products {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    width: 95%;
  }

  .hero {
    height: auto;
    min-height: 400px;
    padding: var(--space-xl) 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .flower-animation {
    right: 0;
    bottom: 5%;
    width: 150px;
    height: 150px;
    opacity: 0.8;
  }

  .petal {
    width: 30px;
    height: 60px;
  }

  .flower-center {
    width: 40px;
    height: 40px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cookies-popup {
    padding: var(--space-sm);
  }

  .cookies-buttons {
    width: 100%;
    justify-content: center;
  }

  .error-code {
    font-size: 4rem;
  }

  .error-message {
    font-size: 1.25rem;
  }

  .thank-you-title {
    font-size: 2rem;
  }
}