/* ===== Homepage - lepet.sk ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green-dark: #0f1f15;
    --green-mid: #1a332a;
    --green-accent: #2E7D32;
    --green-light: #66BB6A;
    --yellow-warm: #FFD54F;
    --cream: #f5f7f5;
    --text: #2c3e2c;
    --text-light: #5a6b5a;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
}

/* ===== NAVBAR ===== */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--green-dark);
    border-bottom: 3px solid var(--green-accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
}

.lp-nav-brand img {
    width: 45px;
    height: 45px;
}

.lp-nav-brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.lp-nav-brand-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

.lp-nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.lp-nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 16px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.lp-nav-links a:hover {
    color: var(--green-light);
    border-bottom-color: var(--green-light);
    background: rgba(255,255,255,0.05);
}

.lp-nav-links a i { color: var(--green-light); font-size: 0.85rem; }

.lp-nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--green-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* ===== HERO ===== */
.lp-hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    max-height: 700px;
    overflow: hidden;
    background: var(--green-dark);
}

.lp-hero-video {
    display: none;
}

.lp-hero-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 31, 21, 0.5) 0%,
        rgba(15, 31, 21, 0.3) 50%,
        rgba(15, 31, 21, 0.7) 100%
    );
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
}

.lp-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.lp-hero h1 em {
    font-style: normal;
    color: var(--green-light);
}

.lp-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 30px;
}

.lp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--green-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid var(--green-accent);
}

.lp-hero-cta:hover {
    background: transparent;
    border-color: var(--green-light);
    color: var(--green-light);
    transform: translateY(-2px);
}

/* Desktop: show video, hide poster */
@media (min-width: 769px) {
    .lp-hero-video {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
    }
    .lp-hero-poster {
        display: none;
    }
}

/* ===== CONTINENTS GRID ===== */
.lp-continents {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.lp-continents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-continent-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s, box-shadow 0.3s;
}

.lp-continent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.lp-continent-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.lp-continent-card:hover img {
    transform: scale(1.08);
}

.lp-continent-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.lp-continent-card-body {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.lp-continent-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lp-continent-card span {
    font-size: 0.8rem;
    color: var(--green-light);
}

/* ===== STATS BAR ===== */
.lp-stats {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-stat {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e8e0;
}

.lp-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green-accent);
    line-height: 1;
}

.lp-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
}

/* ===== POPULAR SPECIES ===== */
.lp-popular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.lp-popular-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s, box-shadow 0.3s;
}

.lp-popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.lp-popular-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.lp-popular-card:hover img {
    transform: scale(1.06);
}

.lp-popular-card-body {
    position: relative;
    z-index: 2;
    padding: 14px;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.lp-popular-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.lp-popular-card span {
    font-size: 0.72rem;
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

/* ===== ARTICLES SECTION ===== */
.lp-section {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.lp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.lp-section-header h2 {
    font-size: 1.6rem;
    color: var(--text);
}

.lp-section-header a {
    color: var(--green-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.lp-section-header a:hover { color: var(--green-dark); }

.lp-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lp-article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e8e0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.lp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.lp-article-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.lp-article-card-body {
    padding: 18px;
}

.lp-article-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.lp-article-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.lp-article-card .lp-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-accent);
    margin-bottom: 8px;
}

/* ===== BLOG PREVIEW ===== */
.lp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e8e0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.lp-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.lp-blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.lp-blog-card-body {
    padding: 18px;
}

.lp-blog-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.lp-blog-card .lp-date {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== NAVBAR SEARCH ===== */
.lp-nav-search {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.lp-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(102, 187, 106, 0.25);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.lp-search-form:focus-within {
    border-color: var(--green-light);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 2px rgba(102, 187, 106, 0.15);
}

.lp-search-form input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 12px;
    width: 160px;
    outline: none;
    font-family: inherit;
}

.lp-search-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.lp-search-form button {
    background: transparent;
    border: none;
    color: var(--green-light);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.25s;
}

.lp-search-form button:hover {
    color: var(--yellow-warm);
}

/* Search dropdown */
.lp-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-height: 480px;
    overflow-y: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    z-index: 9999;
    margin-top: 6px;
    border: 1px solid #e0e8e0;
}

.lp-sr-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
    border-bottom: 1px solid #f0f2f0;
}

.lp-sr-item:last-child { border-bottom: none; }
.lp-sr-item:hover, .lp-sr-item.lp-sr-active {
    background: #f0f7f0;
}

.lp-sr-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8ede8;
}

.lp-sr-nophoto {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-size: 1.1rem;
}

.lp-sr-text {
    flex: 1;
    min-width: 0;
}

.lp-sr-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-sr-latin {
    display: block;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-sr-cont {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-accent);
    flex-shrink: 0;
}

.lp-sr-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.lp-sr-more {
    padding: 10px 14px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid #e0e8e0;
    background: #f8faf8;
    border-radius: 0 0 10px 10px;
}

/* Search results */
.lp-search-results {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .lp-continents-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-popular-grid { grid-template-columns: repeat(3, 1fr); }
    .lp-blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .lp-nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-dark); border-top: 1px solid rgba(255,255,255,0.1); }
    .lp-nav-links.active { display: flex; }
    .lp-nav-links a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .lp-nav-links a:hover { border-bottom-color: rgba(255,255,255,0.05); }
    .lp-nav-hamburger { display: block; }
    .lp-search-form input { width: 100%; }
    .lp-nav-search { padding: 10px 20px; }
    .lp-search-dropdown { width: calc(100vw - 40px); right: -20px; }
    .lp-hero { height: 55vh; min-height: 350px; }
    .lp-continents { margin-top: -40px; }
    .lp-continent-card { height: 180px; }
}

