:root {
  --color-primary: #B5C99A;
  --color-secondary: #862B0D;
  --color-accent: #FFC95F;
  --color-light: #FFF9C9;
  --color-text: #1a1a1a;
  --color-text-light: #555;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --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);
  --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: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

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;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: relative;
  background: var(--color-light);
  padding: var(--space-md) 0;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-secondary);
  cursor: pointer;
  padding: var(--space-xs);
  position: relative;
  z-index: 1002;
  width: 30px;
  height: 30px;
  order: 1;
}

.menu-toggle i {
  position: absolute;
}

.menu-toggle .fa-bars {
  display: block;
}

.menu-toggle .fa-times {
  display: none;
}

.menu-toggle.active .fa-bars {
  display: none;
}

.menu-toggle.active .fa-times {
  display: block;
}

.nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav a {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal);
}

.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-light) 0%, var(--color-primary) 100%);
  overflow: hidden;
  padding: var(--space-xl) 0;
  background-image: url('../pictures/bg.jpeg');
  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;
  padding: var(--space-lg);
  max-width: 800px;
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: white;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-normal);
  border: 2px solid var(--color-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  cursor: pointer;
  margin: 15px 0;
}

.btn:hover {
  background: transparent;
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-secondary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: var(--color-light);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

.price {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-secondary);
  margin-top: var(--space-sm);
}

.asymmetric-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.asymmetric-item {
  position: relative;
  padding: var(--space-lg);
}

.asymmetric-item:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
  max-width: 70%;
}

.asymmetric-item:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
  max-width: 70%;
}

.asymmetric-item img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  transition: transform var(--transition-normal);
}

.asymmetric-item:nth-child(even) img {
  transform: rotate(2deg);
}

.asymmetric-item:hover img {
  transform: rotate(0deg) scale(1.05);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--color-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.footer {
  background: var(--color-secondary);
  color: #fff;
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.footer a {
  color: var(--color-light);
}

.footer a:hover {
  color: var(--color-accent);
}

.map-container {
  margin: var(--space-lg) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.popup-overlay.active {
  display: flex;
}

.privacy-popup {
  display: none;
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-secondary);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found {
  text-align: center;
  padding: var(--space-xl) 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  .hero {
    min-height: 60vh;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-light);
    flex-direction: column;
    padding: var(--space-xl);
    padding-top: 80px;
    gap: var(--space-lg);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav.active {
    display: flex;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: var(--space-sm);
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px solid rgba(134, 43, 13, 0.1);
  }

  .asymmetric-item:nth-child(odd),
  .asymmetric-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 50vh;
    padding: var(--space-lg) 0;
  }

  .hero-content {
    padding: var(--space-md);
  }

  .card {
    padding: var(--space-md);
  }

  .map-container iframe {
    height: 300px;
  }

  .popup-content {
    padding: var(--space-md);
    margin: var(--space-md);
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-wrap: wrap;
  }

  .logo {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: var(--space-lg);
  }

  .card {
    padding: var(--space-sm);
  }

  .grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-content p {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 2rem;
    --space-lg: 1.5rem;
    --space-md: 1rem;
    --space-sm: 0.75rem;
    --space-xs: 0.5rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-md) 0;
  }

  .header {
    padding: var(--space-sm) 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .menu-toggle {
    font-size: 1.25rem;
    padding: var(--space-xs);
  }

  .nav {
    padding: var(--space-lg);
    padding-top: 70px;
  }

  .nav a {
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
  }

  .hero {
    min-height: 40vh;
    padding: var(--space-md) 0;
  }

  .hero-content {
    padding: var(--space-sm);
  }

  .card img {
    height: 180px;
  }

  .contact-form {
    padding: var(--space-sm);
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }

  .map-container iframe {
    height: 250px;
  }

  .popup-content {
    padding: var(--space-sm);
    max-width: calc(100% - 20px);
  }

  .footer {
    padding: var(--space-md) 0;
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-xs);
  }

  .logo {
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .card {
    padding: var(--space-xs);
  }

  .card img {
    height: 150px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .price {
    font-size: 1.25rem;
  }

  .nav {
    padding: var(--space-md);
    padding-top: 60px;
  }

  .contact-form {
    padding: var(--space-xs);
  }

  .map-container iframe {
    height: 200px;
  }
}

@media (max-width: 320px) {
  :root {
    --space-xl: 1.5rem;
    --space-lg: 1.25rem;
    --space-md: 0.875rem;
    --space-sm: 0.625rem;
    --space-xs: 0.375rem;
  }

  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-xs);
  }

  .logo {
    font-size: 0.95rem;
    letter-spacing: -0.3px;
  }

  .menu-toggle {
    font-size: 1.1rem;
    width: 26px;
    height: 26px;
  }

  .header {
    padding: var(--space-xs) 0;
  }

  .hero {
    min-height: 35vh;
    padding: var(--space-sm) 0;
  }

  .hero-content {
    padding: var(--space-xs);
  }

  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .section {
    padding: var(--space-sm) 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
  }

  p {
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    line-height: 1.6;
  }

  .card {
    padding: var(--space-xs);
    border-radius: var(--radius-md);
  }

  .card img {
    height: 140px;
    margin-bottom: var(--space-sm);
  }

  .grid {
    gap: var(--space-sm);
  }

  .btn {
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .nav {
    padding: var(--space-sm);
    padding-top: 55px;
    gap: var(--space-sm);
  }

  .nav a {
    font-size: 1rem;
    padding: var(--space-xs) 0;
  }

  .contact-form {
    padding: var(--space-xs);
  }

  .form-group {
    margin-bottom: var(--space-sm);
  }

  .form-group label {
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-xs);
    font-size: 14px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .map-container {
    margin: var(--space-sm) 0;
  }

  .map-container iframe {
    height: 180px;
  }

  .popup-content {
    padding: var(--space-sm);
    max-width: calc(100% - 16px);
    max-height: 85vh;
  }

  .popup-content h2 {
    font-size: 1.3rem;
  }

  .footer {
    padding: var(--space-sm) 0;
    font-size: 0.8rem;
  }

  .footer p {
    margin-bottom: var(--space-xs);
  }

  .asymmetric-item {
    padding: var(--space-sm);
  }

  .price {
    font-size: 1.15rem;
  }
}

