/* ============================================
   WeBolt Studio — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ──────────────────────────────── */
:root {
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --mid:         #64748b;
  --light:       #f8fafc;
  --white:       #ffffff;
  --border:      #e2e8f0;

  --font:        'Inter', system-ui, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg:   0 8px 40px rgba(15,23,42,0.14);
  --transition:  0.3s ease;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark-2);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--dark-3); }

.label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,23,42,0.3);
}

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav.scrolled {
  background: rgba(15,23,42,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 10px 22px; font-size: 0.9rem; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────── */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--blue); }
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Section headers ────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--mid); }

/* ── Services cards ─────────────────────────── */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; line-height: 1.65; }

/* ── Why us ─────────────────────────────────── */
.why-us { background: var(--dark); color: var(--white); }
.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: rgba(255,255,255,0.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.why-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.why-item:hover {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.3);
}
.why-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.why-item h3 { color: var(--white); margin-bottom: 0.6rem; }
.why-item p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ── CTA section ────────────────────────────── */
.cta-section {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--blue); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer h4 { color: var(--white); font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ── Page hero (inner pages) ────────────────── */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.15rem; max-width: 560px; margin: 0 auto; }

/* ── Storitve page ──────────────────────────── */
.storitve-detail { background: var(--white); }
.storitve-list { display: flex; flex-direction: column; gap: 48px; }
.storitve-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.storitve-item:hover { box-shadow: var(--shadow); }
.storitve-item.reverse { direction: rtl; }
.storitve-item.reverse > * { direction: ltr; }
.storitve-icon {
  font-size: 4rem;
  text-align: center;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.storitve-text h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.storitve-text p { margin-bottom: 1.5rem; }
.feature-list { margin-bottom: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--dark-3);
}
.feature-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.price-hint {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ── Contact page ───────────────────────────── */
.contact-section { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; color: var(--dark); margin-bottom: 2px; }
.contact-item-text span { font-size: 0.95rem; color: var(--mid); }

/* ── Form ───────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-card h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #f0fdf4;
  border-radius: var(--radius);
  border: 1px solid #86efac;
  color: #166534;
  margin-top: 16px;
}

/* ── Landing page ───────────────────────────── */
.landing-hero {
  background: var(--dark);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.landing-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.landing-hero .container { position: relative; z-index: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.4);
  color: #93c5fd;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.landing-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.landing-hero h1 span { color: var(--blue); }
.landing-hero > .container > p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2.5rem;
}
.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 80px;
}
.countdown-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.countdown-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.offer-section { background: var(--light); }
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--dark-3);
}
.offer-list li:last-child { border-bottom: none; }
.offer-check {
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}
.price-ribbon {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.price-old {
  text-decoration: line-through;
  color: var(--mid);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.price-new {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-new sup { font-size: 1.5rem; vertical-align: top; margin-top: 0.5rem; }
.price-note { font-size: 0.9rem; color: var(--mid); margin-bottom: 1.5rem; }
.price-features { text-align: left; margin-bottom: 2rem; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--dark-3);
  border-bottom: 1px solid var(--border);
}
.price-features li:last-child { border-bottom: none; }
.price-features li span { color: var(--blue); font-weight: 700; }

.trust-section { background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.trust-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.trust-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.trust-item h4 { margin-bottom: 0.5rem; }
.trust-item p { font-size: 0.9rem; color: var(--mid); }

/* ── Animations ─────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: flex; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .storitve-item { grid-template-columns: 1fr; }
  .storitve-item.reverse { direction: ltr; }

  .contact-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .countdown { gap: 10px; }
  .countdown-item { padding: 12px 16px; min-width: 64px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; }
  .page-hero { padding: 110px 0 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: fit-content; }
}
