@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500&family=Bodoni+Moda:wght@700&display=swap');

:root {
  --color-bg: #f5f5f0;
  --color-primary: #6d4c41;
  --color-dark: #3e2723;
  --color-white: #ffffff;
  --color-light: #eceff1;
  --font-serif: 'Bodoni Moda', serif;
  --font-sans: 'Roboto Slab', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-size: 18px;
  line-height: 1.76;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-dark);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -1.2px;
}

h1 {
  font-size: 74px;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -1.4px;
}

h2 {
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1.0px;
}

h3 {
  font-size: 32px;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  max-width: 710px;
  text-align: justify;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  z-index: 100;
  transition: background-color 0.26s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
}

.header-container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 1.5rem 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-primary);
}

nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--color-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-primary);
}

/* Sections */
section {
  padding: 130px 76px;
}

.container {
  max-width: 1540px;
  margin: 0 auto;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Hero Block */
#hero {
  padding: 0;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(62, 39, 35, 0.3);
}

.hero-text {
  color: var(--color-white);
  text-align: center;
  z-index: 10;
}

.hero-text h1 {
  color: var(--color-white);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

/* Image and Text Layout */
.image-text-block {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 210px;
}

.image-text-block.image-left {
  flex-direction: row;
}

.image-text-block.image-right {
  flex-direction: row-reverse;
}

.image-text-block.image-left .image {
  flex: 0 0 68%;
}

.image-text-block.image-left .text {
  flex: 0 0 32%;
}

.image-text-block.image-right .image {
  flex: 0 0 45%;
}

.image-text-block.image-right .text {
  flex: 0 0 55%;
}

.image-block {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.38s ease, transform 0.38s ease;
}

.image-block:hover {
  box-shadow: 0 11px 26px rgba(0, 0, 0, 0.12);
  transform: scale(1.04);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--color-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-weight: 500;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-light);
}

tr:hover {
  background-color: #f9f9f7;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Accordion FAQ */
.faq-container {
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-light);
  padding: 1.5rem 0;
}

.faq-question {
  cursor: pointer;
  font-weight: 500;
  color: var(--color-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question.active {
  color: var(--color-primary);
}

.faq-answer {
  display: none;
  padding: 1rem 1rem 1rem 1rem;
  color: var(--color-dark);
}

.faq-answer.show {
  display: block;
}

.faq-toggle {
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}

/* Buttons */
button, a.button {
  border: none;
  background: none;
  color: var(--color-dark);
  cursor: pointer;
  font-size: 16px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  text-decoration: underline;
  border-bottom: 2px solid transparent;
}

button:hover, a.button:hover {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

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

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

input, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-light);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  background-color: var(--color-white);
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-disclaimer {
  font-size: 14px;
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-style: italic;
}

.submit-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.submit-btn:hover {
  background-color: var(--color-dark);
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 76px;
  margin-top: 210px;
  font-size: 14px;
}

.footer-container {
  max-width: 1540px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-dark);
}

.modal-close:hover {
  color: var(--color-primary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1540px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.cookie-btn.decline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.cookie-btn:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1200px) {
  .header-container {
    padding: 1.5rem 40px;
  }

  section {
    padding: 100px 40px;
  }

  .footer-container {
    padding: 2rem 40px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .header-container {
    padding: 1rem 28px;
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  section {
    padding: 80px 28px;
  }

  .image-text-block {
    flex-direction: column !important;
    gap: 2rem;
  }

  .image-text-block .image,
  .image-text-block .text {
    flex: 1 !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
