:root {
  --color-primary: #E69DB8;
  --color-secondary: #FFD0C7;
  --color-accent: #FFFECE;
  --color-background: #F1E7E7;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-golden: #D4AF37;

  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.2s ease;
  --transition-normal: 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);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: url('../images/bg-texture.webp');
  background-size: cover;
  background-attachment: fixed;
  background-blend-mode: overlay;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

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-sm);
}

a {
  color: var(--color-primary);
  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 {
  position: relative;
  padding: var(--space-sm) 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    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 {
  position: relative;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 200;
  color: var(--color-text);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 320px;
  background-color: var(--color-background);
  z-index: 100;
  padding: var(--space-xl) var(--space-md);
  transform: translateX(100%);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  box-shadow: var(--shadow-medium);
  overflow-y: auto;
}

.nav-menu.active {
  transform: translateX(0);
  opacity: 1;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-list {
  list-style: none;
  margin-top: var(--space-lg);
}

.nav-item {
  margin-bottom: var(--space-md);
}

.nav-link {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover:after {
  width: 100%;
}

.hero {
  padding: var(--space-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-golden) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  position: relative;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  position: relative;
  display: inline-block;
}

.hero-title:after {
  content: '';
  position: absolute;
  width: 80%;
  height: 3px;
  bottom: -10px;
  left: 10%;
  background-image: linear-gradient(to right, transparent, var(--color-primary), transparent);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  text-align: center;
}



.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-text);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: white;
}

.section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  bottom: -10px;
  left: 20%;
  background-image: linear-gradient(to right, transparent, var(--color-primary), transparent);
}

.card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  flex-grow: 1;
}

.card-footer {
  padding-top: var(--space-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1 0 100%;
  padding: 0 1rem;
  margin-bottom: var(--space-md);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.feature {
  flex: 1 0 100%;
  max-width: 300px;
  text-align: center;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.feature-text {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
}

.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: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-checkbox input {
  margin-top: 5px;
}

.map-container {
  height: 400px;
  margin-top: var(--space-lg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.footer {
  margin-top: auto;
  padding: var(--space-md) 0;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer-column {
  flex: 1 0 250px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.footer-menu {
  list-style: none;
}

.footer-item {
  margin-bottom: var(--space-xs);
}

.footer-link {
  color: var(--color-text-light);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.cookie-popup {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  display: none;
}

.cookie-popup.active {
  display: block;
}

.cookie-content {
  margin-bottom: var(--space-sm);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--space-lg);
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.thank-you {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

@media (min-width: 576px) {
  .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .feature {
    flex: 0 0 calc(50% - var(--space-md));
  }
}

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .feature {
    flex: 0 0 calc(33.333% - var(--space-md));
  }
}

@media (min-width: 992px) {
  html {
    font-size: 18px;
  }

  .col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
    box-shadow: none;
    overflow: visible;
  }

  .nav-list {
    display: flex;
    gap: var(--space-md);
    margin-top: 0;
  }

  .nav-item {
    margin-bottom: 0;
  }

  .nav-overlay {
    display: none;
  }

  .nav-link {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 19px;
  }
}

.golden-flecks {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.golden-fleck {
  position: absolute;
  background-color: var(--color-golden);
  border-radius: 50%;
  opacity: 0.2;
  animation: flicker 4s infinite alternate;
}

@keyframes flicker {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.6;
  }
}

.paper-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/paper-texture.webp');
  background-size: cover;
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
}