*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f8f5f2;
    color:#3d332c;
}

/* NAVBAR */

header{
    background:white;
    padding:16px 70px;
    border-bottom:1px solid #eee;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.logo h1{
    font-size:32px;
    font-weight:300;
    white-space:nowrap;
}

.logo span{
    letter-spacing:3px;
    font-size:19px;
    font-weight:500;
    color:#7b8a65;
}

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:40px;
    padding: 20px 0;
}

nav a{
    text-decoration:none;
    color: #555;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover{
    color:#7b8a65;
}

.btn{
    background:#7b8a65;
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    transition:.3s;
}

.btn:hover{
    background:#64724f;
}

/* Hamburger menü gomb (alapból rejtve, csak mobilon jelenik meg) */
.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    width:34px;
    height:34px;
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    flex-shrink:0;
}

.nav-toggle span{
    display:block;
    width:100%;
    height:2px;
    background:#3d332c;
    border-radius:2px;
    transition:.3s;
}

.nav-toggle.open span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2){
    opacity:0;
}

.nav-toggle.open span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

/* HERO */

.hero{
    position:relative;
    display:flex;
    min-height:850px;
    background:#f8f5f2;
    overflow:hidden;
}

.hero-text{
    width:45%;
    padding:120px 100px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
    z-index:2;
}

.hero-text h1{
    font-size:72px;
    line-height:1.15;
    font-weight:300;
    margin-bottom:35px;
}

.hero-text p{
    font-size:22px;
    line-height:1.8;
    margin-bottom:40px;
    max-width:550px;
}

.hero-image{
    position:absolute;
    top:0;
    right:0;
    width:65%;
    height:100%;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero::after{
    content:"";
    position:absolute;
    top:0;
    left:30%;
    width:40%;
    height:100%;

    background:linear-gradient(
        to right,
        #f8f5f2 0%,
        rgba(248,245,242,0.95) 20%,
        rgba(248,245,242,0.7) 45%,
        rgba(248,245,242,0.3) 70%,
        transparent 100%
    );

    z-index:1;
}

/* BENEFITS */

.benefits{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    background:white;
    padding:70px;
}

.benefit{
    display:grid;
    grid-template-columns: auto 1fr;
    text-align: center;
    gap: 0px 20px;
    border-right: 1px solid gray;
}

.benefit:nth-child(4n) {
    border-right: none;
}

.benefit h3{
    color:#7b8a65;
    margin: 0 0 5px 0;
}

.benefit p{
    line-height:1.6;
    margin:0;
    color:#555;
}

.benefit-icons{
    grid-column: 1;
    grid-row: span 2;
    
    width: 50px;
    height: 50px;
    padding: 10px;
    box-sizing: content-box;
    border: 2px solid gray;
    border-radius: 50%;
}

/* ABOUT + REVIEWS */

.magazine-section {
    padding:120px 70px;
    background:
        linear-gradient(
            135deg,
            #f8f5f0 0%,
            #fdfcf9 50%,
            #f8f5f0 100%
        );
    position:relative;
}

.magazine-container {
    max-width:1300px;
    margin:auto;

    background:white;
    border-radius:35px;
    padding:60px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.05),
        0 0 0 1px rgba(123,138,101,.08);

    display:flex;
    gap:50px;
}

.magazine-left {
    flex:0 0 32%;

    background:#fcfbf8;
    border-radius:25px;
    padding:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.profile-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #7b8a65;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-left h2, .magazine-right h2 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #7b8a65;
    font-size: 26px;
    margin-bottom: 20px;
}

.magazine-left h2 {
    text-align: center;
}

.magazine-left p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 15px;
}

.magazine-left .highlight-text {
    font-family:'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
    color: #7b8a65;
    text-align: center;
    margin: 0 0 25px 0;
}

.magazine-left .highlight-text::before{
    content:"\201C";
    display:block;
    font-family:'Playfair Display', serif;
    font-style:normal;
    font-size:56px;
    line-height:.6;
    color:#d8cdb8;
    margin-bottom:6px;
}

/* --- JOBB OLDAL: VÉLEMÉNYEK (A maradék 65% hely) --- */
.magazine-right {
    width: 65%;
    padding-left: 10px;
}

.magazine-right h2 {
    margin-bottom: 30px;
}

