﻿/* assets/css/style.css
   ========================================================
   PROFESIONÁLNY ŠTÝL PRE technika.sk
   Moderný, čistý, responzívny dizajn
   ======================================================== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a2e;
    background: #f0f2f5;
}

a {
    color: #004080;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #0066cc;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    margin: 25px 0;
    border: 0;
    border-top: 2px solid #e0e5ec;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== WRAP ===== */
#wrap {
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

/* ===== HEADER ===== */
#main-header {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: #fff;
    padding: 18px 0 12px;
    border-bottom: 4px solid #ffc72a;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#logo img {
    display: block;
    max-height: 80px;
    width: auto;
}

#header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

#slogan img {
    display: block;
    max-height: 40px;
    width: auto;
}

#lang-switcher {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
#lang-switcher span {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.7);
}
#lang-switcher a {
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}
#lang-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}
#lang-switcher a.active {
    background: #ffc72a;
    color: #001a33;
}

#main-header h2 {
    font-size: 18px;
    font-weight: 300;
    margin-top: 10px;
    color: #8ab8ff;
    letter-spacing: 0.5px;
}

/* ===== NAVIGATION ===== */
#main-nav {
    background: #002244;
    border-bottom: 2px solid #003366;
    position: sticky;
    top: 0;
    z-index: 100;
}

#nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 12px 18px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
}
#nav-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

#nav-list {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}
#nav-list li {
    flex: 1;
    text-align: center;
    position: relative;
}
#nav-list li a {
    display: block;
    padding: 16px 12px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    position: relative;
}
#nav-list li a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}
#nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #ffc72a;
    transition: width 0.3s ease;
}
#nav-list li a:hover::after {
    width: 60%;
}
#nav-list li a .small {
    display: block;
    font-size: 10px;
    font-weight: 300;
    text-transform: none;
    opacity: 0.7;
    letter-spacing: 0;
}

/* ===== MAIN LAYOUT ===== */
#main-content {
    padding: 30px 0;
}

.content-flex {
    display: flex;
    gap: 35px;
}

/* ===== LEFT COLUMN ===== */
#left-col {
    flex: 0 0 260px;
    min-width: 220px;
}

#left-col .block {
    background: #f8faff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #e8edf5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#left-col .block hr {
    margin: 16px 0;
}

#left-col .block p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

#left-col .block strong {
    color: #003366;
}

#profile3 img {
    margin: 10px 0;
    border-radius: 8px;
}

/* ===== RIGHT COLUMN ===== */
#right-col {
    flex: 1;
    min-width: 0;
}

#contentarea {
    background: #fff;
    padding: 5px 0;
}

#contentarea h1 {
    font-size: 28px;
    color: #001a33;
    margin-bottom: 24px;
    border-bottom: 4px solid #ffc72a;
    padding-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#contentarea h2 {
    font-size: 22px;
    color: #003366;
    margin: 28px 0 16px;
    font-weight: 600;
}

#contentarea h3 {
    font-size: 18px;
    color: #003366;
    margin: 22px 0 12px;
    font-weight: 600;
}

#contentarea p {
    margin-bottom: 18px;
    color: #2d2d44;
}

#contentarea .floatright {
    float: right;
    margin: 0 0 16px 24px;
    border: 1px solid #e8edf5;
    padding: 6px;
    background: #fafcff;
    border-radius: 10px;
    max-width: 45%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}
#contentarea .floatright:hover {
    transform: scale(1.02);
}

/* ===== SLIDER ===== */
#slider {
    margin-bottom: 28px;
}
#coin-slider {
    background: #eef2f7;
    padding: 6px;
    border-radius: 12px;
    display: flex;
    gap: 6px;
    overflow: hidden;
}
#coin-slider img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    flex: 1;
    transition: transform 0.4s ease;
}
#coin-slider img:hover {
    transform: scale(1.02);
}

