
:root {
  --color-dark: #2C2418;
  --color-darker: #1A160F;
  --color-light: #E8D9C5;
  --color-mid: #C9B18F;
  --color-accent1: #5F6C37;
  --color-accent2: #A34A28;
  --color-interface: #3D3630;
  --font-main: 'Open Sans', sans-serif;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --radius: 8px;
  --sidebar-width: 20%;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-dark);
  color: var(--color-light);
  line-height: 1.6;
  display: flex;
  overflow-x: hidden;
  position: relative;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23E8D9C5' fill-opacity='0.03' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}


h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-light);
}

h1 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent2);
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-mid);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-accent1);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

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

a:focus {
  outline: 2px dashed var(--color-accent1);
  outline-offset: 3px;
}


.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--color-darker);
  position: fixed;
  left: 0;
  top: 0;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(201, 177, 143, 0.2);
  overflow-y: auto;
  z-index: 10;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.logo {
  width: 120px;
  height: auto;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin-bottom: 1rem;
}

.nav-link {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--color-light);
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
  background-color: rgba(201, 177, 143, 0.1);
  border-left: 3px solid var(--color-accent1);
  transform: translateX(5px);
}

.nav-link.active {
  border-left-color: var(--color-accent2);
}

.nav-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  font-size: 0.85rem;
  opacity: 0.7;
  padding-top: 2rem;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.legal-links a {
  color: var(--color-mid);
  opacity: 0.8;
}

.legal-links a:hover {
  opacity: 1;
}


.content {
  width: calc(100% - var(--sidebar-width));
  margin-left: var(--sidebar-width);
  padding: 2rem;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}


.hero {
  position: relative;
  padding: 4rem 0;
  margin-bottom: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
  border-radius: var(--radius);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(26, 22, 15, 0.8);
  border-radius: var(--radius);
  border-left: 5px solid var(--color-accent2);
}


.section {
  margin-bottom: 4rem;
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent1);
}


.card {
  background-color: var(--color-darker);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent1), var(--color-accent2));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.card-title {
  margin-top: 0;
  color: var(--color-mid);
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(26, 22, 15, 0.9), transparent);
  color: var(--color-light);
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}


.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-accent1);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: var(--color-accent2);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(95, 108, 55, 0.5);
}

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

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


.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-mid);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--color-interface);
  border: 1px solid rgba(201, 177, 143, 0.3);
  border-radius: var(--radius);
  color: var(--color-light);
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent1);
  box-shadow: 0 0 0 3px rgba(95, 108, 55, 0.3);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-mid);
  border-radius: 3px;
  background-color: var(--color-interface);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

input[type="checkbox"]:checked {
  background-color: var(--color-accent1);
  border-color: var(--color-accent1);
}

input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
  font-size: 12px;
}


.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--color-accent1);
  width: 30px;
  text-align: center;
}

.map-container {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--color-darker);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.product-info {
  padding: 1.5rem;
}

.product-price {
  font-weight: 700;
  color: var(--color-accent2);
  margin-bottom: 1rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.timeline {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--color-accent1);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--color-accent2);
  border: 4px solid var(--color-accent1);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.left::after {
  right: -14px;
}

.timeline-item.right::after {
  left: -14px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--color-darker);
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  margin-top: 0;
}


.footer {
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(201, 177, 143, 0.2);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-mid);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-darker);
  padding: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-title {
  margin: 0;
  font-size: 1.2rem;
}

.cookie-close {
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-settings {
  margin-top: 1rem;
}

.cookie-category {
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cookie-settings-toggle {
  background: none;
  border: none;
  color: var(--color-accent1);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}


.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--color-accent2);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thanks-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}


.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 3rem;
}

.legal-content h3 {
  margin-top: 2rem;
}

.legal-content ul, 
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--color-mid);
}


.text-accent {
  color: var(--color-accent1);
}

.text-highlight {
  color: var(--color-accent2);
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}


@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 80px;
  }
  
  .sidebar {
    padding: 1.5rem 0.5rem;
  }
  
  .logo {
    width: 60px;
  }
  
  .nav-link span {
    display: none;
  }
  
  .nav-link {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
  }
  
  .nav-link i {
    margin-right: 0;
    font-size: 1.5rem;
  }
  
  .sidebar-footer {
    display: none;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0%;
  }
  
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 21px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  :root {
    --sidebar-width: 0;
  }
  
  body {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    padding: 0.5rem;
    flex-direction: row;
    justify-content: space-around;
    border-right: none;
    border-top: 1px solid rgba(201, 177, 143, 0.2);
    z-index: 100;
  }
  
  .logo-container {
    display: none;
  }
  
  .nav-list {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 0;
  }
  
  .nav-list li {
    margin-bottom: 0;
  }
  
  .nav-link {
    padding: 0.8rem 0.5rem;
    border-left: none;
    border-top: 3px solid transparent;
  }
  
  .nav-link:hover, .nav-link.active {
    border-left: none;
    border-top: 3px solid var(--color-accent1);
    transform: translateY(-5px);
    background-color: transparent;
  }
  
  .nav-link.active {
    border-top-color: var(--color-accent2);
  }
  
  .content {
    width: 100%;
    margin-left: 0;
    padding: 1.5rem;
    padding-bottom: 5rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .cookie-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-icon {
    margin-bottom: 0.5rem;
  }
}


.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 10;
}

.iti__country-list {
  background-color: var(--color-interface);
  color: var(--color-light);
  border-color: rgba(201, 177, 143, 0.3);
}

.iti__country.iti__highlight,
.iti__country:hover {
  background-color: rgba(201, 177, 143, 0.2);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes slideInUp {
  from { 
    transform: translateY(50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-up {
  animation: slideInUp 0.8s ease-out;
}


html {
  scroll-behavior: smooth;
}