/* ============================================ */
/* URBAN CRAFT - PREMIUM STYLES v2.0             */
/* Fonts: Montserrat + Inter + Exo 2             */
/* ============================================ */

html { scroll-behavior: smooth; }
#pocetna { min-height: 100vh; min-height: 100svh; }
::selection { background: #B08968; color: #fff; }

:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-numeric: 'Exo 2', sans-serif;
}

body { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* Header */
#site-header .logo, #site-header .menu-toggle { color: #fff; }
#site-header .logo { font-family: var(--font-heading); letter-spacing: 0.22em; }
#site-header .nav-link { color: rgba(255,255,255,.82); position: relative; }
#site-header .nav-link:hover { color: #fff; }
#site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(28,25,23,.06), 0 12px 32px -16px rgba(28,25,23,.18); }
#site-header.scrolled .logo, #site-header.scrolled .menu-toggle { color: #1C1917; }
#site-header.scrolled .nav-link { color: #57534E; }
#site-header.scrolled .nav-link:hover { color: #1C1917; }
#site-header.menu-open { background: transparent; backdrop-filter: none; box-shadow: none; }
#site-header.menu-open .logo, #site-header.menu-open .menu-toggle { color: #fff; }
.nav-link.active::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:#B08968; }

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(176, 137, 104, 0.15);
  border: 1px solid rgba(176, 137, 104, 0.3);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D6B795;
}

