/* ==========================================================================
   site.css — FINAL UNIFIED VERSION WITH FOOTER
   ========================================================================== */

/* --- FONTS --- */
/* noto-serif-regular - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-serif-regular.woff2') format('woff2'); 
}
/* noto-serif-700 - latin_latin-ext */
@font-face {
  font-display: swap; 
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/noto-serif-700.woff2') format('woff2'); 
}

:root {
  /* --- 1. GLOBAL SETTINGS --- */
  --wrap: 1100px;
  --bg: #ffffff;
  --text-main: #333333;
  --surface: #233973;          /* Main Blue */
  --surface-light: #D7E3F7;    /* Main Blue */
  --text-on-surface: #ffffff;
  
  /* --- 2. NAVIGATION --- */
  --nav-height: 100px;
  --nav-link: #E8EEF7; 
  --nav-bg-hover: #6C86C1; 
  --nav-link-hover: #ffffff;
  --menu-text: #233973;
  
  /* --- 3. LINKS --- */
  --text-link: #1F5CE0;      
  --text-link-hover: #3A61C1;
  
  /* --- 4. BUTTONS --- */
  --btn-dur: 0.3s;
  --btn-ease: ease;
  --btn-lift: translateY(-2px);
  --error-color: #dd0000;
  --form-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);

  /* --- 5. FOOTER SETTINGS --- */
  --footer-bg: #F2F0ED;        
  --footer-text: #333;
  --footer-link: #1F5CE0;      
  --footer-link-hover: #3A61C1;
  --bsky-color: #3A61C1;       
  --icon-size: 24px;

  /* --- 6. OVERLAYS & MOTION --- */
  --drawer-w: 320px;
  --scrim: rgba(0,0,0,0.5);
  --dur: 250ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE REPAIR --- */
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text-main); font-family: sans-serif; line-height: 1.6; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-size: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* --- TYPOGRAPHY CONSOLIDATION --- */
h1, h2, h3 { 
  font-family: "Noto Serif", serif; 
  font-weight: 700; 
  text-transform: uppercase; 
}

