* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* google maps */
#map {
    width: 80vw; /* 80 % šířky okna */
    max-width: 1000px; /* Maximální šířka */
    height: 500px; /* Výška */
    border-radius: 10px; /* Zaoblené rohy (volitelné) */
}

:root {
    --primary: #4a90e2;
    --secondary: #2c3e50;
    --accent: #C1121F;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

html, body {
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s;
}

.header-scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Smooth transition for header background */
header {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-content h1 {
    animation: fadeUp 1s ease-out forwards;
}

.hero-content p {
    animation: fadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: fadeUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.logo img {
    width: 150px;
    height: auto;
    margin: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a i {
    font-size: 1.5rem;
    vertical-align: middle;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    gap: 15px;
    margin-left: 1rem;
}

.nav-socials a {
    color: var(--dark);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-socials a:hover {
    color: var(--accent);
}

/* MAIN PAGE  */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(74,144,226,0.9) 0%, rgba(44,62,80,0.9) 100%);
    color: white;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(44,62,80,0.9) 0%, rgba(44,62,80,0) 50%);
    pointer-events: none;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
    width: 25%;
    min-width: 300px;
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

/* 2. zalozka - info */
.features {
    padding: 8rem 2rem;
    background-color: var(--light);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 4rem;
}

.feature-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

.stats {
    padding: 6rem 2rem;
    background-color: var(--primary);
    color: white;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trainers {
    padding: 8rem 2rem;
}

.trainer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.trainer-card {
    text-align: center;
}

.trainer-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background-color: #ddd;
}

.cta {
    padding: 8rem 2rem;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/*  first time CSS */
.EMS_firsTime_border {
    padding: 20px;
    border-radius: 10px;
}

#ems-poprve {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
}

.ems-first-time {
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

.ems-image-container {
    position: relative;
    display: inline-block;
    max-width: 80vh;
    width: 100%;
}

.pripravaSaloon {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Zaoblené rohy */
}

.ems-heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8); /* Překryv pro lepší čitelnost */
    padding: 20px 40px;
    border-radius: 8px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.ems-heading:hover {
    transform: translate(-50%, -55%);
}

.ems-heading h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 10px;
    font-weight: bold;
}

.ems-heading p {
    font-size: 1.2rem;
    color: var(--light);
    font-style: italic;
}

.priprava {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tip {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 200px;
    transition: transform 0.3s;
}

.tip:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tip span {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

.info-box {
    background: #ffebeb;
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 1000px;
    
}

.info-box h3 {
    color: #c00;
}

/* Photo slider styles */
/* Fotky section */
/* Page wrapper */
.photo-galerry{
    background-color: var(--light);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.5rem;
}

.photo-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 0 auto; /* Center the container */
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.photo-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-slide.active {
    opacity: 1;
}

.photo-slide__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Navigation arrows */
.photo-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-slider__arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.photo-slider__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.photo-slider__arrow--prev {
    left: 15px;
}

.photo-slider__arrow--next {
    right: 15px;
}

/* Dot indicators */
.photo-slider__indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    gap: 10px;
}

.photo-slider__indicator {
    width: 12px;
    height: 12px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.photo-slider__indicator:hover {
    background-color: #888;
    transform: scale(1.2);
}

.photo-slider__indicator--active {
    background-color: #4a90e2;
    border-color: #4a90e2;
    transform: scale(1.3);
}

/* CSS pro 3. zalozku */
#permanentky {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--secondary);
}

.permanentky-header {
    color: var(--light);
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.425); /* Bílý stín */
}

.permanentky-text {
    color: var(--light);
}

h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 20px;
}

.trial {
    background: #ffebeb;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
    max-width: 70vh;
    text-align: center;
}

.price {
    color: #c00;
    font-weight: bold;
}

.permanentky-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.perm-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
}

.perm-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.perm-box h3 {
    color: #c00;
}

.benefits {
    background: #f1f1f1;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.benefits h3 {
    color: #222;
    width: 100%;
    text-align: center;
    font-size: 2rem; 
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--light);
    box-shadow: 8px 4px 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-item img {
    width: 200px; 
    height: 200px;
    object-fit: cover; 
    margin-right: 15px;
    border-radius: 8px; 
}

