html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* -------------------- main layout settings -----------------*/

.main-container {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 10vw, 150px);
}

/* ------------------ nav bar ----------------- */
.navbar.sticky-top {
    background-color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav-link {
    color: #141414;
    font-weight: 500;
    font-size: 0.95rem;
}
.border-end {
    border-color: #dee2e6 !important;
}
.navbar-menu{
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.navbar-menu li a{
    font-size: 16px;
}
.btn-login {
    background-color: #03BAB3;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 14px 25px 14px 25px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-login:hover {
    background-color: #029b95;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.3);
}
.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.2);
}
.btn-login h6{
    margin-bottom: 0;
}


/* --------------------- hero section --------------------*/

.hero-section h1 {
    font-size: 60px;
    color: #141414;
    line-height: 1.2;
    text-align: center;
}

.hero-section p {
    font-size: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #141414;
    text-align: center;
}

.btn-primary-custom {
    background-color: #03BAB3;
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #029b95;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.3);
}
.btn-primary-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.2);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #03BAB3;
    color: #03BAB3;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: #03BAB3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.2);
}
.btn-outline-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.1);
}
.benefit-list span {
    font-size: 16px;
    color: #141414;
    font-weight: 500;
}

.hero-image{
    margin-bottom: 50px;
}

/* ------------------------- recenze section ------------------- */

.stat-title{
    font-weight: 700;
    font-size: 32px;
}
.stat-text{
    font-size: 32px;
}

/* ------------------------------ chaos section ------------------ */

.konec-chaosu {
    position: relative;
    display: flex;
    align-items: center;
    padding: 50px 0;
}
.message-bubble {
    position: absolute;
    top: 90px;
    right: 2%;
    z-index: 2;
    background-image: url('../images/konecChaosuMessage.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 652px;
    height: 451px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    flex-direction: column;
    padding: 60px 40px 110px 60px;
}

.message-bubble p {
    font-size: 16px;
    font-weight: 400;
    color: #141414;
    line-height: 1.4;
    margin: 0;
}
.message-bubble .first-row{
    margin-bottom: 20px;
}

.message-bubble h1{
    color: #141414;
    font-weight: 700;
    font-size: 37px;
    margin-bottom: 20px;
}
.headline-stylized{
    color: #03BAB3;
}

/* -------------------- time and money ---------------------- */

.time-money .bordered-p{
    font-size: 25px;
    font-weight: 500;
    color: #141414;
    line-height: 1.4;
    margin: 0;
    border-left: 4px solid #03BAB3;
    padding-left: 24px;
}

.sub-text{
    max-width: 600px;
}

.sub-text p, h3{
    max-width: 500px;
}

.sub-text h3{
    margin-bottom: 10px;
}

.colored{
    background-color: #DEF6F5;
    border-radius: 8px;
    padding: 20px 0;
}


/* ---------------------- more functions section -------------------- */
.blue-circle{
    background-color: #DEF6F5;
    border-radius: 50%;
    width: 115px;
    height: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.function-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}
.headline-row{
    text-align: center;
}
.headline-row h1{
    color: #141414;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 50px;
}
.btn-to-chci{
    width: 172px;
    height: 50px;
    background-color: #03BAB3;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 14px 25px 14px 25px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
}
.btn-to-chci:hover {
    background-color: #029b95;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.3);
}
.btn-to-chci:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.2);
}

/* ----------------- security section --------------------- */

