/* Sargon Security — finální verze */
:root {
    --bg: #0d0f0e;
    --surface: #171a18;
    --surface-2: #1f2321;
    --border: #2a2e2b;
    --text: #f4f4f2;
    --text-dim: #9aa09c;
    --amber: #e67e22;
    --amber-dim: #cf6e1b;
    --green: #3ecf6e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; }

::selection { background: var(--amber); color: #000; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Navigace */
header {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(6px);
    padding: 14px 0;
    border-bottom: 2px solid var(--amber);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-family: 'Oswald', sans-serif; font-size: 1.6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.logo span { color: var(--amber); }

nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 24px; }
nav ul li a { text-decoration: none; font-weight: 500; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; transition: color 0.2s; }
nav ul li a:hover { color: var(--amber); }
.nav-btn { background: var(--amber); padding: 9px 18px; border-radius: 4px; color: #000 !important; }
.nav-btn:hover { background: var(--amber-dim); color: #000 !important; }

.header-call { display: none; color: var(--amber); align-items: center; }

#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none; border: none; cursor: pointer;
}
#nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); transition: 0.25s; }
#nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
#hero {
    min-height: 82vh;
    background:
        linear-gradient(rgba(13,15,14,0.78), rgba(13,15,14,0.9)),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.hero-content { max-width: 640px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--green);
    background: rgba(62,207,110,0.08);
    border: 1px solid rgba(62,207,110,0.35);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.status-pill .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(62,207,110,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(62,207,110,0.55); }
    70% { box-shadow: 0 0 0 8px rgba(62,207,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(62,207,110,0); }
}

#hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 3.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
}
#hero p { margin-top: 16px; font-size: 1.15rem; color: var(--text-dim); }

.hero-actions { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-button, .cta-secondary {
    display: inline-block;
    padding: 15px 32px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: 0.25s;
    font-size: 0.95rem;
}
.cta-button { background: var(--amber); color: #000; border: 1px solid var(--amber); }
.cta-button:hover { background: var(--amber-dim); transform: translateY(-2px); }
.cta-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.cta-secondary:hover { border-color: var(--amber); color: var(--amber); }
.cta-button.small, .cta-secondary.small { padding: 11px 22px; font-size: 0.85rem; }

/* Sections generic */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title.left { text-align: left; margin-left: 0; }

/* Služby - viewfinder cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding-bottom: 80px; }

.service-card {
    position: relative;
    background: var(--surface);
    padding: 42px 32px 32px;
    border-radius: 4px;
    transition: 0.3s;
}
.service-card::before, .service-card::after,
.service-card .frame-tag::before, .service-card .frame-tag::after { content: ""; }

/* corner brackets */
.service-card { border: 1px solid transparent; }
.service-card {
    background-image:
        linear-gradient(var(--surface), var(--surface)),
        linear-gradient(var(--surface), var(--surface));
    background-clip: padding-box;
}
.service-card {
    box-shadow:
        inset 0 0 0 1px var(--border);
}
.service-card::before {
    position: absolute; top: 10px; left: 10px; width: 16px; height: 16px;
    border-top: 2px solid var(--amber); border-left: 2px solid var(--amber);
}
.service-card::after {
    position: absolute; bottom: 10px; right: 10px; width: 16px; height: 16px;
    border-bottom: 2px solid var(--amber); border-right: 2px solid var(--amber);
}
.service-card:hover { background: var(--surface-2); transform: translateY(-4px); }

.frame-tag {
    position: absolute; top: 16px; right: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}
.card-icon { color: var(--amber); margin-bottom: 18px; }
.service-card h3 { font-family: 'Oswald', sans-serif; font-weight: 600; margin-bottom: 12px; font-size: 1.25rem; }
.service-card p { color: var(--text-dim); font-size: 0.95rem; }

/* O nas */
#o-nas { background: var(--surface); padding: 70px 0; }
.o-nas-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.o-nas-text p { color: var(--text-dim); margin-bottom: 16px; max-width: 46ch; }
.o-nas-readout {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 24px;
}
.readout-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
}
.readout-row:last-child { border-bottom: none; }
.readout-label { color: var(--text-dim); letter-spacing: 0.5px; }
.readout-value { color: var(--amber); font-weight: 500; }

/* Kontakt */
#kontakt { padding: 80px 0 90px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
}
.contact-box .company-name { font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--amber); margin-bottom: 10px; }
.contact-box p { margin-bottom: 6px; color: var(--text-dim); }
.contact-box a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.contact-box a:hover { color: var(--amber); border-color: var(--amber); }
.contact-box hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.contact-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.map-box { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); min-height: 260px; }
.map-box iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* Floating call button (mobile) */
.floating-call {
    display: none;
    position: fixed; bottom: 20px; right: 20px;
    width: 54px; height: 54px;
    background: var(--amber);
    color: #000;
    border-radius: 50%;
    align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    z-index: 90;
}

footer { text-align: center; padding: 30px; background: #000; color: #666; font-size: 0.85rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 860px) {
    .o-nas-grid { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 2.4rem; }
    #hero { background-attachment: scroll; }

    nav {
        position: fixed; top: 61px; left: 0; right: 0;
        background: rgba(0,0,0,0.97);
        border-bottom: 2px solid var(--amber);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    nav.open { max-height: 300px; }
    nav ul { flex-direction: column; align-items: flex-start; padding: 10px 20px 20px; }
    nav ul li { margin: 10px 0; }

    #nav-toggle { display: flex; }
    .header-call { display: none; }
    .floating-call { display: flex; }
}
