/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #222; background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== VARIABLES ===== */
:root {
  --navy: #1a6eb5;
  --blue: #1a6eb5;
  --light-blue: #e8f1fb;
  --white: #ffffff;
  --gray: #f5f6f8;
  --text: #333;
  --text-light: #666;
}

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--blue);
  backdrop-filter: none;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, backdrop-filter 0.3s;
}
header.scrolled {
  background: rgba(26, 111, 181, 0.65);
  backdrop-filter: blur(8px);
}
header .logo img { height: 58px; width: auto; }
nav { display: flex; align-items: center; gap: 36px; }
nav a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
nav a:hover, nav a.active { color: #fff; }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 9px 22px; border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #1559a0 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  height: 100vh; min-height: 600px;
  background: url('../images/prodejna3.jpg') center center / cover no-repeat;
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,34,64,0.7) 0%, rgba(13,34,64,0.5) 60%, rgba(13,34,64,0.75) 100%);
}
.hero-content { position: relative; z-index: 1; color: #fff; padding: 0 20px; max-width: 800px; }
.hero-subtitle { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: #fff; padding: 14px 32px; border-radius: 4px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: #1559a0; transform: translateY(-1px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: #fff; padding: 12px 32px; border-radius: 4px; font-weight: 600; font-size: 0.95rem; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.scroll-down { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-down::after { content: ''; display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.4); }

/* ===== SECTIONS ===== */
section { padding: 90px 5%; }
.section-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--gray); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
a.service-card { color: inherit; cursor: pointer; }
.service-card > img { width: 100%; height: 220px; object-fit: cover; }
.service-icon { width: 110px; height: 110px; object-fit: contain; position: absolute; bottom: 12px; right: 16px; opacity: 0.9; }
.service-card-body { padding: 28px; }
.service-icon { width: 110px; height: 110px; object-fit: contain; position: absolute; bottom: 12px; right: 16px; opacity: 0.9; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }

/* ===== ABOUT ===== */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; }
.about-img-main { width: 100%; border-radius: 8px; height: 480px; object-fit: cover; }
.about-img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 55%; height: 220px; object-fit: cover;
  border-radius: 8px; border: 6px solid #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.about-text .section-subtitle { margin-bottom: 28px; }
.about-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid #eee; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* ===== ADVANTAGES ===== */
.advantages { background: var(--navy); padding: 40px 5%; }
.advantages .section-label { color: #7ab3e0; }
.advantages .section-title { color: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.adv-card { padding: 20px 28px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; transition: background 0.2s; text-align: center; }
.adv-card:hover { background: rgba(255,255,255,0.05); }
.adv-icon { width: 60px; height: 60px; margin: 0 auto 14px; }
.adv-icon img { width: 100%; height: 100%; object-fit: contain; }
.adv-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.adv-card p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.65; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--light-blue); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: #fff; padding: 36px; border-radius: 8px; box-shadow: 0 2px 16px rgba(0,0,0,0.05); }
.testimonial-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.quote-mark { font-size: 3rem; color: var(--blue); line-height: 0.8; font-family: Georgia, serif; }
.stars { color: #fbbc04; font-size: 1.3rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 1rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.author-name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: url('../images/prodejna.jpg') center / cover no-repeat;
  position: relative; text-align: center;
  padding: 100px 5%;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: rgba(13,34,64,0.82); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: #fff; font-weight: 700; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 520px; margin: 0 auto 36px; }

/* ===== CONTACT ===== */
.contact { background: var(--gray); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h2 { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item-icon { width: 44px; height: 44px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.contact-item-text span { color: var(--navy); font-weight: 500; }
.map-container { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== FOOTER ===== */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 40px 5%; text-align: center; }
footer img { height: 36px; margin: 0 auto 16px; opacity: 0.8; }
footer p { font-size: 0.88rem; }
.footer-links { margin-top: 12px; font-size: 0.85rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.footer-links a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-img-accent { display: none; }
  .advantages-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 700px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy); padding: 24px 5%; gap: 20px; }
  .hamburger { display: flex; }
  .about-stats { flex-direction: column; gap: 20px; }
  section { padding: 64px 5%; }
}
