/* ZÁKLAD */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #C45A1A;
    color: white;
    scroll-behavior: smooth;
}

section {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* HERO */
.hero {
    position: relative;   /* >>> TADY JE TEN KLÍČ <<< */
    padding: 180px 20px;
    text-align: center;
    color: white;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        rgba(196, 90, 26, 0.85),
        rgba(169, 72, 18, 0.95)
    );
}

/* pravá fotka */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 80px;
    width: 15%;          /* kolik prostoru zabere fotka */
    height: 100%;
    background-image: url("sefova.jpg"); /* sem dej název fotky */
    background-size: cover;
    background-position: center;
    opacity: 0.45;       /* jemné prolnutí */
    z-index: 1;
}

/* text nad fotkou */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
}

.btn {
    background-color: #E57A2C;
    color: white;
    padding: 16px 34px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* ANIMACE */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SLUŽBY */
.sluzby h2,
.cenik h2,
.oteviraci h2,
.kontakt h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.sluzby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.box {
    background-color: #F4C9A1;
    color: #3A3A3A;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.box h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
}

/* CENÍK */
.cenik-table {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.cenik-row {
    display: flex;
    justify-content: space-between;
    background-color: #F4C9A1;
    color: #3A3A3A;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cenik-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.cenik-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
}

/* KONTAKT */
.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.kontakt-box {
    background-color: #F4C9A1;
    color: #3A3A3A;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kontakt-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.adresa {
    text-align: center;
    margin-top: 40px;
}

.adresa h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

/* MAPA */
.mapa {
    margin-top: 30px;
}

/* PATIČKA */
footer {
    text-align: center;
    padding: 25px;
    background-color: #8C3A0F;
    font-size: 14px;
}

/* === NOVÉ STYLY PRO TŘI CENÍKY VEDLE SEBE === */

.ceniky-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cenik-column {
    width: 360px;
}

.cenik-column h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

/* Aby se ceny nikdy nezalamovaly */
.cenik-row span:last-child {
    white-space: nowrap;
    font-weight: bold;
}

/* Aby dlouhé texty byly hezky zarovnané */
.cenik-row span:first-child {
    flex: 1;
}

.oteviraci-table {
    max-width: 500px;
    margin: 0 auto;
}

.oteviraci-row {
    display: flex;
    justify-content: space-between;
    background-color: #F4C9A1;
    color: #3A3A3A;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oteviraci-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.oteviraci-row span:last-child {
    white-space: nowrap;
    font-weight: bold;
}

.voucher-wrap {
    position: fixed;     /* >>> TADY JE TA MAGIE <<< */
    top: 40px;
    left: 40px;
    width: 300px;
    z-index: 9999;       /* aby byl vždy nad obsahem */
    animation: voucherShake 6s infinite ease-in-out;
    pointer-events: none; /* aby nepřekážel při klikání na obsah */
}

.voucher-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
    transform-origin: top center;
}

/* provázek */
.voucher-wrap::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: white;
    transform: translateX(-50%);
    opacity: 0.9;
}

/* animace třesení */
@keyframes voucherShake {
    0%, 90%, 100% {
        transform: rotate(0deg);
    }
    92% {
        transform: rotate(3deg);
    }
    94% {
        transform: rotate(-3deg);
    }
    96% {
        transform: rotate(2deg);
    }
    98% {
        transform: rotate(-2deg);
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

/* když je aktivní (po kliknutí) */
.lightbox:target {
    opacity: 1;
    pointer-events: auto;
}
.voucher-link {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 99999; /* musí být NAD hero-bg */
    display: block;
}
.voucher-wrap {
    pointer-events: auto;
}
.lightbox-close {
    position: absolute;
    inset: 0;
    display: block;
    content: "";
}
.oteviraci {
    background-image: url("salon.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 200px 20px;
    color: white;
    position: relative;
}
.oteviraci::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.30); /* jemné ztmavení */
    z-index: 0;
}

.oteviraci-doba * {
    position: relative;
    z-index: 1;
}





