:root {
  --color-primary: #EFECE3;
  --color-secondary: #8FABD4;
  --color-accent: #4A70A9;
  --color-text: #000000;
  --color-white: #ffffff;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  --transition-fast: 0.2s ease;
  --transition-base: 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-body);
  color: var(--color-text);
  background-color: var(--color-primary);
  line-height: 1.6;
  font-size: 0.95rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

header {
  background: linear-gradient(135deg, rgba(239, 236, 227, 0.95), rgba(143, 171, 212, 0.85));
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
}

.logo {
  display: block;
}

.logo img {
  width: 3rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

nav ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

nav ul li a:hover {
  background: rgba(74, 112, 169, 0.1);
  color: var(--color-accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(239, 236, 227, 0.98);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: var(--space-md);
  list-style: none;
}

.mobile-nav ul li a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-text);
}

.hero {
  padding: var(--space-xl) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(143, 171, 212, 0.2) 100%);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: var(--space-sm);
  text-shadow: var(--shadow-sm);
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-md);
  opacity: 0.9;
}

.section {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-xs);
}

.section-header p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
}

.card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-white);
}

.product-content {
  padding: var(--space-md);
}

.product-content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: var(--space-sm) 0;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-accent);
}

.contact-section {
  background: var(--color-white);
  padding: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  margin: var(--space-md) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-top: 0.2rem;
}

.contact-item div h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-item div p {
  font-size: 0.9rem;
  margin: 0;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  font-size: 0.85rem;
  font-weight: 400;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  position: absolute;
  top: -10px;
  left: var(--space-sm);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.95rem;
}

.faq-item {
  background: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
  color: var(--color-accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  font-size: 0.9rem;
  line-height: 1.7;
  padding-top: var(--space-xs);
}

footer {
  background: linear-gradient(135deg, rgba(74, 112, 169, 0.9), rgba(143, 171, 212, 0.8));
  color: var(--color-text);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-text);
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-text);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(74, 112, 169, 0.95);
  color: var(--color-white);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
}

.thankyou-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-xl) 0;
}

.thankyou-icon {
  font-size: 5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.thankyou-container h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.thankyou-container p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: var(--space-md);
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.error-container h1 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.error-container p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.legal-content {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: var(--space-md) 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ul li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 var(--space-xs);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .hero {
    padding: var(--space-md) 0;
  }
}

@media (min-width: 320px) and (max-width: 375px) {
  html {
    font-size: 13px;
  }


  .product-image {
    height: 200px;
  }
}