body {
    font-family: Arial, sans-serif;
    background-color: #fef9f6;
    color: #5a5a5a;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
nav {
    background-color: #fdf5e8;   
    padding: 15px;
    text-align: center;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
}

nav a {
    text-decoration: none;
    color:#A27E66 ;
    font-weight: bold;
    font-size: 18px;
    padding: 10px;
    text-shadow:0 0 10px #ffffff
                0 0 20px #ffffff
               
}

nav a:hover {
    color: #725948;
    transform: scale(1.05); 
    
}


h2 { 
    text-align: center;
    color: #A27E66;
}

h3 {
   color: #A27E66; 
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

section {
    margin-bottom: 50px;
}

#home section {
    margin-bottom: 0px;
}



.footer {
    background-color: #fdf5e8;
    padding: 10px;
    width:100%;
    color: #A27E66;
}

.szalagcim {
    text-align: left;
    width: 100%;
    height: auto;
}

.rolunkleiras {
    display: flex;
    align-items: center;
    background-color: #fdf5e8;
    padding: 20px 30px;
    margin: 20px auto;
    width: 100%; 
    line-height: 1.8;
    position: relative;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2); /* Árnyék a kiemeléshez */
}

.rolunkleiras div {
    max-width: 80%; /* A szöveg ne legyen teljes szélességű */
    text-align: justify; /* Esztétikus igazítás */
    padding-right: 50px;
}

.studioleiras {
    display: flex;
    align-items: center;
    background-color: #fdf5e8;
    padding: 20px 30px;
    margin: 20px auto;
    padding-right: 60px;
    width: 100%; 
    line-height: 1.8;
    position: relative;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2); /* Árnyék a kiemeléshez */
    text-indent: 20px; /* Az első sor 20px-es behúzása */
}

.rolunkleiras img {
    width: 25%;
    height: 32%;
    border-radius: 10px;
    margin-right: 20px;
}

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
  }
  
  .mySlides {
    display: none;
  }
  
  .mySlides img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: opacity 1s ease-in-out;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1s;
  }
  
  @keyframes fade {
    from { opacity: .4 } 
    to { opacity: 1 }
  }

  .behuzott10 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}

.behuzott11 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}

.behuzott12 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}



.behuzott0 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}

.behuzott1 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}

.behuzott2 {
    display: block;
    padding-left: 20px; /* A behúzás mértéke */
}

.studioleiras div {
    max-width: 80%; /* A szöveg ne legyen teljes szélességű */
    text-align: justify; /* Esztétikus igazítás */
    padding-right: 50px;
}

.studioleiras img {
    width: 140%;
    height: 100%;
    border-radius: 10px;
    margin-right: 20px;
}

.masszazs-tartalom {
 display: flex;
    flex-direction: column;
    align-items: center;      /* Flexboxok középre igazítása */
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;
    max-width: 1200px;
}
/* Alap elrendezés: balra kép, jobbra szöveg */
.masszazs1,
.masszazs2,
.masszazs3 {
    display: flex;
    flex-direction: row;       /* Kép balra, szöveg jobbra */
    align-items: center;
    justify-content: center;   /* Középre a tartalom */
    background-color: #fdf5e8;
    padding: 20px;
    border-radius: 20px;
    margin: 20px auto;
    width: 80%;
    max-width: 1000px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Képek formázása */
.masszazs1 img,
.masszazs2 img,
.masszazs3 img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    margin-right: 25px;
    object-fit: cover;
}

/* Szöveges rész */
.masszazs1 div,
.masszazs2 div,
.masszazs3 div,
.masszazs4 div {
    flex: 1;
}

/* Mobil/tablet nézet: kép a szöveg fölé, minden középre */
@media screen and (max-width: 1024px) {
    .masszazs1,
    .masszazs2,
    .masszazs3 {
        flex-direction: column;
        text-align: center;
        width: 95%;
    }

    .masszazs1 img,
    .masszazs2 img,
    .masszazs3 img {
        margin: 0 auto 15px auto;
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .masszazs1 div,
    .masszazs2 div,
    .masszazs3 div {
        text-align: center;
        padding: 0 10px;
    }
}

/* Kisebb mobilokra finomhangolás */
@media screen and (max-width: 600px) {
    .masszazs1 img,
    .masszazs2 img,
    .masszazs3 img,
    .masszazs4 img {
        max-width: 260px;
    }

    .masszazs1 h3,
    .masszazs2 h3,
    .masszazs3 h3 {
        font-size: 1.1rem;
    }

    .masszazs1 p,
    .masszazs2 p,
    .masszazs3 p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Megakadályozza a vízszintes görgetést */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}


.masszazs4 {
    display: flex;
    background-color:#A27E66 ;
    border-radius: 20px;
    width: 100%;
}

.masszazs4 img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-right: 20px;
}
.masszazs4:nth-child(even) {
    flex-direction: column;
    
}