@media (max-width: 500px) {
    .lp-continents-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .lp-continent-card { height: 150px; }
    .lp-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lp-stat { padding: 18px 10px; }
    .lp-stat-number { font-size: 1.7rem; }
    .lp-popular-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lp-popular-card { height: 160px; }
    .lp-blog-grid { grid-template-columns: 1fr; }
    .lp-hero { height: 50vh; min-height: 300px; }
}

/* ===== Druh mesiaca ===== */
.lp-species-month{background:linear-gradient(135deg,#f0f7f0 0%,#e8f5e9 100%);border-radius:16px;padding:40px;margin:40px auto;max-width:1200px}
.lp-month-badge{background:var(--green-accent);color:#fff;padding:4px 12px;border-radius:12px;font-size:0.85rem;font-weight:500;text-transform:capitalize}
.lp-month-card{display:grid;grid-template-columns:1fr 1.5fr;gap:30px;margin-top:24px;align-items:center}
.lp-month-image img{width:100%;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.15)}
.lp-month-info h3{font-size:1.6rem;margin-bottom:4px}
.lp-month-info h3 a{color:var(--text);text-decoration:none}
.lp-month-info h3 a:hover{color:var(--green-accent)}
.lp-month-latin{color:var(--text-light);font-style:italic;margin-bottom:12px}
.lp-month-why{font-size:1.05rem;line-height:1.6;margin-bottom:16px;color:var(--text)}
.lp-month-facts{list-style:none;padding:0;margin-bottom:20px}
.lp-month-facts li{padding:6px 0;color:var(--text);display:flex;align-items:center;gap:8px}
.lp-month-facts i{color:var(--green-accent);font-size:0.9rem}
.lp-month-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:var(--green-accent);color:#fff;text-decoration:none;border-radius:8px;font-weight:600;transition:background .2s}
.lp-month-cta:hover{background:#1B5E20}
@media(max-width:768px){.lp-month-card{grid-template-columns:1fr}.lp-species-month{padding:24px;margin:20px 16px}}

/* Wizard banner */
.lp-wizard-banner{background:linear-gradient(135deg,#2E7D32 0%,#1B5E20 60%,#0d3d14 100%);border-radius:20px;padding:48px;margin:0 auto 48px;max-width:1200px;overflow:hidden;position:relative}
.lp-wizard-banner::before{content:'';position:absolute;top:-50%;right:-20%;width:500px;height:500px;background:radial-gradient(circle,rgba(255,255,255,.06) 0%,transparent 70%);pointer-events:none}
.lp-wizard-banner-inner{display:flex;align-items:center;gap:40px;position:relative;z-index:1}
.lp-wizard-banner-visual{flex:0 0 auto}
.lp-wb-parrot{animation:lpWbBob 3s ease-in-out infinite}
@keyframes lpWbBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.lp-wizard-badge{display:inline-block;padding:4px 14px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);border-radius:20px;color:rgba(255,255,255,.9);font-size:.78rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:12px}
.lp-wizard-banner-text{flex:1}
.lp-wizard-banner-text h2{font-size:clamp(1.5rem,3vw,2rem);color:#fff;margin-bottom:10px;line-height:1.3}
.lp-wizard-banner-text p{font-size:1rem;color:rgba(255,255,255,.8);line-height:1.6;margin-bottom:20px;max-width:500px}
.lp-wizard-features{display:flex;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.lp-wizard-feat{display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.85);font-size:.88rem;font-weight:500}
.lp-wizard-feat i{color:#A5D6A7;font-size:.8rem}
.lp-wizard-banner-btn{display:inline-flex;align-items:center;gap:10px;padding:16px 32px;background:#fff;color:#1B5E20;text-decoration:none;border-radius:12px;font-weight:700;font-size:1.05rem;transition:all .25s;box-shadow:0 4px 20px rgba(0,0,0,.2)}
.lp-wizard-banner-btn:hover{transform:translateY(-3px);box-shadow:0 8px 28px rgba(0,0,0,.3);background:#f0fdf0}
@media(max-width:768px){.lp-wizard-banner{padding:32px 24px;margin:0 16px 36px}.lp-wizard-banner-inner{flex-direction:column;text-align:center}.lp-wizard-banner-visual svg{width:120px;height:120px}.lp-wizard-features{justify-content:center}.lp-wizard-banner-text p{max-width:none}}