/* Buttons */
.btn-primary { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; background:#B08968; color:#fff; padding:1rem 1.9rem; font-weight:600; font-size:.95rem; letter-spacing:.01em; border-radius:2px; border:1px solid #B08968; transition: background .25s, transform .25s, box-shadow .25s; font-family: var(--font-body); }
.btn-primary:hover { background:#8A6547; border-color:#8A6547; transform:translateY(-2px); box-shadow:0 16px 32px -16px rgba(138,101,71,.7); }
.btn-ghost { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; padding:1rem 1.9rem; font-weight:600; font-size:.95rem; border-radius:2px; border:1px solid rgba(255,255,255,.35); color:#fff; transition: border-color .25s, background .25s; font-family: var(--font-body); }
.btn-ghost:hover { border-color:#fff; background:rgba(255,255,255,.08); }

/* Reveal */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s}

/* Gallery */
.gallery-item { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(16px);} to { opacity:1; transform:none;} }

/* Partner Logos */
.partner-logo { filter: grayscale(100%) opacity(.55); transition: filter .3s ease, transform .3s ease; }
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(28,25,23,.1); }
.faq-item:last-child { border-bottom: none; }
.faq-question { cursor: pointer; user-select: none; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.5rem; }
.faq-item .faq-icon { transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* WhatsApp Pulse */
.pulse-ring { position: absolute; inset: 0; border-radius: 9999px; background: #25D366; opacity: .5; animation: pulse-ring 2s cubic-bezier(.215,.61,.355,1) infinite; }
@keyframes pulse-ring { 0% { transform: scale(.8); opacity: .5; } 70% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } .reveal { opacity:1; transform:none; transition:none; } .pulse-ring { animation: none; } }

/* Social Proof */
.social-proof-section { background: #FFFFFF; padding: 3rem 1.5rem; border-bottom: 1px solid #E7E5E4; }
.social-proof-number { font-family: var(--font-numeric); font-size: 2.5rem; font-weight: 800; color: #1C1917; line-height: 1; margin-bottom: 0.5rem; }
.social-proof-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: #78716C; }
@media (max-width: 640px) { .social-proof-section { padding: 2rem 1rem; } .social-proof-number { font-size: 1.75rem; } .social-proof-label { font-size: 0.75rem; } }

/* Testimonials */
.testimonials-section { background: #F6F3EE; padding: 5rem 1.5rem; }
.testimonial-card { background: #FFFFFF; border: 1px solid #E7E5E4; border-radius: 8px; padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(28, 25, 23, 0.12); }
.testimonial-text { color: #57534E; font-style: italic; line-height: 1.6; }
@media (max-width: 768px) { .testimonials-section { padding: 3rem 1rem; } .testimonial-card { padding: 1.5rem; } }

/* Tech Details */
.tech-detail-card { background: #FFFFFF; border: 1px solid #E7E5E4; border-radius: 8px; padding: 1.5rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.tech-detail-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px -8px rgba(28, 25, 23, 0.1); }
.tech-detail-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; background: rgba(176, 137, 104, 0.1); border-radius: 50%; margin-bottom: 1rem; color: #B08968; }
.tech-detail-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: #1C1917; margin-bottom: 0.5rem; }
.tech-detail-text { font-size: 0.875rem; color: #78716C; line-height: 1.5; }

/* Contract Guarantee */
.contract-guarantee { display: flex; gap: 1rem; background: linear-gradient(135deg, rgba(176, 137, 104, 0.08), rgba(176, 137, 104, 0.02)); border: 1px solid rgba(176, 137, 104, 0.2); border-radius: 8px; padding: 1.25rem; }
.contract-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: #B08968; border-radius: 50%; color: white; }
.contract-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: #1C1917; margin-bottom: 0.25rem; }
.contract-text { font-size: 0.875rem; color: #57534E; line-height: 1.5; }
@media (max-width: 640px) { .contract-guarantee { flex-direction: column; text-align: center; } .contract-icon { margin: 0 auto; } }

/* Case Studies */
.case-study-card { background: #FFFFFF; border: 1px solid #E7E5E4; border-radius: 8px; padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.case-study-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(28, 25, 23, 0.12); }
.case-study-badge { display: inline-block; padding: 0.375rem 1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.badge-challenge { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.badge-technical { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.badge-urgent { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.badge-complex { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.case-study-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: #1C1917; margin-bottom: 1rem; }
.case-study-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: #78716C; margin-bottom: 1.5rem; }
.case-study-label { font-weight: 600; color: #B08968; font-size: 0.875rem; margin-bottom: 0.25rem; }
.case-study-text { font-size: 0.9rem; color: #57534E; line-height: 1.6; }
@media (max-width: 640px) { .case-study-card { padding: 1.5rem; } .case-study-title { font-size: 1.1rem; } }

/* Kalkulator - Tier Selector */
.tier-selector { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.tier-btn { display: flex; flex-direction: column; align-items: center; padding: 1rem; border: 2px solid #E7E5E4; border-radius: 8px; background: white; cursor: pointer; transition: all 0.3s ease; }
.tier-btn:hover { border-color: #B08968; }
.tier-btn.active { border-color: #B08968; background: rgba(176, 137, 104, 0.05); }
.tier-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #1C1917; }
.tier-desc { font-size: 0.8rem; color: #78716C; margin-top: 0.25rem; }
.tier-btn.active .tier-name { color: #B08968; }

@media (min-width: 640px) {
  .tier-selector { flex-direction: row; gap: 1rem; }
  .tier-btn { flex: 1; }
}

/* Tier Features */
.tier-features { display: none; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E7E5E4; }
.tier-features.active { display: grid; }
@media (min-width: 640px) { .tier-features { grid-template-columns: repeat(3, 1fr); } }
.tier-feature-col { background: white; border-radius: 8px; padding: 1.5rem; border: 1px solid #E7E5E4; }
.tier-feature-title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: #1C1917; margin-bottom: 1rem; }
.tier-feature-list { list-style: none; padding: 0; margin: 0; }
.tier-feature-list li { font-size: 0.875rem; color: #57534E; padding: 0.5rem 0; border-bottom: 1px solid #F5F5F4; }
.tier-feature-list li:last-child { border-bottom: none; }

/* Kalkulator */
.uc-calculator-section { background: #F6F3EE; padding: 4rem 1.5rem; margin: 3rem auto; max-width: 900px; border: 1px solid rgba(176, 137, 104, 0.15); box-sizing: border-box; }
.uc-calc-container { max-width: 700px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.uc-calc-header { text-align: center; margin-bottom: 2.5rem; }
.uc-calc-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: #B08968; margin-bottom: 1rem; }
.uc-calc-title { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: #1C1917; margin-bottom: 0.5rem; }
.uc-calc-subtitle { color: #57534E; font-size: 1rem; line-height: 1.5; }
.uc-calc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; width: 100%; box-sizing: border-box; }
@media (min-width: 640px) { .uc-calc-grid { grid-template-columns: 1fr 1fr; } .uc-calc-result { grid-column: 1 / -1; } }
.uc-calc-field { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; box-sizing: border-box; }
.uc-calc-label { font-size: 0.875rem; font-weight: 600; color: #1C1917; }
.uc-calc-input { width: 100%; padding: 0.875rem 1rem; border: 1px solid #D6D3D1; border-radius: 4px; font-size: 1rem; font-family: var(--font-body); background: #FFFFFF; transition: border-color 0.2s, box-shadow 0.2s; color: #1C1917; box-sizing: border-box; }
.uc-calc-input:focus { outline: none; border-color: #B08968; box-shadow: 0 0 0 3px rgba(176, 137, 104, 0.15); }
.uc-calc-result { background: #FFFFFF; padding: 1.5rem; border-radius: 6px; border: 1px solid rgba(176, 137, 104, 0.2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; width: 100%; box-sizing: border-box; }
.uc-calc-estimate { width: 100%; }
.uc-calc-label-sm { display: block; font-size: 0.875rem; color: #57534E; margin-bottom: 0.25rem; }
.uc-calc-amount { display: block; font-family: var(--font-numeric); font-size: 2rem; font-weight: 800; color: #B08968; line-height: 1; margin-bottom: 0.5rem; transition: opacity 0.15s ease; }
.uc-calc-disclaimer { display: block; font-size: 0.75rem; color: #78716C; font-style: italic; margin-top: 0.5rem; }
.uc-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: #B08968; color: #FFFFFF; padding: 1rem 1.5rem; font-weight: 600; font-size: 0.95rem; border-radius: 4px; text-decoration: none; transition: background 0.2s, transform 0.2s; width: 100%; box-sizing: border-box; }
.uc-btn-primary:hover { background: #8A6547; transform: translateY(-2px); }
.uc-btn-full { width: 100%; max-width: 100%; margin-top: 0.5rem; }
@media (max-width: 640px) { .uc-calculator-section { padding: 2.5rem 1rem; margin: 2rem 1rem; max-width: calc(100% - 2rem); } .uc-calc-title { font-size: 1.5rem; } .uc-calc-amount { font-size: 1.75rem; } .uc-calc-input { font-size: 16px; } }

/* Process Timeline */
.process-section { background: #FFFFFF; padding: 5rem 1.5rem; }
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: 1.25rem; top: 0; bottom: 0; width: 2px; background: #E7E5E4; }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -3rem; top: 0; width: 2.5rem; height: 2.5rem; background: #B08968; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-family: var(--font-numeric); }
.timeline-content { background: #F6F3EE; border-radius: 8px; padding: 1.5rem; }
.timeline-day { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #B08968; margin-bottom: 0.5rem; }
.timeline-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #1C1917; margin-bottom: 0.5rem; }
.timeline-text { font-size: 0.9rem; color: #57534E; line-height: 1.5; }
@media (max-width: 640px) { .timeline { padding-left: 2.5rem; } .timeline::before { left: 1rem; } .timeline-marker { left: -2.5rem; width: 2rem; height: 2rem; font-size: 0.875rem; } .timeline-content { padding: 1.25rem; } }

/* Exit Popup */
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in { animation: fadeIn 0.3s ease-out; }