
/* color: #6fd1cb;  CIAN */ 

/* Google Fonts import */
/* Importáljuk a szükséges betűtípusokat és változatokat */
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:wght@400;700&family=Open+Sans:ital,wght@0,400;1,600&family=Poppins:wght@400&family=Protest+Revolution&display=swap');




.miro {      font-family: 'Protest Revolution', cursive;  font-size: 3rem;  /* Miró */  }
.logo {      font-size: 1.2rem;    font-family: "Open Sans";    font-weight: 400;    font-style: normal;    font-display: swap; /* Grafikai stúdió */  
    opacity: 0; /* Kezdetben láthatatlan */
    animation: OPACITY-NULLA-EGY 1s ease-out 0.2s forwards;       }


/* Alap stílusok */
body {  font-family: Poppins;   background-color: #ebe7e0;      color: #212121; font-display: swap;    margin: 0 auto; /* Center */
    line-height: 1.6;   padding: 0 20px;     max-width: 1200px; }

body, h1, h2, h3, h4, p  { font-weight: 400; }



 li a { font-family: "Open Sans";  font-weight: 400;  font-style: normal;  font-display: swap; } /* Szolgáltatások, Referenciák, Kapcsolat - nav links */

h3 {  font-size: 2.3rem;   margin-bottom: 1em;  text-align: center; font-family: "Libre Caslon Text";
    font-weight: 400;    font-style: normal;    font-display: swap;   } /* Szolgáltatásaink, Referenciák, Kapcsolat - címek */

    h4 {     }/* Digitális nyomtatás, Grafikai tervezés, Kiadványszerkesztés */ 

    h4, h5  { font-size: 1.1rem;      font-family: "Libre Caslon Text";    font-weight: 400;    font-style: normal;    font-display: swap; }
p {     font-size: 0.9rem;   }  

 
  #hero h2, #hero p {  font-family: "Libre Caslon Text"; font-display: swap; }   
   
  #hero h2 {   /* DIGITÁLIS NYOMTATÁS A LEGMAGASABB MINŐSÉGBEN */
    font-size: 3rem; 
    margin: 2rem 0 1rem; 
     
    color: #fff;
    /* Moving Gradient Text Effect */
    background: linear-gradient(to right, #fff, #ccc, #fff);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
        textGradientMove 4s linear infinite,
        fadeIn 1s ease-out 0.5s backwards;  }

#hero p {        color: #eee;         font-size: 1rem;        margin-bottom: 2rem;      }



