/* ===== ZÁKLAD ===== */
body {
    margin: 0;
    font-family: "Poppins", Georgia, serif;
    color: #333;
    overflow-x: hidden;

    /* Luxusnější animované pozadí */
    background: linear-gradient(-45deg,
        #ff8fc7,
        #ffd4ea,
        #ffeaf5,
        #ffb6d9,
        #ffc7e3);
    background-size: 500% 500%;
    animation: gradientBG 15s ease infinite;
}

/* Jemnější pohyb */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* ===== HLAVIČKA ===== */
header {
    position: relative;
    padding: 50px 20px;
    text-align: center;
    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(235, 91, 163, 0.85),
            rgba(255, 182, 217, 0.7)
        );

    backdrop-filter: blur(16px);
    overflow: hidden;

    box-shadow:
        0 10px 40px rgba(255, 105, 180, 0.35),
        inset 0 -2px 10px rgba(255,255,255,0.2);
}

/* Glow efekt v pozadí */
header::before,
header::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    filter: blur(80px);
    animation: floatGlow 8s ease-in-out infinite;
}

header::before {
    top: -120px;
    left: -100px;
}

header::after {
    bottom: -120px;
    right: -100px;
    animation-delay: 4s;
}

@keyframes floatGlow {
    0%,100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(20px) scale(1.1);
    }
}

/* ===== TITULKY ===== */
header h1 {
    font-size: 4rem;
    margin: 0;

    letter-spacing: 3px;
    font-weight: 700;

    text-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(255,255,255,0.3);

}

/* Elegantní glow animace */
@keyframes titleGlow {
    from {
        transform: scale(1);
        text-shadow:
            0 0 10px rgba(255,255,255,0.4),
            0 0 20px rgba(255,255,255,0.3);
    }

    to {
        transform: scale(1.03);
        text-shadow:
            0 0 20px rgba(255,255,255,0.8),
            0 0 40px rgba(255,182,217,0.7);
    }
}

/* Podnadpis */
header p {
    margin-top: 15px;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.92);

    letter-spacing: 1px;

    text-shadow:
        0 2px 10px rgba(0,0,0,0.2);
}

/* ===== MENU ===== */
nav {
    margin-top: 30px;
}

nav a {
    margin: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    padding: 10px 18px;
    border-radius: 30px;

    transition: all 0.35s ease;
}

/* Hover glow */
nav a:hover {
    background: rgba(255,255,255,0.15);
    box-shadow:
        0 0 15px rgba(255,255,255,0.35);
}

/* Elegantní podtržení */
nav a::after {
    content: "";
    width: 0;
    height: 3px;

    background: linear-gradient(90deg, #fff, #ffd6eb);

    position: absolute;
    left: 50%;
    bottom: -6px;

    transform: translateX(-50%);
    border-radius: 10px;

    transition: width 0.35s ease;
}

nav a:hover::after {
    width: 70%;
}

/* ===== SEKCE ===== */
section {
    padding: 70px 20px;
    text-align: center;
}

/* Nadpis sekcí */
section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;

    color: #ff2f92;

    text-shadow:
        0 2px 10px rgba(255, 105, 180, 0.3);

    position: relative;
    display: inline-block;
}

/* Linka pod nadpisem */
section h2::after {
    content: "";
    width: 60%;
    height: 4px;

    background: linear-gradient(90deg, #ff4da6, #ffc2de);

    position: absolute;
    left: 20%;
    bottom: -10px;

    border-radius: 10px;
}

/* ===== TEXTOVÝ BLOK ===== */
section p {
    max-width: 850px;
    margin: 25px auto;

    background: rgba(255, 255, 255, 0.45);

    padding: 25px;
    border-radius: 24px;

    backdrop-filter: blur(10px);

    line-height: 1.8;
    font-size: 1.05rem;

    box-shadow:
        0 10px 30px rgba(255, 105, 180, 0.15);

    transition: transform 0.3s ease;
}

section p:hover {
    transform: translateY(-5px);
}

/* ===== GALERIE ===== */
.galerie {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ===== OBRÁZKY ===== */
.galerie img {
    width: 260px;
    border-radius: 24px;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        filter 0.45s ease;

    box-shadow:
        0 10px 30px rgba(255, 105, 180, 0.25);

    filter: brightness(0.97);
}

.galerie img:hover {
    transform: scale(1.08) rotate(1deg);

    box-shadow:
        0 15px 40px rgba(255, 105, 180, 0.45);

    filter: brightness(1.05);
}

/* ===== TLAČÍTKA ===== */
.menu {
    margin-top: 15px;
}

.menu a {
    display: inline-block;
    margin: 10px;
    padding: 14px 28px;

    text-decoration: none;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;

    border-radius: 40px;

    background: linear-gradient(
        45deg,
        #ff3f9e,
        #ff84c1
    );

    box-shadow:
        0 8px 25px rgba(255, 105, 180, 0.4);

    transition: all 0.35s ease;
}

.menu a:hover {
    transform: translateY(-4px) scale(1.07);

    background: linear-gradient(
        45deg,
        #ff1f8b,
        #ff66b3
    );

    box-shadow:
        0 15px 35px rgba(255, 105, 180, 0.65);
}

.menu a:active {
    transform: scale(0.96);
}

.menu a.active {
    background: white;
    color: #ff3f9e;
}

/* ===== PATIČKA ===== */
footer {
    text-align: center;
    padding: 20px;

    background: rgba(255, 77, 166, 0.78);
    backdrop-filter: blur(10px);

    color: white;
    letter-spacing: 1px;

    box-shadow:
        0 -5px 20px rgba(255, 105, 180, 0.2);
}