/* ==================================================
   MASAJEAHORA
   Mobile Sports Massage Mallorca
   Version 2.0
================================================== */

/* ---------- RESET ---------- */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;

}

:root{

    --cream:#F7F2EA;
    --white:#ffffff;
    --petrol:#0D5D63;
    --gold:#D79B2C;
    --text:#243434;

    --radius:24px;

    --shadow:0 20px 45px rgba(0,0,0,.08);

}

body{

    font-family:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

    background:var(--cream);

    color:var(--text);

    line-height:1.7;

    font-size:18px;

    overflow-x:hidden;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

section{

    padding:120px 0;

}

.container{

    width:min(1220px,90%);

    margin:auto;

}

.center{

    text-align:center;

}

.section-tag{

    display:inline-block;

    color:var(--gold);

    font-size:14px;

    letter-spacing:3px;

    font-weight:700;

    margin-bottom:18px;

    text-transform:uppercase;

}

h1{

    font-size:clamp(58px,7vw,96px);

    line-height:.95;

    color:var(--petrol);

    margin-bottom:30px;

}

h2{

    font-size:clamp(42px,5vw,64px);

    line-height:1;

    color:var(--petrol);

    margin-bottom:25px;

}

h3{

    font-size:28px;

    margin-bottom:12px;

}

p{

    color:#4d5b5b;

}

/* ---------- BUTTON ---------- */

.button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 34px;

    border-radius:999px;

    background:var(--petrol);

    color:white;

    font-weight:600;

    transition:.35s;

}

.button:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 40px rgba(0,0,0,.18);

}

/* ---------- HEADER ---------- */

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:150px;

}

header.scrolled{

    background:rgba(255,255,255,.92);

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

header.scrolled .header{

    height:72px;

}

.header{

    transition:.35s;

}
.logo img{

    Height:150px;

    width:auto;

}

nav{

    display:flex;

    gap:38px;

}

nav a{

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:var(--gold);

}

/* ---------- HERO ---------- */

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

    display:flex;

    align-items:center;

}

.hero-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(247,242,234,1) 0%,
        rgba(247,242,234,.98) 22%,
        rgba(247,242,234,.92) 35%,
        rgba(247,242,234,.65) 48%,
        rgba(247,242,234,.20) 62%,
        rgba(247,242,234,0) 80%
    );

}

.hero-content{

    position:relative;
    z-index:10;

    width:100%;
    max-width:600px;

    margin-left:80px;
    margin-right:auto;

    text-align:left;

}

.hero-content .section-tag,
.hero-content h1,
.hero-content p{

    text-align:left;

}

.hero h1{

    font-size:clamp(70px,8vw,120px);

    line-height:.9;

    margin:25px 0;

}

.hero p{

    max-width:520px;

    font-size:22px;

    margin-bottom:40px;

}

/* ==================================================
   RECOVERY
================================================== */

.recovery{

    position:relative;

    height:100vh;

    min-height:900px;

    width:100%;

    overflow:hidden;

}

.recovery-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

}

.recovery-overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
        270deg,
        rgba(247,242,234,1) 0%,
        rgba(247,242,234,.98) 15%,
        rgba(247,242,234,.90) 28%,
        rgba(247,242,234,.70) 42%,
        rgba(247,242,234,.35) 58%,
        rgba(247,242,234,.10) 72%,
        rgba(247,242,234,0) 88%
    );

    z-index:2;

}

.recovery-content{
    position:absolute;
    top:50%;
    right:100px;
    transform:translateY(-50%);
    width:600px;

    z-index:10;
}

.recovery-overlay{
    z-index:2;
}

.benefits{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

    margin-top:30px;


}.recovery-content h2,
.recovery-content p,
.recovery-content .section-tag{

text-align:right;
}


/* ==================================================
   ABOUT
================================================== */

.about{

    position:relative;

    min-height:90vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}

.about-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:left center;

}

.about-overlay{

    position:absolute;
    inset:0;

    background:none;

}

.about-content{
    position:relative;
    z-index:10;

    width:650px;
    max-width:650px;

    margin-left:80px;
    margin-right:auto;

    background:rgba(247,242,234,.72);
    backdrop-filter:blur(12px);

    padding:50px;
    border-radius:30px;
}

.facts{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.facts div{

    background:white;

    padding:20px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}



/* ==================================================
   TITLES
================================================== */

.center{

    text-align:center;

    margin-bottom:60px;

}



/* ==================================================
   SECTION SPACING
================================================== */

.recovery h2,
.about h2{

    max-width:600px;

}/* ==================================================
   TREATMENTS
================================================== */

#treatments{

    background:var(--white);

}

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:70px;

}

.card{

    background:var(--cream);

    border-radius:24px;

    padding:40px;

    transition:.35s;

    border:1px solid rgba(0,0,0,.05);

}

.card:hover{

    transform:translateY(-8px);

    background:white;

    box-shadow:var(--shadow);

}

.card h3{

    color:var(--petrol);

    margin-bottom:18px;

}

.card p{

    font-size:17px;

    line-height:1.7;

}


/* ==================================================
   PRICING
================================================== */

#pricing{

    background:var(--cream);

}

