/* Shine efekt pro nadpis */
.shine-effect {
    position: relative;
    overflow: hidden;
}
.shine-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-20deg);
    animation: shine-move 8s cubic-bezier(0.4,0,0.2,1) infinite;
    pointer-events: none;
}

@keyframes shine-move {
    0% { left: -75%; }
    60% { left: 120%; }
    100% { left: 120%; }
}
/* Animované podtržení odkazů v navigaci */
.main-nav-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.2s;
}
.main-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
    border-radius: 2px;
}
.main-nav-link:hover::after, .main-nav-link:focus::after {
    width: 100%;
}
/* Jemná pulzace ikon ve službách */
.service-card .fa-faucet,
.service-card .fa-fire-alt,
.service-card .fa-bolt {
    animation: iconPulse 2.8s ease-in-out infinite;
    will-change: transform;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.13) rotate(-3deg); }
}
/* Fade-in efekt pro text specializace */
.fade-in-specializace {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSpecializace 1.2s ease-out forwards;
}

@keyframes fadeInSpecializace {
    to {
        opacity: 1;
        transform: none;
    }
}
.reference-item .fa-user {
    font-size: 2rem;
}
.reference-item .no-photo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
label {
    color: #111827 !important;
}
/* style.css - oddělené styly z index.html */

/* Použití jemnějšího a modernějšího písma Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.gradient-text {
    background: linear-gradient(270deg, #2563eb, #1d4ed8, #38bdf8, #2563eb);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 18s ease-in-out infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-pattern {
    background-color: #fafafa;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type="text"], textarea {
    border-width: 1.5px !important;
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 1px #93c5fd33;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus, textarea:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 2px #60a5fa33;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.05);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Menší nadpisy a texty obecně */
h1 { font-size: 3.5rem !important; }
@media (max-width: 768px) { h1 { font-size: 2.5rem !important; } }

h2 { font-size: 2rem !important; }
h3 { font-size: 1.25rem !important; }
p { font-size: 0.95rem; line-height: 1.6; }

/* Reference sekce */
.reference-list {
    display: grid;
    gap: 2.5rem;
}
.reference-item {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-radius: 1.5rem;
    padding: 2rem;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}
.reference-item:hover {
    box-shadow: 0 16px 40px 0 rgba(31, 38, 135, 0.13);
    transform: translateY(-6px) scale(1.03);
}
.reference-photo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #e0e7ef;
    box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.08);
}
.reference-name {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.2rem;
}
.reference-text {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 1rem;
}
.reference-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
}
@media (max-width: 900px) {
    .reference-list {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 901px) {
    .reference-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
