:root {
  --color-primary: #706D54;
  --color-secondary: #A08963;
  --color-accent: #C9B194;
  --color-light: #DBDBDB;
  --color-text: #2c2c2c;
  --color-text-light: #666;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  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);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: relative;
  padding: var(--space-md) 0;
  background: linear-gradient(135deg, var(--color-light) 0%, #fff 100%);
  border-bottom: 1px solid var(--color-accent);
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 99999999;
  order: 1;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-light) 100%);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-md);
  background-image: url('../pictures/BG.jpg');
  background-size: cover;
  background-position: center;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 3px black;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: white;
  text-shadow: 2px 2px 3px black;
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: wheat;
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-alt {
  background: var(--color-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.asymmetric-item {
  position: relative;
  padding: var(--space-lg);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.asymmetric-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
  max-width: 85%;
}

.asymmetric-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
  max-width: 85%;
  transform: rotate(-1deg);
}

.asymmetric-item:nth-child(3n) {
  transform: rotate(1deg);
  margin-left: 5%;
  margin-right: auto;
}

.contact-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-light) 100%);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.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: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  font-weight: normal;
}

.footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer a {
  color: var(--color-light);
}

.footer a:hover {
  color: var(--color-accent);
}

.map-container {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background: #fff;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 500px;
  margin: 0 auto;
  display: none;
  animation: slideUp 0.5s ease-out;
}

.privacy-popup.active {
  display: block;
}

.privacy-popup p {
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.privacy-popup .btn {
  margin-right: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.error-page p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-xl);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 890px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: var(--space-xxl);
    box-shadow: var(--shadow-md);
    display: none;
    gap: var(--space-lg);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font-size: 1.5rem;
  }

  .asymmetric-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .hero {
    min-height: 50vh;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .contact-wrapper {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .privacy-popup {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}