.security{
    background-color: #F7F7F7;
    padding: 80px 0;
    width: 100%;
}
.security-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.security-list li{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.security-list li::before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("../icons/listIcon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.security-headline{
    font-weight: 700;
    font-size: 40px;
    color: #000000;
}
.security-headline span{
    color: #03BAB3;
}
.security-subtext{
    font-weight: 400;
    font-size: 16px;
    color: #141414;
}
.list-headline{
    margin-bottom: 30px;
}


/* ---------------------- video section ---------------------- */

.video-placeholder {
    background-color: #d9d9d9;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.play-button {
    background-color: white;
    border-radius: 50px;
    padding: 10px 25px 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: black;
}
.play-button:active {
    transform: scale(1.01);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.play-icon-circle {
    background-color: #4db6ac;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}
.play-icon-circle img{
    width: 15px;
    height: 15px;
}

.video-text {
    line-height: 1.2;
}

.video-duration {
    font-size: 0.85rem;
    color: #666;
}

/* --------------- peaches camp ------------------------ */
.peaches {
    background-color: #000000;
    padding: 100px 0;
    overflow: hidden;
    width: 100%;
}

.peaches-camp-headline {
    font-weight: 700;
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 30px;
}

.peaches-camp-headline span {
    color: #03BAB3;
}

.peaches-camp-subtext {
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
}
.image-wrapper {
    position: relative;
    padding: 20px;
    display: inline-block;
}
.main-img {
    position: relative;
    border-radius: 20px;
    display: block;
}
.btn-outline-primary-custom {
    color: #03BAB3;
    border: 1px solid #03BAB3;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: #03BAB3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.2);
}
.btn-outline-primary-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.1);
}

/* ----------------- system in use ----------------------- */
.section-headline{
    text-align:center;
    margin-bottom:40px;
}

/* FLIP CONTAINER */

.flip-card{
    perspective:1000px;
}

.flip-card-inner{
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    transition:transform 0.7s;
    transform-style:preserve-3d;
}

.flip-card:hover .flip-card-inner{
    transform:rotateY(180deg);
}

/* ZÁKLAD KARTY */

.category-card{
    display:block;
    position:absolute;
    width:100%;
    height:100%;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    text-decoration:none;
    backface-visibility:hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card:hover .category-card{
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* PŘEDNÍ STRANA */

.card-front{
    background:#000;
}

.card-image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.3s ease;
}

.flip-card:hover .card-front .card-image{
    transform:scale(1.05);
}

.card-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(
            180deg,
            rgba(3,186,179,0) 0%,
            rgba(3,186,179,0.8) 100%
    );
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:30px;
}

.card-title{
    color:#fff;
    font-weight:700;
    font-size:24px;
    margin:0;
    text-align:center;
    text-shadow:0 2px 4px rgba(0,0,0,0.3);
}

/* ZADNÍ STRANA */

.card-back{
    background:#03bab3;
    transform:rotateY(180deg);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.card-back-content{
    padding:30px;
}

.card-back h3{
    margin-bottom:10px;
    font-size:24px;
}

.card-back p{
    font-size:16px;
    line-height:1.4;
}

/* RESPONSIVE */

@media (max-width:768px){

    .section-headline{
        font-size:28px;
    }

    .card-title{
        font-size:20px;
    }
    
    .flip-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .flip-card-inner {
        aspect-ratio: 4/3;
    }

}

/* ---------------------------- reference section ---------------------- */
.marquee-container {
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    position: relative;
    width: 100%;
}

.marquee-container:hover div {
    animation-play-state: var(--pause-on-hover);
}

.marquee-container:active div {
    animation-play-state: var(--pause-on-click);
}

.marquee {
    flex: 0 0 auto;
    min-width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    animation: scroll var(--duration) linear 0s infinite;
    /*animation-play-state: var(--play);*/
    /*animation-delay: var(--delay);*/
    /*animation-direction: var(--direction);*/
    animation-play-state: running;
    animation-delay: 0s;
    animation-direction: normal;
}

.marquee ul {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    gap: clamp(5rem, 2.44rem + 5vw, 9rem);
    padding-left: 0;
    padding-right: clamp(5rem, 2.44rem + 5vw, 9rem);
    margin: 0;
}

.marquee ul li {
    display: inline-block;
    list-style: none;
}

.marquee-container .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 70%, rgba(255, 255, 255, 0.9248074229691877) 100%);
    z-index: 999;
}

.marquee-container .overlay::before {
    left: 0;
    top: 0;
}


.marquee-container .overlay::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.client-logo img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.4);
    transition: filter 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

/* ------------------------- pricing section --------------------- */
.info{
    display: flex;
    align-items: center;
    gap: 20px;
}
.info p, h3{
    margin: 0;
}
.info a{
    text-decoration: none;
    color: #141414;
}


.form-card {
    background: #F7F7F7;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 600px;
    width: 100%;
}

h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 35px;
    text-align: center;
}

.range-container {
    position: relative;
    margin-bottom: 50px;
}

.form-range {
    height: 8px;
    border-radius: 5px;
}