#pricing .cards{

    margin-top:70px;

    grid-template-columns:repeat(2,1fr);

    max-width:850px;

    margin-left:auto;

    margin-right:auto;

}

.price-card{

    background:white;

    border-radius:28px;

    padding:60px 40px;

    text-align:center;

    transition:.35s;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

}

.price-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.price-card h3{

    font-size:34px;

    margin-bottom:30px;

    color:var(--petrol);

}

.price{

    font-size:72px;

    font-weight:800;

    color:var(--gold);

    margin-bottom:35px;

}

.addon{

    text-align:center;

    margin-top:40px;

    font-size:20px;

    font-weight:600;

}/* ==========================================
PRICING
========================================== */

.pricing{

    background:#F7F2EA;

}

.pricing-intro{

    max-width:700px;

    margin:0 auto 70px;

}

.price-cards{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

    margin-bottom:60px;

}

.price-card{

    background:white;

    padding:55px;

    border-radius:24px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

    transition:.3s;

}

.price-card:hover{

    transform:translateY(-8px);

}

.price-card h3{

    color:#0D5D63;

}

.price{

    font-size:72px;

    color:#D79B2C;

    font-weight:700;

    margin:25px 0;

}

.addon{

    text-align:center;

    margin-bottom:70px;

    font-size:20px;

}

.pricing-table{

    background:white;

    border-radius:24px;

    padding:40px;

    margin-bottom:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.pricing-table h3{

    margin-bottom:10px;

    color:#0D5D63;

}

.table-info{

    margin-bottom:30px;

    color:#666;

}

table{

    width:100%;

    border-collapse:collapse;

}

th{

    text-align:left;

    padding:18px 0;

    border-bottom:2px solid #e8e3dc;

    color:#0D5D63;

}

td{

    padding:18px 0;

    border-bottom:1px solid #ece7df;

}

tbody tr:last-child td{

    border-bottom:none;

}

td:last-child,
th:last-child{

    text-align:right;

    font-weight:600;

}

@media(max-width:900px){

.price-cards{

    grid-template-columns:1fr;

}

.pricing-table{

    overflow-x:auto;

}

}


/* ==================================================
   CONTACT
================================================== */

#contact{

    background:white;

    text-align:center;

}

#contact p{

    font-size:22px;

    margin:15px 0;

}


/* ==================================================
   FOOTER
================================================== */

footer{

    background:var(--petrol);

    color:white;

    text-align:center;

    padding:45px 20px;

}

footer p{

    color:white;

    opacity:.8;

}


/* ==================================================
   SCROLL ANIMATION
================================================== */

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:all .9s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}


/* ==================================================
   MOBILE OPTIMIERUNG
================================================== */

@media screen and (max-width:768px){

html,
body{
    overflow-x:hidden;
}

section{
    padding:70px 0;
}

.container{
    width:92%;
    max-width:100%;
}

/* ---------------- HEADER ---------------- */

.header{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
    height:auto;
    padding:20px 0;
}

.logo img{
    height:70px;
    width:auto;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:14px;
}

nav a{
    font-size:15px;
}

.desktop-button{
    margin-top:10px;
}

/* ---------------- HERO ---------------- */

.hero{
    min-height:100vh;
    height:auto;
    padding:100px 0 70px;
}

.hero-overlay{
    background:linear-gradient(
        to bottom,
        rgba(247,242,234,.82),
        rgba(247,242,234,.58)
    );
}

.hero-content{
    max-width:100%;
    margin:0 auto;
    padding:0 20px;
    text-align:center;
}

.hero-content .section-tag,
.hero-content h1,
.hero-content p{
    text-align:center;
}

.hero h1{
    font-size:44px;
    line-height:1.08;
    margin-bottom:20px;
}

.hero p{
    font-size:18px;
    max-width:340px;
    margin:0 auto 30px;
}

/* ---------------- RECOVERY ---------------- */

.recovery{
    min-height:auto;
    height:auto;
}

.recovery-content{
    position:relative;
    top:auto;
    right:auto;
    transform:none;
    width:100%;
    padding:60px 20px;
    text-align:center;
}

.recovery-content .section-tag,
.recovery-content h2,
.recovery-content p{
    text-align:center;
}

.benefits{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
    margin-top:25px;
}

.benefit{
    background:#fff;
    border-radius:18px;
    padding:14px;
}

/* ---------------- ABOUT ---------------- */

.about{
    min-height:auto;
}

.about-content{
    width:100%;
    max-width:100%;
    margin:0;
    padding:35px 25px;
}

.facts{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

/* ---------------- TREATMENTS ---------------- */

.cards{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.card{
    padding:28px;
}

/* ---------------- PRICING ---------------- */

.price-cards,
#pricing .cards{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.price-card{
    padding:35px 25px;
}

.price{
    font-size:56px;
}

.pricing-table{
    overflow-x:auto;
}

table{
    min-width:500px;
}

/* ---------------- CONTACT ---------------- */

#contact{
    text-align:center;
}

#contact p{
    font-size:18px;
}

/* ---------------- BUTTON ---------------- */

.button{
    width:100%;
    max-width:280px;
    justify-content:center;
    margin:0 auto;
}

img{
    max-width:100%;
    height:auto;
}

}