/*
Theme Name: PipacsWeb
Theme URI: https://pipacsweb.hu
Author: A te neved
Author URI: https://pipacsweb.hu
Description: Egyedi WordPress sablon a PipacsWeb számára.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pipacsweb
*/

@font-face {
  font-family: 'Michroma';
  src: url('fonts/Michroma-Regular.woff2') format('woff2'),
       url('fonts/Michroma-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/*.........................................................................*/

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.site-header-web {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.logo-container {
  flex-shrink: 0;
  margin-left: 60px;
  margin-top: 10px;
  margin-right: 20px;
}

.logo-small {
  height: 110px;
  width: 110px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.3);
}

.main-menu-al {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  padding-right: 60px;
}

/* mobil menü elrejtése */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

.hamburger-menu {
  display: none;
}

.mobile-logo {
  display: none;
}

.main-menu-al ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.3rem, 1vw, 1rem);
  margin: 0;
  padding: 0;
  align-items: flex-start;
  justify-content: center;
}

.main-menu-al a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-menu-al ul li a {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.6rem, 1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #000000;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: nowrap;
}

.main-menu-al li:not(:first-child)::before {
  content: "•";
  margin: 0 0.8rem;
  color: #000000;
}

.main-menu-al ul li a:hover {
  animation: pulse 0.6s ease-in-out;
  color: #8608de;
  text-shadow: 0 0 6px #8608de;
}

.header-image-container-al {
  position: relative;
  width: 100%;
  margin-top: 130px;
  padding: 0;
  max-height: clamp(200px, 40vw, 500px);
  overflow: hidden;
  z-index: 5;
  mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 92%, transparent 100%);
}

.header-image-al {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
}

.section-background-transition {
  height: 2px;
  background: linear-gradient(to bottom, #f5f5f5 0%, #f5f5f5 100%);
}


/* Bal oldali logó + menü sorban */
.header-left-web {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.message-menu-wrapper {
  position: relative;
  display: inline-block;
}

.message-toggle {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  padding: 1rem;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  padding: 6px 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: block;
  width: 45px;
  height: 35px;
  margin: 4px;
}

.message-toggle svg {
  width: clamp(25px, 6vw, 32px);
  height: clamp(15px, 3vw, 20px);
  fill: #8608de;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.message-dropdown {
  display: none;
  position: absolute;
  top: clamp(3rem, 4vw, 5rem);
  right: clamp(0.5rem, 1vw, 2rem);
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.5rem, 0.7vw, 1rem);
  background: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 999;
  min-width: 140px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: normal;
  word-break: break-word;
}

.message-dropdown a {
  display: block;
  color: #333;
  text-decoration: none;
  margin: 0.3rem 0;
}

.message-dropdown a:hover {
  text-decoration: underline;
}



/*.............................................................*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('<?php echo get_template_directory_uri(); ?>/images/fejlec001.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 1.2rem);
  color: white;
  text-align: center;
}

.hero-left-image {
  display: block;
  position: relative;
}

.hero-left-image img {
  width: clamp(150px, 25vw, 400px);
  object-fit: cover;
  display: block;
  border-radius: 0;
  mask-image: radial-gradient(circle, black 55%, transparent 60%);
  -webkit-mask-image: radial-gradient(circle, black 55%, transparent 60%);
  box-shadow: 0 0 30px 15px rgba(255,255,255,0.3);
}

.hero-text h1 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  margin-bottom: 0.5rem; 
  text-shadow: 0 0 20px #8608de;
}

.hero-text p {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-family: 'Michroma', sans-serif;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px #999;
}

.hero-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.2rem;
  max-height: clamp(30px, 15vw, 60px);
  overflow: hidden;
}

.btn {
  flex-shrink: 1;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  background: #8608de;
  color: white;
  text-decoration: none;
  font-family: 'Michroma', sans-serif;
  border-radius: 30px;
  box-shadow: 0 0 20px #8608de;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 150px;
  max-width: 220px;
  text-align: center;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: none;
}

/* ....................................................................... */

main {
    margin-top: 5px;
    padding: auto;
}

.mobile-service-image {
  display: none;
}

.services-section {
  padding: 4rem 2rem;
  background-color: #f5f5f5;
  text-align: center;
}

.services-section h1 {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.8rem, 4vw, 6rem);
  font-weight: 500;
  text-shadow: 2px 2px 10px #8608de;
}

.services-section h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 2vw, 4rem);
  font-family: 'Michroma', sans-serif;
  font-weight: 300;
  letter-spacing: 8px;
  text-shadow: 1 1 20px #8608de;
}