/* ===== PRICING TABLE ===== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.pricing-table th {
    background: #003366;
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
}
.pricing-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e8edf5;
}
.pricing-table tr:nth-child(even) {
    background: #f8faff;
}
.pricing-table tr:hover {
    background: #eaf0fa;
}

/* ===== SPACER ===== */
#spacer {
    clear: both;
    height: 15px;
}

/* ===== FOOTER ===== */
#main-footer {
    background: linear-gradient(135deg, #001a33 0%, #002244 100%);
    color: #fff;
    padding: 30px 0 20px;
    border-top: 4px solid #ffc72a;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-left p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

#footer-center p {
    font-size: 14px;
    text-align: center;
    line-height: 1.7;
    opacity: 0.9;
}

#footer-social a {
    display: inline-block;
    margin-left: 12px;
    transition: transform 0.2s ease;
}
#footer-social a:hover {
    transform: translateY(-3px);
}
#footer-social img {
    vertical-align: middle;
    border-radius: 6px;
}

/* ===== FOOTER BOTTOM ===== */
#footer-bottom {
    background: #00112a;
    color: #8899bb;
    padding: 16px 0;
    font-size: 13px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#footer-bottom a {
    color: #66aadd;
}
#footer-bottom a:hover {
    color: #ffc72a;
}

/* ========================================================
   RESPONZÍVNE ÚPRAVY
   ======================================================== */

@media (max-width: 992px) {
    .content-flex {
        flex-direction: column;
    }
    #left-col {
        flex: 1 1 auto;
        width: 100%;
    }
    #left-col .block {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    #nav-toggle {
        display: block;
    }
    #nav-list {
        display: none;
        flex-direction: column;
        background: #001a33;
        width: 100%;
    }
    #nav-list.open {
        display: flex;
    }
    #nav-list li {
        flex: none;
        border-bottom: 1px solid #003366;
    }
    #nav-list li a {
        padding: 14px 20px;
        text-align: left;
        font-size: 13px;
    }
    #nav-list li a::after {
        display: none;
    }
    #nav-list li a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .header-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    #header-right {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #main-header h2 {
        font-size: 15px;
    }

    #contentarea h1 {
        font-size: 22px;
    }

    .footer-flex,
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }

    #contentarea .floatright {
        float: none;
        display: block;
        margin: 12px auto;
        text-align: center;
        max-width: 100%;
    }

    .pricing-table {
        font-size: 12px;
    }
    .pricing-table th,
    .pricing-table td {
        padding: 8px 10px;
    }
    
    #coin-slider {
        flex-direction: column;
    }

    #footer-social {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    #lang-switcher {
        font-size: 12px;
        padding: 4px 12px;
    }
    #lang-switcher a {
        padding: 2px 8px;
        font-size: 11px;
    }
    #slogan img {
        max-width: 160px;
        height: auto;
    }
    #logo img {
        max-width: 120px;
        height: auto;
    }

    #contentarea h1 {
        font-size: 19px;
    }
    #contentarea h2 {
        font-size: 17px;
    }
    #contentarea p {
        font-size: 14px;
    }
}

/* ========================================================
   POMOCNÉ TRIEDY
   ======================================================== */
.smaller {
    font-size: 0.85rem !important;
}

.special-span {
    font-size: 2rem;
    line-height: 1.3;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========================================================
   ŠPECIÁLNE ÚPRAVY PRE KONTAKTNÝ FORMULÁR
   ======================================================== */
.contact-form {
    background: #f8faff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e8edf5;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #003366;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e5ec;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
    outline: none;
}

.contact-form button {
    background: linear-gradient(135deg, #003366, #004d99);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.4);
}

/* ========================================================
   ŠPECIÁLNE ÚPRAVY PRE 24/7 OCHRANU
   ======================================================== */
.benefit-box {
    background: #f0f7ff;
    border-left: 4px solid #ffc72a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.benefit-box h3 {
    color: #003366;
    margin-top: 0;
}

.tech-card {
    background: #f8faff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e8edf5;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* ========================================================
   ANIMÁCIE
   ======================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }