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;
    text-decoration: underline;
}
  
.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;
}
  
.ekszer-tipusok {
    padding: 60px 20px;
    text-align: center;
}
  
.ekszer-tipusok h2 {
    font-size: 2rem;
    color: #5e2b97;
    margin-bottom: 10px;
}
  
.ekszer-tipusok h3 {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
}
  
.ekszer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
  }  
  
.ekszer-item img {
    width: 120px;
    height: auto;
    object-fit: contain;
}
  
.ekszer-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #5e2b97;
}

@media (max-width: 600px) {
    .ekszer-grid {
      gap: 15px;
    }
  
    .ekszer-item img {
      width: 75%;
    }
  
    .ekszer-item p {
      font-size: 0.8rem;
    }
}




.kategoriabox h2 {
    text-align: left;
    margin-left: 50px;
    color: #5e2b97;
}

.piercing-gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 20px;
}

.piercing-gallery {
    display: flex;
    gap: 60px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    padding-left: 50px;
}

.piercing-gallery::-webkit-scrollbar {
    display: none;
}

.piercing-item {
    flex: 0 0 auto;
    width: 180px;
    text-align: center;
}

.piercing-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.piercing-item p {
    margin-top: 5px;
    font-weight: bold;
    color: #5e2b97;
}

.scroll-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: #5e2b97;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1;
}

.scroll-btn:hover {
    background-color: #441b77;
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.tukrozott-kep {
    transform: scaleX(-1); /* Fuggoleges tukrozes */
}

.discount-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
  }
  
  @media (min-width: 768px) {
    .discount-container {
      flex-direction: row;
      justify-content: center;
    }
  }
  
  .discount-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 15rem;
    border-radius: 1rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .discount-label {
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
  }
  
  .discount-value {
    position: absolute;
    bottom: 0.5rem;
    left: 0.75rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
  }
  
  .newsletter-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f3e8ff;
    border-radius: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
    width: 100%;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .newsletter-content {
    flex: 1;
    min-width: 300px;
  }
  
  .newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .newsletter-content p {
    margin-bottom: 1.5rem;
    color: #555;
  }
  
  .newsletter-form {
    display: flex;
    border-radius: 2rem;
    overflow: hidden;
    max-width: 500px;
    background-color: #fcf7ff;
  }
  
  .newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #333;
  }
  
  .newsletter-form input::placeholder {
    color: #999;
  }
  
  .newsletter-form button {
    background-color: #800080;
    color: white;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}
  
.newsletter-form button:hover {
    background-color: #5e005e;
}
  
.newsletter-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}
  
.newsletter-image img {
    max-width: 90%;
    height: auto;
    border-radius: 1rem;
}

@media (max-width: 800px) {
    .newsletter-hero {
      flex-direction: column;
      text-align: center;
      padding: 2rem 1rem;
    }
  
    .newsletter-form {
      flex-direction: column;
      gap: 1rem;
    }
  
    .newsletter-form input[type="email"],
    .newsletter-form button {
      width: 100%;
      padding: 0.75rem 1rem;
    }
  }
  


  
.appointment-link {
    text-align: center;
    margin: 20px 0;
    font-size: 1.25rem;
}
  
.appointment-link a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: underline;
}
  
.appointment-link a:hover {
    color: #9c27b0;
}
  
.appointment-link .arrow {
    margin-left: 5px;
    font-weight: bold;
    font-size: 1.25rem;
}  

.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 #high h2,
body.high-contrast #high h3,
body.high-contrast #high p {
    color: white;
}

body.high-contrast #fulpiercingek h2,
body.high-contrast #fulpiercingek h3,
body.high-contrast #fulpiercingek p {
    color: white;
}

body.high-contrast #orrpiercingek h2,
body.high-contrast #orrpiercingek h3,
body.high-contrast #orrpiercingek p {
    color: white;
}

body.high-contrast #szemoldokpiercingek h2,
body.high-contrast #szemoldokpiercingek h3,
body.high-contrast #szemoldokpiercingek p {
    color: white;
}

body.high-contrast #szajpiercingek h2,
body.high-contrast #szajpiercingek h3,
body.high-contrast #szajpiercingek p {
    color: white;
}

body.high-contrast #koldokpiercingek h2,
body.high-contrast #koldokpiercingek h3,
body.high-contrast #koldokpiercingek p {
    color: white;
}

body.high-contrast #dermalpiercingek h2,
body.high-contrast #dermalpiercingek h3,
body.high-contrast #dermalpiercingek p {
    color: white;
}

body.high-contrast #low h2,
body.high-contrast #low h3,
body.high-contrast #low p {
    color: rgb(0, 0, 0);
}

.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;
}
  