/* ===============================================
   FUELKY.INFO - KOMPLETNÉ ŠTÝLY
   Opravená verzia s funkčným burger menu
   =============================================== */

:root {
    --primary-cyan: #1BCAFF;
    --primary-cyan-light: #4DD4FF;
    --background-light: #F8FAFC;
    --background-gradient: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #E2E8F0 100%);
    --card-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    --success: #10B981;
    --danger: #EF4444;
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* ===============================================
   ZÁKLADNÉ ŠTÝLY
   =============================================== */

* { 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    background: var(--background-gradient);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===============================================
   HEADER A NAVIGÁCIA
   =============================================== */

header {
    background-color: var(--card-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6vw;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.9em;
    font-weight: 800;
    color: var(--text-dark);
}

.logo a { 
    text-decoration: none; 
    color: inherit; 
}

.logo-accent { 
    color: var(--primary-cyan); 
}

/* Desktop navigácia */
.desktop-nav { 
    display: flex; 
    gap: 24px; 
}

.desktop-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-cyan);
    background: rgba(27, 202, 255, 0.08);
}

/* Mobilné menu */
.mobile-menu { 
    display: none; 
    position: relative; 
}

.burger-btn {
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.burger-btn:hover {
    color: var(--primary-cyan);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 200px;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.mobile-nav.show { 
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible; 
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover { 
    background: rgba(27, 202, 255, 0.1); 
    color: var(--primary-cyan); 
}

/* ===============================================
   HLAVNÝ OBSAH
   =============================================== */

main { 
    padding: 40px 4vw 60px 4vw; 
}

h1 {
    text-align: center;
    margin: 0 0 12px 0;
    font-size: 2.5em;
    font-weight: 800;
    color: var(--text-dark);
}

h2 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-gray);
}

.section-h2 {
    text-align: left;
    margin: 0 0 24px 0;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-dark);
}

/* ===============================================
   CENOVÉ KARTY
   =============================================== */

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.card {
    background: var(--card-white);
    border-radius: 16px;
    padding: 28px 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-lg); 
    text-decoration: none;
    color: inherit;
}

.card h3 {
    margin: 0 0 16px 0;
    color: var(--text-gray);
    font-size: 1.05em;
    font-weight: 600;
    text-transform: uppercase;
}

.card .price {
    font-size: 2.4em;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1;
}

.card .price .euro-symbol {
    color: var(--text-dark);
    opacity: 0.8;
    margin-right: 0.1em;
}

.card .price .price-value {
    color: var(--primary-cyan);
}

.card .trend {
    font-size: 0.9em;
    font-weight: 600;
}

.card .trend.positive { 
    color: var(--danger); 
}

.card .trend.negative { 
    color: var(--success); 
}

/* ===============================================
   STATUS SEKCIA
   =============================================== */

.status-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--card-white);
    border: 1px solid #A7F3D0;
    border-left: 4px solid var(--success);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: var(--shadow-sm);
}

.status-text { 
    flex: 0 0 70%; 
}

.status-text p { 
    margin: 0; 
    color: var(--success); 
    font-weight: 600; 
}

.status-button { 
    flex: 0 0 28%; 
    text-align: right; 
}

.breakdown-btn {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-light) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.breakdown-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* ===============================================
   GRAFY A TABUĽKY
   =============================================== */

