body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; 
    background-color: white;
}

h1, h2, h3, p {
  font-family: "Times New Roman", serif;
}

a {
  text-decoration: underline;
  color: #5e2b97;
}

a:visited {
  color: #9b59b6;
}

a:hover {
  color: #8e44ad;
  text-decoration: underline;
}
  
header {
    background-color: #f3e8ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.custom-link {
    text-decoration: none;
    color: inherit;
}
  
.logo {
    display: flex;
    align-items: center;
}
  
.logo img {
    height: 40px;
    margin-right: 20px;
}
  
.logo span {
    font-weight: bold;
    font-size: 1.5rem;
    color: #5e2b97;
}
  
nav a {
    margin-left: 40px;
    text-decoration: none;
    color: #5e2b97;
    font-weight: bold;
}
  
nav a:hover {
    text-decoration: underline;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  color: #5e2b97;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}

.arrow {
  font-size: 0.7rem;
  margin-left: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f3e8ff;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 12px;
  z-index: 1;
}

.dropdown-content a {
  color: #5e2b97;
  padding: 10px 0;
  text-decoration: none;
  display: block;
  text-align: left;
  text-decoration: underline;
}

.dropdown-content a:hover {
  background-color: #e6d6fb;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.banner {
    height: 300px;
    background-color: #442667;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.banner-overlay {
    text-align: center;
    max-width: 40%;
    background-color: rgba(94, 43, 151, 0.5);
    padding: 5px 60px 20px 60px;  /* Felul, jobbra, alul, balra */
}
  
.banner-overlay h2 {
    font-size: 2rem;
    margin-bottom: 50px;
}
  
.banner-overlay p {
    font-size: 1rem;
}

.placement-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.placement-image img {
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.placement-text {
  width: 90%;
  max-width: 400px;
  padding: 10px;
  box-sizing: border-box;
}

.placement-text h2 {
  font-size: 2.25rem;
  color: #5e2b97;
  margin-bottom: 20px;
}

.placement-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/*tablet*/
@media (max-width: 1024px) {
  .placement-section {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 40px 30px;
    gap: 20px;
  }

  .placement-image img {
    width: 100%;
    max-width: 400px;
  }

  .placement-text {
    max-width: 350px;
  }
}

/*telefon*/
@media (max-width: 768px) {
  .placement-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .placement-text {
    max-width: 100%;
    padding: 0;
  }
}



.effects-section {
  text-align: center;
  padding: 60px 20px;
  border: 1px solid #f3e8ff;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 8px;
}

.effects-section h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
  color: #5e2b97;
}

.effects-description {
  color: #4b4b6f;
  max-width: 600px;
  margin: 0 auto 40px;
}

.effects-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.effect-card {
  background: #f1e4ff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.effect-image {
  height: 150px;
  width: 100%;
}

.effect-text {
  padding: 16px;
  text-align: left;
}

.effect-text h3 {
  margin: 0 0 10px;
  color: #5e2b97;
  font-size: 1.1rem;
}

.effect-text h6 {
  margin: 0 0 10px;
  color: #4b4b6f;
  font-size: 0.95rem;
}

.effect-text a {
  color: #5e2b97;
  text-decoration: none;
  font-weight: 500;
  text-decoration: underline;
}

.effect-text a:hover {
  text-decoration: underline;
}

/* Tablet, ketto egymas mellett, egy alul kozepen */
@media (max-width: 1024px) {
  .effects-cards {
    justify-content: center;
  }

  .effect-card {
    width: 45%;
  }

  .effect-card:nth-child(3) {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }
}

/* telefon, mindharom egymas alatt */
@media (max-width: 768px) {
  .effect-card {
    width: 100%;
    max-width: 320px;
  }

  .effects-cards {
    flex-direction: column;
    align-items: center;
  }
}




.video-section {
  background-color: #f3e8ff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.fajdalom-piercingek {
  padding: 30px 40px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.fajdalom-piercingek h2 {
  font-size: 2.25rem;
  margin-bottom: 70px;
  margin-left: 10px;
  color: #5e2b97;
  border-bottom: 1px solid #5e2b97;
  display: block;
}

.piercing-content {
  display: flex;
  flex-direction: row;
  gap: 80px;
  position: relative;
}

.piercing-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  margin-left: 40px;
}

.piercing-images img {
  max-width: 200px;
  height: auto;
}

.piercing-images img:nth-child(2) {
  margin-top: -20px;
}

.piercing-descriptions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.description-card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 12px;
  width: 75%;
  transition: all 0.3s ease;
}

.daith-card {
  z-index: 1;
}

.conch-card {
  margin-top: -50px; /* felfele csusztat */
  margin-left: 40px; /* jobbra csusztat */
  z-index: 2;
}


.description-card h3 {
  color: #5e2b97;
  font-size: 2.15rem;
  margin-bottom: 12px;
}

.description-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.stresszkezeles-piercingek {
  padding: 60px 40px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.stresszkezeles-piercingek h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
  margin-left: 20px;
  color: #5e2b97;
  border-bottom: 1px solid #5e2b97;
}

.piercing-content {
  display: flex;
  flex-direction: row;
  gap: 10px;
  position: relative;
}

.piercing-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.piercing-images img {
  max-width: 200px;
  height: auto;
}

.piercing-descriptions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  padding-left: 100px;
}

.description-card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 12px;
  width: 75%;
  transition: all 0.3s ease;
}

.tragus-card {
  z-index: 1;
}

.shenmen-card {
  margin-top: -50px;
  margin-left: 40px;
  z-index: 2;
}

.rook-card {
  margin-top: -50px;
  margin-left: 80px;
  z-index: 3;
}

.description-card h3 {
  color: #5e2b97;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.description-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.hormonalis-piercingek {
  padding: 30px 40px;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.hormonalis-piercingek h2 {
  font-size: 2.25rem;
  margin-bottom: 70px;
  margin-left: 10px;
  color: #5e2b97;
  border-bottom: 1px solid #5e2b97;
  display: block;
}

.piercing-content {
  display: flex;
  flex-direction: row;
  gap: 80px;
  position: relative;
}

.piercing-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  margin-left: 40px;
}

.piercing-images img {
  max-width: 200px;
  height: auto;
}

.piercing-images img:nth-child(2) {
  margin-top: -20px;
}

.piercing-descriptions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.description-card {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 12px;
  width: 75%;
  transition: all 0.3s ease;
}

.klimax-card {
  z-index: 1;
}

.slim-card {
  margin-top: -50px; /* felfele csusztat */
  margin-left: 40px; /* jobbra csusztat */
  z-index: 2;
}


.description-card h3 {
  color: #5e2b97;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.description-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* Tablet, egymas mellett de szukebb szovegsav */
@media (max-width: 1024px) {
  .piercing-content {
    flex-direction: row;
    gap: 40px;
    padding: 0 20px; /* oldalirányú margó */
  }

  .piercing-images {
    margin-left: 0;
  }

  .piercing-descriptions {
    padding-left: 0;
  }

  .description-card {
    width: 100%;
  }
}


/* telefon, kep es szoveg egymas alatt paronkent */
@media (max-width: 768px) {
  .piercing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .piercing-images,
  .piercing-descriptions {
    display: contents; 
  }

  .piercing-images img,
  .description-card {
    width: 90%;
    max-width: 340px;
    margin: 0 auto 30px auto;
  }

  .piercing-images img:nth-child(2),
  .conch-card,
  .shenmen-card,
  .rook-card,
  .slim-card {
    margin-top: 0;
    margin-left: 0;
  }
}


  /* elcsusztatasok nem kellenek telefonon */
  .conch-card,
  .shenmen-card,
  .rook-card,
  .slim-card {
    margin-top: 0;
    margin-left: 0;
  }






.section-divider {
  width: 80%;
  height: 1.5px;
  background-color: #5e2b97;
  margin: 100px auto 20px auto;
  border-radius: 1px;
}

.summary-container details {
  margin-bottom: 15px;
}

.summary-container details summary {
  font-size: 1.4em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f3e8ff;
  padding: 10px;
  border-radius: 5px;
}

.summary-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.summary-container th, .summary-container td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.summary-container caption {
  font-size: 1.5em;
  font-weight: bold;
  padding: 10px;
  text-align: center;
}

.center-title {
  text-align: center;
  margin-bottom: 20px;
}

.footer {
  background-color: #f3e8ff;
  padding: 2rem 1rem;
  border-radius: 12px;
  font-family: sans-serif;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  color: #2f4a75;
  font-weight: 500;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  background-color: #faf5ff;
  padding: 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: underline;
}

.footer-socials img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  border-top: 1px solid #d9e1ef;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #333;
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
}

.footer-links a {
  color: #2f4a75;
  text-decoration: none;
  font-weight: 500;
  text-decoration: underline;
}

body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 10px;
  color: inherit;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px;
}

.theme-toggle,
.contrast-toggle {
  background-color: #eee;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.theme-toggle:hover,
.contrast-toggle:hover {
  background-color: #ccc;
}

body.high-contrast {
  background-color: #000 !important;
  color: #fff !important;
}

body.high-contrast a {
  color: rgb(0, 0, 0) !important;
}

body.high-contrast button {
  background-color: #fff !important;
  color: #000 !important;
}

body.high-contrast #hatások h2,
body.high-contrast #elhelyezkedések h2,
body.high-contrast #elhelyezkedések h3,
body.high-contrast #elhelyezkedések p {
  color: white;
}

.skip-link {
  position: absolute;
  top: -40px;               /* elrejti */
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}
