html {
    scroll-behavior: smooth;
}

/* NAVIGACE */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px 0;
    text-align: center;
    transition: background-color 0.3s ease;
}

.main-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #2F2F2F;
    font-weight: bold;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #77C9A4;
}

/* LOGO */

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}
.logo-container {
    position: absolute;
    top: 20px;
    right: 40px;
}
/* TĚLO */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #2F2F2F;
    background: #fcfcfc;
    overflow-x: hidden;
}

.main-footer {
    background-color: #ffffff !important;
    /* Vynutíme bílou */
    color: #2F2F2F;
    padding: 60px 0 30px;
    margin-top: 0;
    width: 100%;
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* GLOBAL */
section {
    width: 100%;
    padding: 120px 0;
    margin: 0;
}
section.fade:first-of-type {
    transition-delay: 0.3s;
}
#about {
    background-color: #ffffff;
}
#services {
    background-color: #7fcca9;
}
#tools {
    background-color: #ffffff;
}
#contact {
    background-color: #7fcca9;
}

.toggle-icon {
    display: inline-block;
    color: #77C9A4;
    font-weight: bold;
    margin-right: 8px;
    font-size: 24px;
    transition: transform 0.3s ease;
}
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* HERO */
.hero {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #77C9A4 100%);
    padding: 160px 0 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FOTO */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #77C9A4;
    box-shadow: 0 10px 30px rgba(119,201,164,0.4);
    transition: 0.8s;
}

.profile-pic:hover {
    transform: scale(1.2);
}

/* TEXT */
h1 {
    font-size: 36px;
    margin: 20px 0 10px;
}

.subtitle {
    font-size: 18px;
    color: #444;
    max-width: 500px;
    margin: auto;
}

/* BUTTON */
button {
    margin-top: 30px;
    background: linear-gradient(135deg, #77C9A4, #5fbf98);
    border: none;
    margin-bottom: 30px;
    padding: 16px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(119,201,164,0.6);
}

.tools-grid {
    display: grid;
    /* auto-fit zajistí, že se karty poskládají vedle sebe a při nedostatku místa pod sebe */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.tool-card {
    background: #dbfaec;
    padding: 40px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tool-card:hover {
    transform: translateY(-10px);
    background: white;
    border-color: #77C9A4;
    box-shadow: 0 15px 30px rgba(119, 201, 164, 0.15);
}

.tool-card h4 {
    margin-top: 0;
    color: #333;
    font-size: 1.2rem;
}

.tool-card p {
    margin-bottom: 0;
    color: #666;
    line-height: 1.5;
}
.text-accent {
    color: #7fcca9;
    /* Tady si doplň přesný odstín zelené, který se ti líbí */
    font-weight: bold;
    /* Můžeš ho i trochu zvýraznit */
    font-size: 130%;
}
/* CONTACT */

#contact {
    padding: 80px 0;
    background: transparent;
    text-align: center;
}

.contact-clean h3 {
    font-size: 42px;
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.contact-card {
    background: #dbfaec;
    padding: 40px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: white;
    border-color: #77C9A4;
    box-shadow: 0 15px 30px rgba(119, 201, 164, 0.15);
}

.contact-card .icon {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
    color: #17744f;
}

.contact-card h3 {
    margin-bottom: 5px;
    color: #77C9A4;
}

.contact-card p {
    font-size: 16px;
    color: #666;
}

/*ACCORDION*/

.accordions {
    display: grid;
    gap: 20px;
}
.accordion {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.25s;
    cursor: pointer;
}

.accordion:hover {
    transform: translateY(-5px);
}

.accordion-title {
    font-weight: bold;
    font-size: 18px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
    color: #555;
}

.accordion.active .accordion-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.accordion.active .toggle-icon {
    transform: rotate(45deg);
    color: #5fbf98;
}
.toggle-icon {
    color: #77C9A4;
    font-weight: bold;
    margin-right: 8px;
    font-size: 30px;
    transition: 0.3s ease;
}

/* FADE IN */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}
