/* ============================================
   HODINOVÝ MANŽEL – PETER | style.css
   ============================================ */

/* ============================================
   CUSTOM CURSOR
   ============================================ */

@media (hover: hover) {
  * { cursor: none !important; }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: opacity .3s;
  }

  /* Small precise dot */
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin: -3px 0 0 -3px;
  }

  /* Lagging ring */
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(232,160,32,.5);
    border-radius: 50%;
    margin: -16px 0 0 -16px;
    transition: width .2s, height .2s, margin .2s, border-color .2s, opacity .3s;
  }

  /* Hover: ring expands, dot shrinks */
  .cursor-ring.hovered {
    width: 48px; height: 48px;
    margin: -24px 0 0 -24px;
    border-color: var(--accent);
  }

  .cursor-dot.hovered {
    transform: scale(0) !important;
  }

  /* Click: ring contracts */
  .cursor-ring.clicking {
    width: 20px; height: 20px;
    margin: -10px 0 0 -10px;
    border-color: var(--accent);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1c1c1c;
  --accent: #e8a020;
  --accent-dark: #c4841a;
  --text-primary: #ffffff;
  --text-muted: #b0b0b0;
  --border: #2e2e2e;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.3s ease;
  --radius: 4px;
  --max-w: 1120px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   HEADER
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-group img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
}

.logo-text span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 0;
}

nav a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

nav a.active {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 0;
    gap: 0;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 14px 24px;
    font-size: 14px;
    width: 100%;
  }

  nav a::after {
    display: none;
  }

  nav a.active {
    border-left: 3px solid var(--accent);
    padding-left: 21px;
  }

  .logo-text {
    font-size: 11px;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  margin-top: auto;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-inner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-inner a {
  color: var(--accent);
  transition: color var(--transition);
}

.footer-inner a:hover {
  color: var(--accent-dark);
}

/* ============================================
   SCROLL-REVEAL ANIMATION
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.slide-left {
  transform: translateX(-32px);
}

.reveal.slide-right {
  transform: translateX(32px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 20px 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 160, 32, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   GRID
   ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 56px 0;
  }
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner .cta-phone {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.cta-banner .cta-phone:hover {
  color: var(--accent-dark);
}

.cta-banner .cta-email {
  font-size: 16px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.cta-banner .cta-email:hover {
  color: var(--accent);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding: 72px 0 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label {
  margin-bottom: 10px;
}

/* ============================================
   LIST STYLES
   ============================================ */

.styled-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.styled-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.styled-list li .list-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

/* ============================================
   MAIN
   ============================================ */

main {
  flex: 1;
}