.chart-wrapper {
    background: var(--card-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    margin: 30px auto 50px auto;
    max-width: 1000px;
    box-shadow: var(--shadow-md);
}

.chart-canvas { 
    position: relative; 
    height: 420px; 
}

.comparison-section, 
.vignette-section {
    background: var(--card-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.section-header {
    background: linear-gradient(135deg, var(--background-light) 0%, #E2E8F0 100%);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-light);
}

.section-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}

.section-header p {
    margin: 8px 0 0 0;
    font-size: 0.9em;
    color: var(--text-gray);
    font-style: italic;
}

.table-container { 
    overflow-x: auto; 
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.modern-table th {
    background: var(--text-dark);
    color: white;
    font-weight: 600;
    padding: 16px 12px;
    text-align: center;
    font-size: 0.9em;
    text-transform: uppercase;
}

.modern-table th:first-child { 
    text-align: left; 
}

.modern-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95em;
    vertical-align: middle;
}

.modern-table td:first-child {
    font-weight: 600;
    text-align: left;
    padding-left: 20px;
}

.modern-table tr:hover { 
    background: rgba(27, 202, 255, 0.05); 
}

.saving {
    color: var(--success);
    font-weight: 700;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.extra-cost {
    color: var(--danger);
    font-weight: 700;
    background-color: rgba(239, 68, 68, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* ===============================================
   NÁSTROJE A KALKULAČKY
   =============================================== */

.dual-tools-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto 50px auto;
}

.tool-half {
    background: var(--card-white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.tool-half h2 {
    margin: 0 0 16px 0;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
}

.tool-half p { 
    color: var(--text-gray); 
    margin-bottom: 24px; 
}

.tool-link {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-light) 100%);
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: white;
}

.tool-link.electric { 
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%); 
}

/* ===============================================
   PROGNÓZA A INDIKÁTORY
   =============================================== */

.forecast-indicator {
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #DEF7EC 0%, #10B981 100%);
    border: 1px solid #10B981;
}

.forecast-info { 
    font-size: 0.85em; 
    color: var(--text-gray); 
    margin-bottom: 12px; 
}

.forecast-disclaimer {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    padding: 10px;
    margin-top: 12px;
}

.forecast-disclaimer small { 
    color: #92400E; 
    font-size: 0.75em; 
}

.dalnicne-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-light) 100%);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85em;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.dalnicne-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* ===============================================
   NEWSLETTER SEKCIA
   =============================================== */

.newsletter-section {
    background: var(--card-white);
    border-radius: 16px;
    padding: 32px;
    margin: 50px auto;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.newsletter-section h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    text-align: left;
}

.newsletter-section p {
    color: var(--text-gray);
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto 24px auto;
    text-align: left;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 16px auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-light) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.newsletter-disclaimer {
    font-size: 0.85em;
    color: var(--text-light);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

/* ===============================================
   FOOTER
   =============================================== */

footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0F172A 100%);
    color: white;
    text-align: center;
    padding: 32px 20px;
}

.site-footer {
    background-color: #1E293B;
    color: #94A3B8;
    padding: 40px 20px 20px 20px;
    margin-top: 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #334155;
    grid-template-columns: 1fr;
}

.footer-column h4 {
    color: #FFFFFF;
    margin: 0 0 15px 0;
    font-size: 1.1em;
}

.footer-logo {
    font-size: 1.9em;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px 0;
}

.footer-logo .logo-accent {
    color: #1BCAFF;
}

.about-column p {
    margin: 0 0 20px 0;
    line-height: 1.7;
    max-width: 350px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: #94A3B8;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-bottom a {
    color: #94A3B8;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===============================================
   RESPONZÍVNE ŠTÝLY
   =============================================== */

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav { 
        display: none; 
    }
    
    .mobile-menu { 
        display: block; 
    }
    
    .dual-tools-section { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .status-section { 
        flex-direction: column; 
        gap: 12px; 
        text-align: center; 
    }
    
    .status-text, 
    .status-button { 
        flex: none; 
    }
    
    .status-button { 
        text-align: center; 
    }
    
    .newsletter-form { 
        flex-direction: column; 
        max-width: 100%; 
    }
    
    .newsletter-section { 
        padding: 24px 20px; 
    }
    
    h1 { 
        font-size: 2em; 
    }
    
    .price-cards { 
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
    }
    
    .card {
        padding: 20px 8px;
    }
}

@media (min-width: 769px) {
    .mobile-menu { 
        display: none !important; 
    }
    
    .desktop-nav { 
        display: flex; 
    }
}

/* ===============================================
   DOPLŇUJÚCE ŠTÝLY PRE ŠPECIFICKÉ STRÁNKY
   =============================================== */

.special-info {
    font-weight: 600;
    color: #38A169;
}

.special-info-free {
    font-weight: 600;
    color: #4A5568;
}

.disclaimer-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 0.9em;
    color: #4A5568;
}

.disclaimer-box p {
    margin: 0;
}

.disclaimer-box p:not(:last-child) {
    margin-bottom: 10px;
}

/* Opravy pre cenové karty na mobiloch */
@media (max-width: 480px) {
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .card .price {
        font-size: 2em;
    }
}

/* ===============================================
   KONIEC ŠTÝLOV
   =============================================== */
