@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Merriweather:wght@400;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 90%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 20px;
  width: 100%;
  max-width: 100%;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #3498DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #2980B9;
}

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

nav a {
  text-decoration: none;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3498DB;
}

main {
  margin-top: 80px;
}

section {
  padding: 5rem 0;
  position: relative;
}

section.full-width {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 10rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 800px;
}

.hero p {
  color: #fff;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.disclaimer-main {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-top: 1.5rem;
  font-style: italic;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-content.reverse {
  direction: rtl;
}

.section-content.reverse > * {
  direction: ltr;
}

.section-text {
  flex: 1;
}

.section-image {
  flex: 1;
  text-align: center;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
  color: #3498DB;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #f9f9f9;
}

table th {
  background-color: #3498DB;
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

table tr:hover {
  background-color: #f0f0f0;
}

.faq-item {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-left: 4px solid #3498DB;
  border-radius: 4px;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  color: #3498DB;
}

.faq-answer {
  margin-top: 1rem;
  display: none;
  line-height: 1.8;
}

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

.cta-button {
  display: inline-block;
  background-color: #3498DB;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: #2980B9;
}

.section-divider {
  height: 80px;
}

.contacts-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498DB;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  font-style: italic;
}

footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 3rem 0 1.5rem 0;
  margin-top: 5rem;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3498DB;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #3498DB;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #95a5a6;
}

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

.modal.show {
  display: block;
}

.modal-content {
  background-color: #fff;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
}

.close-modal {
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #3498DB;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: #fff;
  padding: 1.5rem;
  z-index: 998;
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: #3498DB;
  color: #fff;
}

.cookie-accept:hover {
  background-color: #2980B9;
}

.cookie-reject {
  background-color: #95a5a6;
  color: #fff;
}

.cookie-reject:hover {
  background-color: #7f8c8d;
}

.thank-you-modal {
  text-align: center;
  padding: 2rem;
}

.thank-you-modal h2 {
  color: #2ECC71;
  margin-bottom: 1rem;
}

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

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .section-content,
  .contacts-form {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-banner.show {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