.benefit-item p {
    font-size: 1.6rem; 
    color: var(--dark);
    margin: 0;
}

/* Postupné zkracování šířky jednotlivých položek */
.benefit-item:nth-child(2) {
    width: calc(100% - 30px);
}

.benefit-item:nth-child(3) {
    width: calc(100% - 60px);
}

.benefit-item:nth-child(4) {
    width: calc(100% - 90px);
}

.benefit-item:nth-child(5) {
    width: calc(100% - 120px);
}

/* Map section */
.map-container {
    width: 100%;
    max-width: 800px; /* Maximální šířka mapy */
    height: 400px; /* Výška mapy */
    margin: 0 auto; /* Vycentrování */
    border: 2px solid #669BBC; /* Modré orámování */
    border-radius: 10px; /* Zaoblené rohy */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Jemný stín */
    overflow: hidden;
}

/* Footer section */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 2rem;
    border-top: 6px double;
    border-color: var(--light);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section a {
    color: inherit; 
    text-decoration: none; 
}

.footer-section a:hover {
    color: var(--accent);
    text-decoration: underline; 
}

.footer-map {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa; /* Světlé pozadí */
    border-radius: 10px;
    margin-top: 30px;
}

.footer-map h2 {
    font-size: 2rem;
    color: #003049; /* Tmavě modrá */
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-map hr {
    width: 60px;
    height: 3px;
    background-color: #C1121F; /* Červená čára */
    border: none;
    margin: 10px auto 20px;
}

/* Bussiness Card info */
.business-card {
    background-color: var(--light);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    font-size: 16px;
    opacity: 0.7;
    grid-column: span 2;
}

.business-card h2 {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.business-card p, .business-card ul {
    color: #555;
    line-height: 1.6;
}

.business-card ul {
    padding-left: 20px;
}

.business-card ul li {
    margin-bottom: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 20px 5px;
    margin-top: 20px; 
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: white;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--accent);
}


/* Menu toggling out */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
    padding: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: white;
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

.cookie-banner button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 5px;
}