.form-range::-webkit-slider-thumb {
    background: #5db9b1;
    width: 25px;
    height: 25px;
    border: 4px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    margin-top: 10px;
    color: #333;
    font-weight: 500;
}

.range-labels span.active {
    color: #5db9b1;
    font-size: 1.2rem;
}

.form-control {
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #dee2e6;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: #5db9b1;
    box-shadow: 0 0 0 0.25rem rgba(93, 185, 177, 0.25);
}

textarea.form-control {
    height: 220px;
}

.btn-submit {
    background-color: #03BAB3;
    border: none;
    color: white;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-submit:hover {
    background-color: #029b95;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 186, 179, 0.3);
}
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(3, 186, 179, 0.2);
}


.cenik-headline{
    font-weight: 700;
    font-size: 40px;
}

.pricing-section .col-lg-6:first-child{
    position: relative;
}

.message-bubble-pricing {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url('../images/konecChaosuMessage.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 652px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 60px 40px 110px 60px;
}

/* ------------------ footer ---------------------- */
.custom-footer {
    background-color: #03BAB3;
    color: white;
    width: 100%;
}

.footer-nav .nav-link {
    color: white;
    font-weight: 400;
    padding-left: 15px;
    padding-right: 15px;
    transition: opacity 0.3s;
}

.footer-nav .nav-link:hover {
    opacity: 0.8;
    color: white;
}

.border-separator {
    width: 1px;
    height: 20px;
    background-color: #009791;
    align-self: center;
}

.footer-motto {
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .custom-footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .border-separator {
        display: none;
    }

    .footer-nav {
        flex-direction: column;
    }
}

/* ------------------ Responsive Overrides & Mobile Menu ---------------------- */

/* Hamburger Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.menu-toggle:hover .hamburger-line {
    background-color: #03BAB3;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: #141414;
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Mobile Menu Sidebar */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 0;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-close {
    font-size: 32px;
    background: none;
    border: none;
    color: #141414;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}
.menu-close:hover {
    color: #03BAB3;
    transform: rotate(90deg);
}

.mobile-menu-links {
    list-style: none;
    padding: 40px 30px;
    margin: 0;
    flex-grow: 1;
}

.mobile-menu-links li {
    margin-bottom: 25px;
}

.mobile-menu-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #141414;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: #03BAB3;
}

.mobile-menu-footer {
    padding: 30px;
    border-top: 1px solid #f0f0f0;
}

/* Responsiveness Media Queries */

@media (max-width: 1200px) {
    .message-bubble {
        width: 550px;
        height: 380px;
        padding: 40px 30px 80px 40px;
    }
    .message-bubble-pricing {
        width: 100%;
        max-width: 550px;
        height: auto;
        padding: 40px 30px 80px 40px;
    }
    .message-bubble h1, .message-bubble-pricing h1 {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .main-container {
        gap: 80px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 42px;
    }
    
    .konec-chaosu, .pricing-section .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .message-bubble, .message-bubble-pricing {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 600px;
        height: auto;
        background-image: none;
        background-color: #f9f9f9;
        border-radius: 20px;
        padding: 40px;
        margin-top: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .konec-chaosu img, .time-money img {
        max-width: 100%;
        height: auto;
    }
    
    .security-headline, .peaches-camp-headline, .cenik-headline {
        font-size: 32px;
        text-align: center;
    }
    
    .security-subtext, .peaches-camp-subtext {
        text-align: center;
    }
    
    .security-list {
        display: inline-block;
        text-align: left;
    }
    
    .security .col-lg-6 {
        text-align: center;
    }

    .time-money-section-wrapper {
        text-align: center;
    }
    
    .time-money .bordered-p {
        border-left: none;
        border-top: 4px solid #03BAB3;
        padding-left: 0;
        padding-top: 15px;
    }
    
    .sub-text {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 34px;
    }
    
    .stat-title, .stat-text {
        font-size: 24px;
    }
    
    .col-md-4.border-end {
        border-end: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .benefit-list {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section .d-flex.gap-3 {
        flex-direction: column;
    }
    
    .btn-primary-custom, .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
    
    .peaches {
        padding: 60px 0;
    }
    
    .form-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .mobile-menu {
        width: 100%;
    }
}

















