/*-- Use For Custom Styling --*/
/* ===========================================================
   TITÁN Fitness Club demó kiegészítés · Conen DIGITAL Studio
   Gyakorlat-bemutató (2 kockás animáció) + részletek panel
   Minden más stílus az eredeti sablonból jön.
   =========================================================== */

.exercise-sec{
    position: relative;
    padding: 110px 0;
    background-color: #f7f8f7;
}
.exercise-sec .ex-head{
    text-align: center;
    max-width: 730px;
    margin: 0 auto 55px;
}
.exercise-sec .ex-head span{
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #58b433;
}
.exercise-sec .ex-head h2{ margin: 10px 0 16px; }
.exercise-sec .ex-head p{
    font-family: 'Open Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.85;
    color: #6b7676;
    margin: 0;
}

/* --- Kártyák --- */
.ex-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.ex-card{
    position: relative;
    background-color: #0d1619;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.ex-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 34px 55px -32px rgba(13, 22, 25, .75);
}
.ex-card.is-active{
    border-color: #58b433;
    box-shadow: 0 34px 55px -32px rgba(13, 22, 25, .75);
}
.ex-anim{
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #0d1619;
}
.ex-anim img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* A két képkocka keresztbefolyatása adja a "mozgó" bemutatót */
.ex-anim img.kocka-a{ animation: exFadeA 4.6s ease-in-out infinite; }
.ex-anim img.kocka-b{ animation: exFadeB 4.6s ease-in-out infinite; }
@keyframes exFadeA{
    0%, 36%   { opacity: 1; }
    50%, 86%  { opacity: 0; }
    100%      { opacity: 1; }
}
@keyframes exFadeB{
    0%, 36%   { opacity: 0; }
    50%, 86%  { opacity: 1; }
    100%      { opacity: 0; }
}
.ex-tag{
    position: absolute;
    left: 14px; top: 14px;
    z-index: 2;
    background-color: #58b433;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}
.ex-frame-hint{
    position: absolute;
    right: 14px; bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: rgba(13, 22, 25, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #cfe0cf;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
}
.ex-frame-hint .led{
    width: 7px; height: 7px; border-radius: 50%;
    background-color: #58b433;
    animation: exLed 1.6s ease-in-out infinite;
}
@keyframes exLed{
    0%, 100% { opacity: 1; }
    50%      { opacity: .25; }
}
.ex-body{ padding: 24px 26px 26px; }
.ex-body h3{
    font-family: 'Teko', sans-serif;
    font-size: 27px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 6px;
}
.ex-body p{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #9aa7a7;
    margin: 0;
}
.ex-more{
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #58b433;
}

/* --- Részletek panel --- */
.ex-detail{
    margin-top: 34px;
    background-color: #0d1619;
    border-radius: 6px;
    padding: 42px 46px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 46px;
    align-items: center;
}
.ex-detail h3{
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px;
}
.ex-detail .ex-desc{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #a9b5b5;
    margin: 0;
}
.ex-stats{
    display: flex;
    gap: 34px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.ex-stat b{
    display: block;
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    color: #58b433;
}
.ex-stat span{
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #8b9797;
}
.ex-cues-title{
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #58b433;
    margin-bottom: 16px;
}
.ex-cues{ list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.ex-cues li{
    display: flex;
    gap: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #c3cccc;
}
.ex-cues li i{ color: #58b433; margin-top: 5px; flex: none; }

/* --- Edzők portréi: 4:5 arány, teljes fejjel --- */
.team-img img{
    display: block;
    width: 100%;
    height: auto;
}

/* --- Demó jelvény --- */
.demo-badge{
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 10060;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 14px;
    background: rgba(13, 22, 25, .93);
    color: #fff;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    letter-spacing: .3px;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
    transition: transform .4s ease, background .3s ease;
}
.demo-badge:hover{ transform: translateY(-3px); background: #0d1619; color: #fff; text-decoration: none; }
.demo-badge .demo-dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: #58b433;
    box-shadow: 0 0 0 4px rgba(88, 180, 51, .3);
    animation: demoPulse 2.4s infinite;
}
.demo-badge strong{ font-weight: 600; }
@keyframes demoPulse{
    0%, 100% { box-shadow: 0 0 0 3px rgba(88, 180, 51, .35); }
    50%      { box-shadow: 0 0 0 9px rgba(88, 180, 51, 0); }
}

/* --- Reszponzív --- */
@media (max-width: 991px){
    .exercise-sec{ padding: 70px 0; }
    .ex-grid{ grid-template-columns: 1fr; }
    .ex-detail{ grid-template-columns: 1fr; gap: 30px; padding: 32px 26px; }
}
@media (max-width: 767px){
    .demo-badge{ left: 12px; bottom: 12px; font-size: 11.2px; padding: 9px 14px; }
    .ex-detail h3{ font-size: 28px; }
}