/* Mobile-phone responsibility */
@media (max-width: 540px) {
    .logo img{
        width: 100px;
        height: auto;
        margin: 2px;
    }

    .hero {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 60px 20px 20px; /* horní padding kvůli nav menu */
            text-align: center;
            background: linear-gradient(
                rgba(44,62,80,0.5), 
                rgba(44,62,80,0.5)
                ),
                url('images/JosetteSalon.JPG') no-repeat center/cover;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 10px;
        z-index: 1;
    }

    .hero-content h1 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 5px rgba(40, 35, 35, 0.425); 
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 5px rgba(40, 35, 35, 0.425); 
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .features-grid{
        display: grid;
        grid-template-columns: 1fr;
    }

    /* EMS FIRST TIME */
    .ems-first-time {
        padding: 30px 10px;
    }
    
    .ems-image-container {
        max-width: 100%;
    }
    
    .ems-heading {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px 20px;
        width: 80%;
    }
    
    .ems-heading h2 {
        font-size: 1.8rem;
    }
    
    .ems-heading p {
        font-size: 1.1rem;
    }

    .tip {
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 150px;
        transition: transform 0.3s;
    }
    
    .tip span {
        font-size: 2rem;
        display: block;
        margin-bottom: 5px;
    }
    
    .benefits {
        padding: 10px;
        text-align: center;
        align-items: center;
    }

    .benefits h3 {
        font-size: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .benefit-item img {
        width: 150px !important;
        height: 150px !important;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .benefit-item p {
        font-size: 1.2rem !important;
        color: var(--dark);
        white-space: normal;
        text-align: center;
        }

        /* Zrušíme nth-child šířky */
        .benefit-item:nth-child(2),
        .benefit-item:nth-child(3),
        .benefit-item:nth-child(4),
        .benefit-item:nth-child(5) {
        width: 100%;
    }

    .photo-slider-container {
        height: 300px;
        margin: 0 5px;
    }
    
    .photo-slider__arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .photo-slider__arrow--prev {
        left: 5px;
    }
    
    .photo-slider__arrow--next {
        right: 5px;
    }
    
    .photo-slider__indicator {
        width: 10px;
        height: 10px;
    }

    .cta-content h2 {
        font-size: 2.2rem !important;
    }
    
    .page-title {
        font-size: 1.8rem !important;
        margin-bottom: 20px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
        overflow-x: hidden;
        max-width: 100%;
    }

    .footer-content h3 {
        text-decoration: underline;
    }

    .footer-section {
        width: 100%;
        max-width: 100%;
    }

    .business-card {
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }

    .cookie-buttons {
        display: flex;
        flex-direction: row;   /* <- přepneme zpět na horizontálně */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .cookie-buttons button {
        width: auto;
        min-width: 100px;
    }

    

    .footer-bottom {
    flex-direction: column;
    text-align: center;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 60px 20px 20px; /* horní padding kvůli nav menu */
        text-align: center;
        background: linear-gradient(
            rgba(44,62,80,0.5), 
            rgba(44,62,80,0.5)
            ),
            url('images/JosetteSalon.JPG') no-repeat center/cover;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 10px;
        z-index: 1;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 5px rgba(40, 35, 35, 0.425); 
    }

    .hero-content p {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 5px rgba(40, 35, 35, 0.425); 
    }

    .hero-content .btn {
        padding: 12px 24px;
        font-size: 1.1rem;
        margin: 0 auto;
        display: block;
    }

    /* EMS FIRST TIME */
    .ems-first-time {
        padding: 30px 10px;
    }
    
    .ems-image-container {
        max-width: 100%;
    }
    
    .ems-heading {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px 20px;
        width: 80%;
    }
    
    .ems-heading h2 {
        font-size: 1.8rem;
    }
    
    .ems-heading p {
        font-size: 1.1rem;
    }

    .benefits {
        padding: 10px;
        text-align: center;
        align-items: center;
    }

    .benefits h3 {
        font-size: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .benefit-item img {
        width: 100px;
        height: 100px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .benefit-item p {
        font-size: 1.1rem;
        color: var(--dark);
        white-space: normal;
        text-align: center;
        }

        /* Zrušíme nth-child šířky */
        .benefit-item:nth-child(2),
        .benefit-item:nth-child(3),
        .benefit-item:nth-child(4),
        .benefit-item:nth-child(5) {
        width: 100%;
    }

    .photo-slider-container {
        height: 400px;
        margin: 0 10px;
    }
    
    .photo-slide {
        padding: 10px;
    }
    
    .photo-slider__arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .photo-slider__arrow--prev {
        left: 10px;
    }
    
    .photo-slider__arrow--next {
        right: 10px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 1070px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        background-color: white;
        position: absolute;
        top: 60px;
        right: 10px;
        padding: 15px;
        border-radius: 8px;
        z-index: 1000;
        border: 2px solid var(--light);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 10px;
        padding-top: 5px;
        width: 100%;
    }

    .benefits {
        padding: 10px;
        text-align: center;
        align-items: center;
    }

    .benefits h3 {
        font-size: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
        margin-bottom: 20px;
    }

    .benefit-item img {
        width: 200px;
        height: 200px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .benefit-item p {
        font-size: 1.5rem;
        color: var(--dark);
        white-space: normal;
        text-align: center;
        }

        /* Zrušíme nth-child šířky */
        .benefit-item:nth-child(2),
        .benefit-item:nth-child(3),
        .benefit-item:nth-child(4),
        .benefit-item:nth-child(5) {
        width: 100%;
    }
}

@media (min-width: 1280px) {
    .footer-content > .business-card {
        grid-column: 1 / -1;
        opacity: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Base transition for all elements */
.feature-card, .tip, .perm-box, .benefit-item, .ems-heading, .cta-content, .info-box {
    transition: all 0.5s ease;
}

/* Make invisible elements before they're revealed */
.sr-only {
    visibility: hidden;
}

/* Add a subtle animation to the hero content */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