/* Fejléc */
header {    background-color: #fcfaf6; ;    padding: 1rem 0;    position: sticky;    top: 0;    z-index: 100;    cursor: pointer;    overflow: hidden; }
/* Container */
.container {    max-width: 1200px;    margin: 0 auto;    padding: 0 20px; }

/* Navigáció */
nav {    display: flex;    justify-content: space-between;    align-items: center; }
.nav-links ul {    list-style: none;    margin: 0;    padding: 0;    display: flex; }
/* Desktop nézetben a li elemek */
.nav-links li:not(:last-child) {    margin-right: 20px; }
nav a {    text-decoration: none;    color: #555;    transition: color 0.3s ease;    padding: 0.2rem 0;    font-weight: bold; }

/* Hamburger menü gomb (alapból rejtett) */
#mobile-menu-toggle {    display: none;    background: none;    border: none;    cursor: pointer;    padding: 10px;    z-index: 1010; }
#mobile-menu-toggle span { display: block; width: 25px; height: 3px; background-color: #333; margin: 5px 0; transition: all 0.3s ease-in-out; }

/* Stílus a menü nyitott állapotához */
.nav-open #mobile-menu-toggle span:nth-child(1) {    transform: translateY(8px) rotate(45deg); }
.nav-open #mobile-menu-toggle span:nth-child(2) {    opacity: 0;}
.nav-open #mobile-menu-toggle span:nth-child(3) {    transform: translateY(-8px) rotate(-45deg); }

/* Navigációs link hover és aktív állapot */
nav a:hover, nav a.current {   color: #D895C0; /* Döglött pink árnyalat */ }

/* Hero szekció */
#hero { height: 320px;   padding: 6rem 1rem 4rem 1rem; 
    background: linear-gradient(270deg, #007bff, #40e0d0, #ff69b4); /* Kék -> Türkiz -> Rózsaszín */
    background-size: 400% 400%;      text-align: center;    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    animation: gradientAnimation 10s ease infinite;     }

/* Kulcskockák a háttér animációhoz */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}




/* Gomb általános stílus */
.button {  background: linear-gradient(90deg, #007bff, #28a7a7);
     color: #fff; font-size: 1rem;    padding: 0.75rem 1.5rem;    text-decoration: none;   
     border: none;    border-radius: 0.3rem;    font-weight: bold;    cursor: pointer;    
     transition: background 0.3s ease;    display: inline-block; }
.button:hover {    background: linear-gradient(90deg, #0056b3, #1c7c7c); }





/* Szolgáltatások */
#szolgaltatasok {    padding: 2rem 0; }
.szolgaltatasok-lista {    display: grid;    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));    gap: 2rem; }
.szolgaltatas {    background-color: #fcfaf6;   padding: 2rem;    border-radius: 0.5rem;   /* lekerekítés */ 
     box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;  position: relative; transform: translate(0, 0);   cursor: pointer;  overflow: hidden; }
.szolgaltatas:hover { transform: translateY(-5px); }
.szolgaltatas h4:hover { color: #D895C0; /* döglött pink */ }
.szolgaltatas h4, .szolgaltatas p { padding:0; margin:0; text-align: center; }
.szolgaltatas h4 { padding-top: 0; padding-bottom: 1rem; }





/* Referenciák */
#referenciak {    padding: 2rem 0;    }
.referenciak-galeria {    display: grid;    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));    gap: 1.5rem; }
.referencia {    background-color: #fcfaf6;   padding:1rem;       box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;    text-align: center;    transition: transform 0.3s ease;  border-radius: 0.5rem; /* lekerekítés */ }  
.referencia img {    width: 100%;    height: 200px;    object-fit: cover;    display: block; 
     border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }


     .referencia img  {  border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; /* lekerekítés */ }  

/* Hover effekt a referenciákhoz */
.referencia:hover {    transform: translateY(-5px); }
.referencia h5, .referencia p { padding:0; padding-top: 1rem; padding-bottom: 0.5rem;margin:0; }





/* Kapcsolat */
#kapcsolat {  padding: 2rem; background-color: #212121;   }
#kapcsolat, #kapcsolat h3, #kapcsolat p, .form-group label  { color: #c0bcb6; }  /* betűk */ 
#kapcsolat a { color: #1491D3; text-decoration: none; } /* linkek */ 
#kapcsolat a:hover { color:  #28a7a7; } /* linkek hover */ 

#kapcsolat-form {
    padding: 2rem;    border-radius: 0.5rem;    box-shadow: 0 2px 5px rgba(0,0,0,0.1);    max-width: 600px;    margin: 0 auto;
        /* Animáció hozzáadása */
    opacity: 0;    animation: fadeIn 1s ease-out 0.5s backwards; }

.form-group {    margin-bottom: 1.5rem; }
.form-group label {    display: block;    margin-bottom: 0.5rem;     } 
.form-group input, .form-group textarea {    background-color:  #ebe7e0;  width: 100%;    max-width: 500px;    padding: 0.75rem;    
    border: 1px solid #ccc;    border-radius: 0.3rem;    font-size: 1rem;    box-sizing: border-box;    transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus {    outline: none;    border-color:#1491D3; /* Fókusz színe kék */ }

/* Honeypot mező elrejtése */
.honeypot {    position: absolute !important;    left: -9999px !important;    top: -9999px !important; }

/* Státuszüzenetek a formhoz */
.form-status {
    margin-top: 1rem;
    padding: 0.8rem 1rem; /* Kicsit több oldalsó padding */
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif; /* Jobban olvasható betűtípus beállítása */
    font-size: 1rem; /* Kicsit nagyobb betűméret */
    border: 1px solid transparent; /* Keret alapból átlátszó */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* Finom átmenet */
}

/* Függőben lévő állapot (pl. "Küldés folyamatban...") */
.form-status--pending {
    color: #0c5460; /* Sötét türkizkék szöveg */
    background-color: #343535; /* Világos türkizkék háttér */
    border-color: #bee5eb; /* Világos türkizkék keret */
}

/* Sikeres állapot (zöld) */
.form-status--success {
    color: #000000; /* Tiszta fekete szöveg a maximális kontrasztért */
    background-color: #124e20; /* Világoszöld háttér */
    border-color: #c3e6cb; /* Világoszöld keret */
}

/* Hiba állapot (piros) */
.form-status--error {
    color: #721c24; /* Sötétpiros szöveg */
    background-color: #f8d7da; /* Világospiros háttér */
    border-color: #f5c6cb; /* Világospiros keret */
}


/* Lábléc */
footer {    text-align: center;    padding: 1.5rem 0;    margin-top: 0;    background-color: #fff;    color: #6c757d; }




/* --- Modal (Lightbox) Stílusok BEGIN --- */
.gallery-image {    cursor: pointer;    transition: transform 0.2s ease-in-out; }
.gallery-image:hover {    transform: scale(1.03); }
/* A modal háttér (overlay) */
.modal {    display: none;    position: fixed;    z-index: 1000;    padding-top: 50px;    left: 0;    top: 0;    width: 100%;    height: 100%;
    overflow: auto;    background-color: rgba(0, 0, 0, 0.85);}
/* A modal tartalma (a kép) */
.modal-content {    margin: auto;    display: block;    max-width: 85%;    max-height: 85vh;    animation-name: zoom;    animation-duration: 0.4s;}
/* Animáció - Nagyítás */
@keyframes zoom {    from {transform: scale(0.1)}    to {transform: scale(1)} }
/* A bezárás gomb (X) */
.close-modal {    position: absolute;    top: 15px;    right: 35px;    color: #f1f1f1;    font-size: 40px;    font-weight: bold;    transition: 0.3s;
    cursor: pointer; }
.close-modal:hover, .close-modal:focus {    color: #bbb;    text-decoration: none; }
/* Opcionális: Képaláírás */
#caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 50px; }
/* --- Modal (Lightbox) Stílusok END --- */




/* --- Belépő Animációk Kulcskockái --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}


/* --- Text Gradient Movement Keyframes --- */
@keyframes textGradientMove {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}




/* --- Scroll Animations --- */
/* Common initial state */
.scroll-animate-left, .scroll-animate-right, .scroll-animate-bottom {  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;}

/* Direction-specific initial transforms */
.scroll-animate-left {  transform: translateX(-50px); /* Start off to the left */ }
.scroll-animate-right {
  transform: translateX(50px); /* Start off to the right */ }
.scroll-animate-bottom {  transform: translateY(50px); /* Start off from the bottom */ }

/* Final state when element becomes visible */
.scroll-animate-left.is-visible,
.scroll-animate-right.is-visible,
.scroll-animate-bottom.is-visible {  opacity: 1;  transform: translate(0, 0); /* Move to final position */ }




/* --- Animation Keyframes - Opacity nulláról indul és a végén 1 --- */
@keyframes OPACITY-NULLA-EGY {   
     0% { opacity: 0;  }   
 100% { opacity: 1; }  }

  @keyframes  JOBBROL-BECSUSZIK {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
  }



/* Responzivitás */
/* MOBIL NÉZET BEGIN */
@media (max-width: 768px) {  
    #hero h2 { font-size: 1.6rem;  animation: textGradientMove 4s linear infinite, fadeIn 1s ease-out 0.5s backwards;    }  

    /* Navigáció mobilnézetben */
    #mobile-menu-toggle {        display: block;    }
    .nav-links {        display: none;        position: absolute;        top: 100%;        left: 0;        width: 100%;        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);       padding: 1rem 0;    }
    .nav-open .nav-links {        display: block;    }
    .nav-links ul {        flex-direction: column;        align-items: center;        width: 100%;    }
    .nav-links li {        margin-right: 0;        margin-bottom: 1rem;        width: 100%;        text-align: center;    }
    #kapcsolat-form {        padding: 1.5rem;    }
    .form-group input,    .form-group textarea {        max-width: 100%;    }
    .szolgaltatasok-lista,    .referenciak-galeria {        grid-template-columns: 1fr;    }

    

    
  /* Referencia szöveg mobil nézetben */
    .referencia p {    color: #000;    }
  #hero { height: 350px;   padding: 3.2rem 1rem 3.2rem 1rem; /* Csak oldalsó padding marad */ }
  #hero p {   animation: textGradientMove 4s linear infinite 0.5s, fadeIn 1s ease-out 1s backwards;    }
  .referencia h5 {  font-size: 1.3rem;   }
  
    /* Modal (Lightbox) mobil nézetben */
    .modal-content {        max-width: 95%;    }
     .close-modal {        top: 10px;        right: 25px;        font-size: 30px;    }
    
} /* MOBIL NÉZET END */  