h1 { font-size: 3rem; margin: 3rem 0 2rem; line-height: 1.2; color: var(--surface); }
h1.smaller { font-size: 2.4rem; }
h2 { font-size: 2rem; margin: 1rem 0 0.3rem; color: var(--surface); }
h3 { font-size: 1.5rem; margin: 0.2rem 0; color: #ee6600; }

header.hero h1 { margin-top: 1rem; }

/* --- RESPONSIVE TYPOGRAPHY --- */
@media (max-width: 980px) {
  h1, header.hero h1 { font-size: 2.1rem; margin: 2.1rem 0 1.5rem; }
  header.hero h1 { margin-top: 0.9rem; }
  h1.smaller { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; margin: 0.9rem 0 0.2rem; }
  h3 { font-size: 1.2rem; }
}

@media (max-width: 600px) {
  h1, header.hero h1 { font-size: 1.8rem; margin: 1.8rem 0 1rem; }
  header.hero h1 { margin-top: 0.8rem; margin-bottom: 1.3rem; }
  h1.smaller { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; margin: 0.8rem 0 0.2rem; }
  h3 { font-size: 1.1rem; }
}

/* --- LINKS & UTILS --- */
a { color: var(--text-link); text-decoration: none; transition: 0.2s; }
a:hover, a:active { text-decoration: underline; color: var(--text-link-hover); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

.u-lnk { unicode-bidi: bidi-override; direction: rtl; cursor: pointer; color: var(--text-link); text-decoration: none; }
.u-lnk:hover { color: var(--text-link-hover); text-decoration: underline; }

/* --- NAVIGATION --- */
nav.topnav { background: var(--surface); height: var(--nav-height); width: 100%; position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; }
.nav-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 100px; width: auto; display: block; }

.navlinks { display: flex; gap: 11px; }
.navlinks .pseudo.button { color: var(--nav-link); text-decoration: none; font-weight: 600; padding: 6px 10px; }
.navlinks .pseudo.button:hover { color: var(--nav-link-hover); background: rgba(255,255,255,0.2); border-radius: 0px; border-bottom: 3px #fff; }

.skip-link { position: absolute; top: 0; left: 16px; transform: translateY(-100%); background: #111; color: #fff; padding: 10px 20px; z-index: 9999; text-decoration: none; transition: transform 0.2s; }
.skip-link:focus { transform: translateY(0); }

/* Burger & Mobile Logic */
.navbtn { display: none; align-items: center; cursor: pointer; color: #fff; z-index: 1005; }
.navbtn__icon { width: 28px; height: 28px; stroke: currentColor; }
.navchk { position: fixed; opacity: 0; pointer-events: none; }
.navmenu { position: fixed; background: #fff; visibility: hidden; opacity: 0; z-index: 1100; display: flex; flex-direction: column; padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); transition: all var(--dur) var(--ease); }
.navitem { display: block; padding: 16px; text-decoration: none; color: var(--menu-text); font-weight: 600; border-bottom: 1px solid #eee; }

[data-navmode="dropdown"] .navmenu { top: var(--nav-height); left: 0; right: 0; transform: translateY(-10px); }
[data-navmode="drawer"] .navmenu { top: 0; right: 0; bottom: 0; width: var(--drawer-w); height: 100vh; transform: translateX(100%); }
.navchk:checked ~ .navmenu { visibility: visible; opacity: 1; transform: translate(0) !important; pointer-events: auto; }
.navscrim { display: none; position: fixed; inset: 0; background: var(--scrim); z-index: 1050; }
.navchk:checked ~ .navscrim { display: block; }

/* --- HERO --- */
header.hero { padding: 30px 0; color: #111; width: 100%; min-height: 50vh; background-color: var(--surface-light); }

/* --- HOME & COUNTDOWN --- */
#countdown-container { display: flex; gap: 10px; font-family: sans-serif; padding-bottom: 50px; }
.time-block { background: #233973; color: white; width: 100px; aspect-ratio: 1/1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 7px; }
.time-block span { font-size: 2rem; font-weight: bold; }
.time-block .label { font-size: 0.8rem; text-transform: uppercase; margin-top: 5px; opacity: 0.7; }

.bckgrnd { background-image: url('/assets/img/friends-bg-large.webp'); background-position: 100% 100%; background-repeat: no-repeat; background-size: 440px 440px; margin-bottom: -30px; }

@media (max-width: 1200px) { .bckgrnd { background-size: 380px 380px; } }
@media (max-width: 1000px) { .bckgrnd { background-size: 330px 330px; } }
@media (max-width: 780px) { .bckgrnd { background-image: none; background: #fff; } }

/* --- TESTIMONIAL SLIDER --- */
.testimonial-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 2);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 20px;
}
.testimonial-slider::-webkit-scrollbar { height: 14px; }
.testimonial-slider::-webkit-scrollbar-track { background: var(--surface-light-alt, #e9ecef); border-radius: 18px; }
.testimonial-slider::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 18px; }
.testimonial-slider::-webkit-scrollbar-thumb:hover { background: #ff5500; }

.testimonial-item {
  margin: 0; padding: 34px 20px; background-color: rgba(255, 255, 255, 0.9); border-radius: 8px; text-align: center; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; align-items: center; scroll-snap-align: start;
}
.testimonial-item img { border-radius: 50%; width: 150px; height: 150px; object-fit: cover; margin-bottom: 15px; border: 2px solid white; transition: transform 0.3s ease; }
.testimonial-item a:hover img { border: 0px solid #fff; transform: scale(1.1); }
.testimonial-item blockquote, .testimonial-item figcaption { margin: 0; padding: 0; border: none; font-size: 1rem; line-height: 1.4; color: #333; }

@media (min-width: 768px) {
  .testimonial-slider { grid-auto-columns: calc((100% - (3 * 20px)) / 4); }
}

/* --- FAQ --- */
.faq-container { max-width: 100%; margin: 2rem auto; font-family: sans-serif; }
.faq-item { border-bottom: 7px dotted #ddd; padding: 1rem 0; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: bold; cursor: pointer; outline: none; color: var(--text-link); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 2.5rem; transition: transform 0.3s ease; color: var(--text-link); padding-left: 5rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-content { padding: 0.1rem 0.1rem 0 0; color: #555; line-height: 1.4; }
.faq-item summary:focus-visible { outline: 2px solid #007bff; outline-offset: 5px; }

/* --- CONTACT & TEAM SHARED GRID --- */
.contact-layout, .team-container { max-width: 100%; margin: 1rem 0; font-family: system-ui, sans-serif; }
.company-info { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 7px dotted #ddd; }
.company-info address { font-style: normal; line-height: 1.6; }

.contact-card, .team-card, .news-card { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.contact-image img, .team-image img, .news-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; }

@media (min-width: 500px) { .contact-card { grid-template-columns: 200px 1fr; } }
@media (min-width: 600px) { .team-card, .news-card { grid-template-columns: 250px 1fr; } }

.role, .job-title { font-size: 0.85rem; font-weight: bold; color: #ff5500; text-transform: uppercase; letter-spacing: 0.05rem;  line-height: 1;margin:0;padding:0}
.team-card { border-bottom: 7px dotted #ddd; padding-bottom: 1rem; }
.team-body h2, .contact-body h2 { font-size: 1.6rem; line-height: 1; margin: 0 0 0.8rem 0; padding:0}
.contact-body p, .team-body p { font-size: 1.2rem; color: #333; margin-bottom: 1.5rem; }

.contact-link { display: inline-block; padding: 0.5rem 1rem; background-color: #007bff; border: 1px solid #007bff; border-radius: 3px; color: #eee; font-size: 0.9rem; transition: all 0.2s ease; }
.contact-link:hover { background-color: #ff6600; color: white; border-color: #ff6600; }

.text-truncate { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; position: relative; padding-right: 1ch; }

/* --- PERSON PAGE --- */
.person-container { padding: 0; margin: 2rem 0; }
.person-card { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .person-card { grid-template-columns: 4fr 6fr; align-items: start; } }

.job-tag { display: block; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.05rem; color: #ff5500; margin: 0.5rem 0 0; line-height: 1.1; font-family: arial, sans-serif; }
@media (max-width: 900px) { .job-tag { font-size: 1rem; } }

.person-header h1 { line-height: 1.1; margin: 0 0 0.8rem; }
.person-text { line-height: 1.4; font-size: 1.2rem; color: #333; margin-top: -1rem; }
.person-image img { width: 100%; height: auto; aspect-ratio: 780 / 850; object-fit: cover; border-radius: 8px; border: 1px solid #dddddd; }

/* --- NEWS FEED --- */
.news-feed { max-width: 800px; margin: 2rem auto; padding: 0 1rem; font-family: system-ui, sans-serif; }
.news-body time { font-size: 0.85rem; line-height: 1; color: #666; text-transform: uppercase; letter-spacing: 0.05rem; }
.news-body h2 { font-size: 1.5rem; line-height: 1; margin: 0 0 0.7rem; }
.news-body p { line-height: 1.6; color: #444; margin-bottom: 1rem; }
.read-more { font-weight: bold; }

/* --- CALL TO ACTION & BUTTONS --- */
.call-to-action { background: #F2F0ED; padding: 50px 0; }
@media (min-width: 1365px) { .call-to-action { background-attachment: fixed; } }
.call-to-action h3 { color: var(--surface); font-size: 28px; }











/* ==========================================================================
   CONSOLIDATED BUTTONS & FORMS
   ========================================================================== */

section.get-a-quote {
background:#F2F0ED;
margin-bottom:50px;
padding:25px 20px 25px 20px;
border-left: 8px dotted #fff;
margin-left:-4px;clip-path: inset(0 0 0 3px);
border-radius: 20px	
}


/* --- 2. BUTTON SYSTEM (Consolidated) --- */

/* Base Logic for ALL Buttons: Handles height, hover motion, and transitions */
.btn, .btn-xlarge, .btn-x2large, .btn-x3large, button {
  display: inline-block;
  font-weight: bold;

  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--btn-dur) var(--btn-ease), 
              border-color var(--btn-dur) var(--btn-ease), 
              transform 0.2s ease;
  text-align: center;
  line-height: 1.3;
  border-radius: 8px;
  margin-top: 3px;
}

/* Global Hover Effect: Lift up on mouseover */
.btn:hover, .btn-xlarge:hover, .btn-x2large:hover, .btn-x3large:hover, button:hover {
  transform: var(--btn-lift);
  outline: none;
}

/* Standard Gray Button */
.btn {
  padding: 21px 26px;
  font-size: 21px;
  background-color: #9E9D9A !important;
  border-color: #9E9D9A !important;
  color: #fff !important;

}
.btn:hover {
  background-color: #6B6A68 !important;
  border-color: #6B6A68 !important;
}

/* Large Icon Buttons Shared Base */
.btn-xlarge, .btn-x2large, .btn-x3large {
  padding: 21px 34px 21px 64px;
  font-size: 21px;
  width: 13em;
  background-repeat: no-repeat;
  background-position: 0px -7px;
  background-size: 70px 73px;
  color: #fff !important;
  
}

/* Blue (Tick) Button */
.btn-xlarge {
  background-image: url('/assets/img/tick.png');
  background-color: #066cd3;
  border-color: #066cd3;
}
.btn-xlarge:hover {
  background-color: var(--surface, #233973);
  border-color: var(--surface, #233973);
}

/* Orange Buttons (Mail & Download) */
.btn-x2large, .btn-x3large {
  background-color: #ff6600;
  border-color: #ff6600;
}
.btn-x2large:hover, .btn-x3large:hover {
  background-color: #ee3311;
  border-color: #ee3311;
  text-decoration:underline;
}

/* Specific Icon Assignment */
.btn-x2large { background-image: url('/assets/img/mail.png'); }
.btn-x3large { background-image: url('/assets/img/download.png'); }

/* Mobile Optimization for Form Buttons */
@media (max-width: 799px) {
  .btn-x2large {
    background-image: none !important;
    background-size: 0;
    padding: 20px !important;
    width: 100%; /* Better UX for mobile forms */
  }
}

/* --- 3. FORM SYSTEM --- */

/* Responsive Form Group Padding */
.form-group { padding: 2px 3px; }
@media (min-width: 800px)  { .form-group { padding: 2px 120px 2px 30px; } }
@media (min-width: 1100px) { .form-group { padding: 2px 250px 2px 50px; } }
@media (min-width: 1400px) { .form-group { padding: 2px 320px 2px 60px; } }

/* Base Input Styles (Accessible 16px font to prevent iOS zoom) */
.form-control, input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem; 
  font-family: inherit;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}

/* Focus States */
.form-control:focus, select:focus, textarea:focus {
  border-color: #86b7fe;
  box-shadow: var(--form-focus-shadow);
  outline: 0;
}

/* Custom Select Arrow */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.25rem;
}

textarea.form-control { min-height: 100px; resize: vertical; }

/* Readonly/Disabled */
.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  cursor: not-allowed;
}

/* --- 4. FEEDBACK & ALERTS --- */

.status-valid, .status-error { padding: 15px; border-radius: 4px; margin-bottom: 1rem; border: 1px solid; }
.status-valid { background-color: #d4edda; color: #155724; border-color: #c3e6cb; }
.status-error { background-color: #f8d7da; color: #721c24; border-color: #f5c6cb; }

.hvezdicka { color: #ff0000; font-size: 1.5em; } /* Required field asterisk */
.text-danger { color: var(--error-color); font-weight: bold; line-height: 1; padding: 3px 0 0 0; margin-top: 3px; }
.chytak { display: none !important; } /* Honeypot field */













/* --- WHATSAPP & FLOATING --- */
.whatsapp-link {
    position: fixed; bottom: 20px; right: 20px; background-color: #25D366; color: white;
    padding: 10px 20px; border-radius: 50px; display: flex; align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; transition: transform 0.3s ease;
}
.whatsapp-link:hover { transform: scale(1.05); background-color: var(--surface); color: #fff; }
.whatsapp-link svg { margin-right: 10px; }

@media (max-width: 480px) {
    .link-text { display: none; }
    .whatsapp-link { padding: 12px; border-radius: 50%; }
    .whatsapp-link svg { margin-right: 0; }
}

/* --- FOOTER --- */
.footer { background: var(--footer-bg); padding: 10px 0 20px; border-top: 1px solid #eee; font-size: 15px; }
.footer .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer h4 { color: var(--surface); margin-bottom: 10px; font-size: 1rem; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { position: relative; padding: 1px 0 1px 14px; line-height: 1.1; }
.footer li::before { content: "›"; position: absolute; left: 0; color: var(--surface); }
.footer a { color: var(--footer-link); font-weight: bold; }
.footer a:hover { color: var(--footer-link-hover); text-decoration: underline; }

.contact-item { display: flex; align-items: center; gap: 6px; }
.contact-item img { height: 1.1em; }
.contact-item img.icon { width: var(--icon-size); height: var(--icon-size); }

.bsky-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--icon-size); height: var(--icon-size); background-color: var(--bsky-color);
  border-radius: 50%; transition: transform 0.2s;
}
.bsky-icon img { width: 12px; height: 12px; filter: brightness(0) invert(1); }
.bsky-icon:hover { transform: scale(1.1); }

footer .copyright { text-align: left; margin-top: 30px; padding-top: 10px; border-top: 1px solid #eee; color: #888; font-size: 0.9rem; }

/* --- PRIVACY BANNER --- */
.privacy-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%);
    width: 90%; max-width: 600px; background: #333; color: #d0d0d0;
    padding: 11px 30px; z-index: 3000; display: flex; justify-content: space-between; align-items: center;
    border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.5s var(--transition);
}
.privacy-banner.show { transform: translateX(-50%) translateY(0); }

/* --- GLOBAL RESPONSIVE LOGIC --- */
@media (max-width: 860px) {
  .navlinks { display: none; }
  .navbtn { display: flex; }
  .footer .row { grid-template-columns: repeat(2, 1fr); }
  .footer .col-5 { grid-column: span 2; }
}

@media (max-width: 500px) {
  .footer .row { grid-template-columns: 1fr; }
  .footer .col-4, .footer .footer-contact { grid-column: span 1; }
}

@media print {
    .person-card { display: block; }
    .person-image { margin-bottom: 1rem; }
}

html.nav-open { overflow: hidden; }