.reviews-scroll{
    display:flex;
    flex-direction:column;
    gap:20px;
    max-height:360px;
    overflow-y:auto;
    scroll-snap-type:y proximity;
    scroll-behavior:smooth;
    padding:2px 14px 2px 2px;
    scrollbar-width:thin;
    scrollbar-color:#c7cdb8 transparent;
}

.reviews-scroll::-webkit-scrollbar{
    width:6px;
}

.reviews-scroll::-webkit-scrollbar-thumb{
    background:#c7cdb8;
    border-radius:10px;
}

.review-item {
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
    border-left:4px solid #7b8a65;
    transition:.3s;
    flex-shrink:0;
    scroll-snap-align:start;
}

.review-quote {
    font-style: italic;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.review-user {
    color: #745e43;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.review-item:hover{
    transform:translateY(-5px);
}

/* --- MOBIL NÉZET --- */
@media (max-width: 850px) {
    .magazine-container {
        flex-direction: column;
        gap: 30px;
    }
    .magazine-left, .magazine-right {
        width: 100% !important;
        float: none !important;
        padding: 0;
    }
    .magazine-right {
        padding-left: 0;
    }
    .magazine-left {
        border-right: none;
        border-bottom: 1px solid #e5dfd8;
        padding-bottom: 30px;
        margin-bottom: 0;
    }
}

/* SERVICES */

.divider{
    display:block;
    width: 300px;
    height: auto;
    margin-top: 0px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.services{
    padding:100px 70px;
}

.services h2{
    font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #7b8a65;
    text-align:center;
    font-size:35px;
    font-weight:400px;
    margin-bottom:5px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:30px;
    align-items:start;
}

.card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.3s;
    
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.card-content{
    padding: 25px;
    display:flex;
    flex-direction:column;
    flex-grow: 1;
}

.card-content h3{
    margin-bottom:15px;
}

.card-content p{
    color:#666;
}

.card-footer{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-top: auto;
    padding-top: 15px;
}

.price{
    font-size:22px;
    font-weight:700;
    color:#7b8a65;
    white-space:nowrap;
}

.info-box{
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #f9fbf7;
    border-radius: 10px;
    border-left: 3px solid #7b8a65;
    font-size: 0.9em;
    color: #555;
}

.info-box.open {
    display: block !important;
}

.info-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background:#7b8a65;
    color:white;
    text-decoration:none;
    padding:10px 25px;
    border-radius:50px;
    transition:.3s;
    border:none;
    cursor:pointer;
}

.info-btn::after{
    content: "▼";
    font-size: 0.8em;
    display:inline-block;
    margin-left: 8px;
}

.info-btn.open::after{
    content: "▲";
}

/* ÁTMENET: Masszázs -> Pedikűr (vizuális elválasztó) */

.section-transition{
    position:relative;
    height:130px;
    background:linear-gradient(120deg,#7b8a65 0%,#a68a6e 50%,#c98a73 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    clip-path:polygon(0 20%, 100% 0%, 100% 80%, 0% 100%);
    margin:-40px 0 -20px 0;
}

.transition-content{
    display:flex;
    align-items:center;
    gap:25px;
    padding:0 20px;
}

.transition-line{
    width:60px;
    height:1px;
    background:rgba(255,255,255,.65);
}

.transition-icon{
    height:34px;
    width:auto;
    opacity:.9;
}

.transition-label{
    font-family:'Cinzel', serif;
    text-transform:uppercase;
    letter-spacing:4px;
    color:#fff;
    font-size:20px;
    white-space:nowrap;
    text-align:center;
}

/* PEDIKŰR szekció - saját (rózsaszín-terrakotta) akcentszínnel elkülönítve */

.pedicure-section{
    background:#fbf5f2;
}

.pedicure-section h2{
    color:#c98a73;
}

.section-intro{
    max-width:600px;
    margin:0 auto 45px auto;
    text-align:center;
    color:#7a6a61;
    line-height:1.7;
}

.pedicure-grid{
    grid-template-columns:repeat(4,1fr);
}

.pedicure-card{
    min-height:auto;
}

.pedicure-card-visual{
    height:180px;
    background:linear-gradient(135deg,#e7c9bb 0%,#c98a73 100%);
    overflow:hidden;
}

.pedicure-card-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* JAVÍTÁS: a "Speciális lábápolás" fotón bal fent egy felirat-tábla van a képen belül -
   ez a pozicionálás jobbra-lefelé tolja a látható kivágást, hogy a tábla szövege ne
   látszódjon a kártyán (a cím és leírás úgyis ott van alatta, feleslegessé tenné) */
.pedikur-specialis-img{
    object-position:80% 75%;
}

.pedicure-card .price{
    color:#c98a73;
}

.pedicure-card .info-btn{
    background:#c98a73;
}

.pedicure-card .info-btn:hover{
    background:#b06f59;
}

.pedicure-card .info-box{
    border-left-color:#c98a73;
}

/* IDŐPONTFOGLALÁS CTA (Pedikűr és a lábléc között) */

.booking-cta{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(135deg,#7b8a65 0%,#c98a73 100%);
}

.booking-cta h2{
    font-family:'Cinzel', serif;
    text-transform:uppercase;
    letter-spacing:5px;
    font-size:30px;
    font-weight:400;
    color:#fff;
    margin-bottom:15px;
}

.booking-cta p{
    max-width:520px;
    margin:0 auto 30px auto;
    color:#fff;
    opacity:.95;
}

.booking-cta .btn{
    background:#fff;
    color:#7b8a65;
    font-weight:600;
}

.booking-cta .btn:hover{
    background:#f3efe8;
}

@media(max-width:700px){
    .booking-cta{
        padding:55px 20px;
    }

    .booking-cta h2{
        font-size:24px;
        letter-spacing:3px;
    }
}

/* JOGI OLDALAK (Adatvédelem, Jogi tájékoztató) */

.legal-page{
    max-width:820px;
    margin:0 auto;
    padding:80px 20px 100px 20px;
}

.legal-page h1{
    font-family:'Cinzel', serif;
    color:#7b8a65;
    font-size:34px;
    margin-bottom:10px;
}

.legal-page .legal-updated{
    color:#999;
    font-size:14px;
    margin-bottom:40px;
}

.legal-page h2{
    font-family:'Cinzel', serif;
    font-size:20px;
    color:#4a4238;
    margin:40px 0 12px 0;
}

.legal-page p,
.legal-page li{
    color:#555;
    line-height:1.8;
    font-size:15px;
}

.legal-page ul{
    margin:0 0 15px 20px;
}

.legal-page li{
    margin-bottom:6px;
}

.legal-page table{
    width:100%;
    border-collapse:collapse;
    margin:15px 0 25px 0;
    font-size:14px;
}

.legal-page th,
.legal-page td{
    text-align:left;
    padding:10px;
    border-bottom:1px solid #eee;
    color:#555;
}

.legal-page th{
    color:#4a4238;
}

.legal-note{
    background:#f9fbf7;
    border-left:3px solid #7b8a65;
    padding:15px 20px;
    border-radius:10px;
    margin:30px 0;
    font-size:14px;
    color:#555;
}

.legal-page a{
    color:#7b8a65;
}

/* Contact */

.site-footer {
    background-color: #745e43;
    color: #ffffff;
    font-family: 'Playfair Display', 'Georgia', serif;
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

/* A 4 oszlopos rács */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: none;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

/* Linkek kinézete */
/* JAVÍTÁS: !important a betűtípuson, mert a Squarespace tárhely saját, a kód
   beillesztése után betöltődő stílusai felülírhatják a linkek betűtípusát -
   enélkül egyes footer-linkek (pl. az oszlop első eleme) más betűtípussal
   jelenhetnek meg, mint a többi */
.footer-column,
.footer-column li {
    font-family: 'Playfair Display', 'Georgia', serif !important;
}

.footer-column a {
    font-family: 'Playfair Display', 'Georgia', serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    color: #e5dfd8;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.payment-img {
    max-width: 180px;
    height: auto;
    border-radius: 5px;
}

.payment-text {
    font-size: 14px;
    line-height: 1.7;
    color: #e5dfd8;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom p {
    margin: 5px 0;
}

.designer-link {
    color: #ccc;
    text-decoration: underline;
}

.designer-link:hover {
    color: #ffffff;
}


/*-----------------------MOBILE---------------------------*/

/* JAVÍTÁS: 5 oszlop csak elég széles képernyőn fér el kényelmesen (ár + gomb
   kilógás nélkül) - keskenyebb (de még nem tablet-méretű) ablaknál fokozatosan
   kevesebb oszlopra váltunk, hogy 1100px felett se törjön ki semmi a kártyából */
@media (max-width:1500px) and (min-width:1301px){
    .service-grid{
        grid-template-columns:repeat(4,1fr);
    }
}

@media (max-width:1300px) and (min-width:1101px){
    .service-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* JAVÍTÁS: a "Király Lábápolás és Masszázs" logó szélesebb, mint a régi volt -
   a hamburger menüt ezért egy magasabb töréspontnál (1250px) aktiváljuk, hogy
   1100-1250px között se lógjon bele a navigáció a logóba / a gombba */
@media(max-width:1250px){

    header{
        padding:14px 25px;
    }

    .navbar{
        position:relative;
        flex-wrap:wrap;
    }

    .nav-toggle{
        display:flex;
    }

    nav{
        display:block;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        max-height:0;
        overflow:hidden;
        transition:max-height .35s ease;
        box-shadow:0 15px 25px rgba(0,0,0,.08);
        z-index:50;
    }

    nav.open{
        max-height:400px;
    }

    nav ul{
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:25px 0;
    }

}

@media(max-width:1100px){

    .hero{
        flex-direction:column;
        min-height:auto;
    }

    .hero-text,
    .hero-image{
        width:100%;
    }

    .hero-text{
        padding:60px 30px;
    }

    .hero-text h1{
        font-size:48px;
    }

    /* JAVÍTÁS: a kép absolute pozíciója korábban ráfeküdt a szövegre mobilon/tableten -
       most a normál dokumentumfolyamba kerül a szöveg alá */
    .hero-image{
        position:relative;
        top:auto;
        right:auto;
        height:340px;
    }

    .hero::after{
        display:none;
    }

    .benefits{
        grid-template-columns:repeat(2,1fr);
    }

    /* JAVÍTÁS: 2 oszlopos nézetben a jobb szélen lévő elemeken (2., 4.) nem kell border-right */
    .benefit{
        border-right:1px solid gray;
    }

    .benefit:nth-child(2n){
        border-right:none;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* JAVÍTÁS: a szekciók eredeti 70px oldalpárnázása túl sok helyet vett el kisebb
       képernyőn, emiatt a kártyák tartalma (pl. ár + gomb) túllógott a kártya szélén */
    .magazine-section,
    .services{
        padding:80px 40px;
    }

    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }

    .section-transition{
        height:110px;
    }

    .transition-label{
        font-size:16px;
        letter-spacing:2px;
    }

    .transition-line{
        width:35px;
    }

}

@media(max-width:700px){

    header{
        padding:10px 16px;
    }

    .logo h1{
        font-size:22px;
    }

    .logo span{
        font-size:14px;
        letter-spacing:2px;
    }

    .hero-text h1{
        font-size:38px;
    }

    .hero-image{
        height:240px;
    }

    .benefits{
        grid-template-columns:1fr;
    }

    /* JAVÍTÁS: 1 oszlopos nézetben a felesleges függőleges vonalak helyett vízszintes elválasztó */
    .benefit{
        border-right:none;
        border-bottom:1px solid #e5e0d8;
        padding-bottom:25px;
        margin-bottom:5px;
    }

    .benefit:last-child{
        border-bottom:none;
        padding-bottom:0;
        margin-bottom:0;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .reviews-scroll{
        max-height:300px;
    }

    /* JAVÍTÁS: keskeny mobilon a szekció-párnázás és a kártya-tartalom is szűkebb legyen */
    .magazine-section,
    .services{
        padding:60px 20px;
    }

    .card-content{
        padding:20px;
    }

    .footer-container{
        grid-template-columns:1fr;
    }

    .section-transition{
        clip-path:polygon(0 10%, 100% 0%, 100% 90%, 0% 100%);
    }

    .transition-label{
        font-size:14px;
        letter-spacing:1.5px;
    }

    .transition-icon{
        height:22px;
    }

    .transition-content{
        gap:10px;
    }

    .transition-line{
        width:28px;
    }

}