.masszazs4 h3 {
    color: #fdf5e8;
   font-size: 30px;
}

.masszazs4 p {
    color: #fdf5e8;
    text-align: center;
}

.contact-info {
    font-size: 18px;
}
.content {
    display: none;
}
.content.active {
    display: block;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fdf5e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    
}
table, th, td {
    border: 1px solid #A27E66;;
}
th {
    background-color: #A27E66;;
    color: #ffffff;
    font-weight: bold;
    padding: 12px;
}
td {
    padding: 10px;
    text-align: center;
}
tr:nth-child(even) {
    background-color: #fdf5e8;
}

#table1 {
    margin-left: 30px;
}

#table2 {
    margin-left: auto;
    margin-right: 30px;
}


#table3 {
    margin-left: 30px;
}

#table4 {
    margin-left: 30px;
}

/* ===== Mobil és tablet nézet ===== */
@media screen and (max-width: 1024px) {
    table {
        width: 95%;               /* Szélesebb, hogy kitöltse a kijelzőt */
        margin: 20px auto;        /* Középre igazítás */
    }

    #table1,
    #table2,
    #table3,
    #table4 {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    th, td {
        font-size: 0.95rem;       /* Kicsit kisebb betű mobilon */
        padding: 8px;
    }

    table {           
        overflow-x: auto;
    }
}



#kapcsolat p {
    font-size: 1.2rem; /* 1.2-szerese az alap betűméretnek */
    margin-bottom: 35px;
    margin-left: 10%;
}

#kapcsolat a {
    color: #5a5a5a;
    
} 

#kapcsolat a:hover {
    color: #A27E66;
}

.instagram-logo {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    left: 210px;
    position: absolute;
}

.facebook-logo {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    left: 130px;
    position: absolute;
}

form {
    margin: 30px auto;
    padding: 20px;
    height: 100%;
    width: 100%;
    background-color: #fdf5e8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-left: 10%;
    margin-right: 10%;

}
label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    padding-right: 0;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;

}

textarea {
    height: 100px;
    resize: none;
}

input[type="time"], input[type="date"] {
    cursor: pointer;
}

input[type="submit"] {
    background-color: #A27E66;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
}

input[type="submit"]:hover {
    background-color: #725948;
}




p {
    text-align: left;
}

.calendly-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #a27e66; /* Gomb színe */
    color: #fef9f6; /* Szövegszín */
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.calendly-button:hover {
    color: #ffffff; /* Sötétebb árnyalat hover-re */
    transform: scale(1.05);
}

/* ===== Reszponzív NAV és elrendezés javítás ===== */
@media screen and (max-width: 768px) {
nav {
flex-direction: column;       
justify-content: center;       
align-items: center;           
text-align: center;            
padding: 15px 0;               
width: 100%;
}

.nav-links {
flex-direction: column;        
align-items: center;          
justify-content: center;
gap: 10px;                     
width: 100%;
}

nav a {
font-size: 16px;
padding: 8px;
}

/* Kép + szöveg részek középre igazítása */
.rolunkleiras,
.studioleiras {
flex-direction: column;
text-align: center;
align-items: center;
}

.rolunkleiras img,
.studioleiras img {
width: 80%;
height: auto;
margin: 0 auto 20px auto;
display: block;
}


/* Masszázs szekciók középre rendezve */
.masszazs1,
.masszazs2,
.masszazs3,
.masszazs4 {
flex-direction: column;
align-items: center;
width: 100%;
text-align: center;
}


.masszazs1 img,
.masszazs2 img,
.masszazs3 img,
.masszazs4 img {
margin-bottom: 15px;
width: 100%;
max-width: 300px;
height: auto;
}

/* Táblázatok középre igazítva, üres hely nélkül */
table {
width: 95%;
margin: 20px auto !important;
display: table;
border-spacing: 0;
}

#table1,
#table2,
#table3,
#table4 {
margin-left: auto !important;
margin-right: auto !important;
}

#table1 tr:last-child td:empty,
#table4 tr:last-child td:empty {
display: none; /* Eltünteti az üres sort */
}



.form-container {
flex-direction: column;
align-items: flex-start; 
margin: 0 auto;
width: 90%;
}




form {
width: 100%;
text-align: left; /* A form elemei is balra */
}




#kapcsolat p {
margin: 0 auto;
width: 90%;
text-align: left; /* Balra igazítva */
}




#kapcsolat a {
display: inline-block;
text-align: left;
}




.instagram-logo,
.facebook-logo {
position: static;
margin: 10px 0;
display: inline-block; /* Egymás mellett maradnak */
}




body {
overflow-x: hidden;
}
}