.intro {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
  padding: 1rem 1rem;
}

.services-section h2::before {
  content: "•";
  margin-right: 0.8rem;
  color: #000000;
  font-size: 1rem;
}

.services-section h2::after {
  content: "•";
  margin-left: 0.8rem;
  color: #000000;
  font-size: 1.2rem;
}

.services-section p {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.9rem, 1vw, 1.8rem);
  max-width: 100%;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #333;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.service-box {
  background-color: white;
  border-radius: 4px;
  padding: 1.8rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  width: clamp(200px, 20vw, 300px);
}

@keyframes purple-blink {
  0% {
    color: #000000;
    text-shadow: 0 0 5px #8608de;
  }
  50% {
    color: #8608de;
    text-shadow: 0 0 15px #8608de;
  }
  100% {
    color: #000000;
    text-shadow: 0 0 5px #8608de;
  }
}

.highlight-word {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.8rem, 0.9vw, 1.2rem);
  font-weight: bold;
  text-transform: uppercase;
  animation: purple-blink 3s infinite;
  margin: 0;
  line-height: 0.8;
}

.bold-text {
  font-weight: 600;
}

.service-icon {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
}

.orbitron-text {
  font-family: 'Michroma', sans-serif;
  font-size: clamp(1.5rem, 2vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.orbitron-text::after {
  content: '';
  display: block;
  margin-top: 2rem;
}

/* ........................................................................ */
.contact-image {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}

.contact-container-al {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.contact-container-al h1 {
  font-size: clamp(1.2rem, 2.3vw, 3.5rem);
  margin-bottom: 2rem;
  font-family: 'Michroma', sans-serif;
  text-transform: uppercase;
  color: #222;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(200px, 20vw, 300px);
    padding: 1.8rem;
    background: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    white-space: normal;
}

.kapcsolat-divider {
  border: none;
  border-top: 1px solid #8608de;
  margin: 1rem auto;
  width: 80%;
}

.anita-text,
.dani-text {
   font-size: clamp(0.8rem, 0.9vw, 1rem) !important; 
}

.contact-box p {
  font-size: clamp(0.9rem, 1vw, 1.8rem);
  line-height: 1.6;
  font-family: 'Michroma', sans-serif;
  color: #333;
  margin: 0 auto;
}

.contact1 {
  width: 150px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  padding: 1.2rem;
}

.titulus-text {
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  color: #8608de;
  font-weight: 600;
}

.intro-text {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 1rem;
  white-space: normal;
}

.link-text {
  color: #8608de;
  font-weight: 600;
  text-shadow: 0 0 3px #b966ff;
}

/*..........................................................................*/

footer {
  padding: 0;
  margin: 0;
  font-family: 'Michroma', sans-serif; 
}

.custom-footer {
  background-image: url('images/üres-banner.jpg');
  
  left: 50%;
  right: 50%;
  margin-right: -50vw;
  
  height: auto;
  min-height: 300px;
  display: block;
  margin-bottom: 1rem;
  
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;

  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  padding: 2rem 0rem;
  color: white;
  
  mask-image: linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 2%, black 98%, transparent 100%);
}

.footer-overlay {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  gap: 0.4rem;
}

.footer-column h3 {
  font-size: clamp(0.9rem, 1vw, 1.5rem);
  margin-bottom: 1rem;
  margin-left: 1rem;
  color:#8608de;
}

.footer-column h3:not(:last-child) {
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
  font-size: clamp(0.7rem, 0.9vw, 1.1rem);
  color: white;
  text-decoration: none;
  text-align: center;
  margin: 0.3rem 0;
  line-height: 1;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column.center-logo {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center;
  text-align: center;
  flex: 1;
}

.center-logo img {
  max-height: clamp(80px, 30vw, 200px);
  overflow: hidden;
  margin: 0 auto;
  display: block;
}

/* .......................... */

.footer-bottom {
  text-align: center;
  font-family: 'Michroma', sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  overflow: hidden;
  color: #ccc;
  padding: 1rem;   
  margin-left: 30px;
  margin-right: 30px;
}



/*.............................*/

.backtotop-toggle {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  
  background: rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.2);
  color: rgba(0, 102, 204, 0.6);
  border: 1px solid rgba(0,0,0,.1);
  
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.6);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all .3s ease;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.backtotop-toggle.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.backtotop-toggle:hover {
  background: rgba(0,0,0,.1);
  color: rgba(0,0,0,.85);
}

@media (max-width: 680px) {
  .backtotop-toggle {
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 12px;
  }

  .backtotop-toggle svg {
    width: 16px;
    height: 16px;
  }
  
  
}






