:root {
  --light-blue: #e6f2ff;
  --header-bg: #ffffff;
  --text-dark: #000000;
  --primary-blue: #3bd1f3;
  --card-blue: #2a9fd6;
}

body {
  background-color: var(--primary-blue);
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
}

.header {
  background-color: var(--header-bg);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 50px;
  width: auto;
}

.site-title {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-list a:hover {
  color: var(--primary-blue);
}

.hero {
  padding: 40px 20px;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  text-align: center;
}

.hero-card {
  flex: 0 1 30%;
  padding: 25px;
  border-radius: 8px;
  color: white;
  text-align: center;
  justify-content: center;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

address {
  font-style: normal;
  line-height: 1.6;
  text-align: center;
}

.hero-card a {
  color: white;
  text-decoration: underline;
}

.quote-card h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-top: 0;
}

.social-links {
  margin-top: 20px;
  text-align: center;
  font-size: x-large;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-card {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

.trio-section {
  padding: 3rem 1rem;
}

.trio-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trio-card {
  transition: transform 0.3s ease;
}

.trio-card:hover {
  transform: translateY(-5px);
}

.trio-card figure {
  margin: 0;
}

.trio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.trio-card figcaption {
  padding: 1.5rem;
  border-radius: 0 0 8px 8px;
}

.trio-card h3 {
  color: var(--header-bg);
  margin-bottom: 0.5rem;
}

/*-----------------------------------------------*/

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff90;
  border-radius: 10px;
  padding: 20px;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  color: var(--primary-blue);
  margin-top: 0;
}

time {
  color: #666;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .trio-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .trio-container {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img {
    height: 200px;
  }
}

@media print {
  .trio-section,
  .news-section {
    page-break-inside: avoid;
  }

  .trio-card,
  .news-card {
    break-inside: avoid;
  }
}

.news-section {
  padding: 3rem 0;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.news-container h2 {
  text-align: left;
  margin-bottom: 2rem;
  color: black;
}

.news-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.news-gallery-item {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
}

.news-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .news-gallery {
    flex-direction: column;
  }

  .news-gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.quote-text {
  color: #1a3e72;
  font-family: "Brush Script MT", cursive, sans-serif;
  font-size: 1.8rem;
  margin-top: 1rem;
  font-weight: normal;
}

.trio-section {
  padding: 2rem 0;
  text-align: center;
}

.trio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.trio-link {
  font-size: 1.5rem;
  color: var(--header-bg);
  text-decoration: none !important;
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.trio-link:hover {
  color: black;
}

@media (max-width: 768px) {
  .trio-container {
    flex-direction: column;
    gap: 1rem;
  }

  .trio-link {
    font-size: 1.3rem;
  }

  .quote-text {
    font-size: 1.5rem;
  }
}

/*-------------------------------------------------*/

.two-column-section {
  padding: 3rem 1rem;
}

.column-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.left-column,
.right-column {
  flex: 1;
  padding: 1.5rem;
  border-radius: 8px;
}

.section-title {
  color: var(--header-bg);
  margin-top: 0;
  font-size: 1.3rem;
}

.section-subtitle {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .column-container {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    width: 100%;
  }
}

.duo-link {
  font-size: 1.5rem;
  color: black;
  text-decoration: none !important;
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

.duo-link:hover {
  color: var(--light-blue);
}

.similar-news-section {
  padding: 3rem 0;
  background-color: white;
}

.two-images-section {
  padding: 3rem 0;
  background-color: white;
}

.two-images-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.two-images-item {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
}

.two-images-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .two-images-gallery {
    flex-direction: column;
  }

  .two-images-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.text-buttons-section {
  padding: 3rem 0;
  background-color: var(--primary-blue);
}

.text-buttons-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.text-button-container {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  background-color: rgb(225, 225, 225);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 3px 3px rgba(1, 1, 1, 0.4);
  display: flex;
  flex-direction: column;
}

.text-content {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.text-content p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.6;
}

.action-button {
  display: inline-block;
  background-color: var(--primary-blue);
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.action-button:hover {
  background-color: var(--card-blue);
}

@media (max-width: 768px) {
  .text-buttons-gallery {
    flex-direction: column;
  }

  .text-button-container {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.erdekvedelem {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 20px;
  color: #1a3e72;
}

.footer {
  background-color: white;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  background-color: white;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0 0 1.5rem 0;
  padding: 0;
  background-color: white;
}

.footer-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-blue);
}

.footer-logo-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.copyright {
  color: var(--text-dark);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

.video-section {
  padding: 3rem 0;
  background-color: white;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 40%;
  margin: 0 auto;
  padding-bottom: 22.5%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .video-wrapper {
    width: 80%;
    padding-bottom: 45%;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

.zoomable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.02);
}

@media only screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
  }

  .close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

.about-article {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.highlight-box {
  background-color: var(--light-blue);
  padding: 1rem;
  border-left: 4px solid var(--primary-blue);
  margin: 1rem 0;
}

.video-description {
  background: white;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
}

.video-description summary {
  font-weight: bold;
  cursor: pointer;
}

.accessibility-tools {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.accessibility-tools button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 3px;
  cursor: pointer;
}

#caption {
  color: white;
  text-align: center;
  padding: 10px;
}

main a:visited {
  color: #551a8b;
  opacity: 0.8;
}

.nav-list a:visited,
.footer-nav a:visited {
  color: inherit;
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 1000;
}

.nav-list a.active,
.footer-nav a.active {
  color: var(--primary-blue);
  font-weight: bold;
}

.map-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.social-links a {
  color: #3b5998;
  margin: 0 10px;
  text-decoration: none;
}
.social-links a:hover {
  opacity: 0.8;
}

:root {
  --light-blue: #f0f8ff;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-blue);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info,
.contact-form {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.contact-table th,
.contact-table td {
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.contact-table th {
  width: 30%;
  font-weight: bold;
}

.contact-form h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.submit-btn {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--dark-blue);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }

  .contact-table th {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .contact-table th,
  .contact-table td {
    padding: 0.5rem;
    display: block;
    width: 100%;
  }

  .contact-table tr {
    margin-bottom: 1rem;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
}
