:root {
  --bg-color: #0b0f19;
  --card-bg: #131b2e;
  --accent-blue: #00d2ff;
  --accent-purple: #7928ca;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigacija */
.navbar {
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-blue);
}

.btn-nav {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge {
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero-text h1 {
  font-size: 48px;
  margin: 20px 0;
  line-height: 1.2;
}

.hero-text h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

.card-glass {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-icon {
  font-size: 60px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

/* Stats */
.stats {
  background: #080b12;
  padding: 40px 0;
  border-y: 1px solid rgba(255,255,255,0.05);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.stat-item h2 {
  font-size: 36px;
  color: var(--accent-blue);
}

.stat-item p {
  color: var(--text-muted);
}

/* Services */
.services {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
}

.section-title h2 span {
  color: var(--accent-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
}

.icon-box {
  font-size: 30px;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

/* CTA */
.cta {
  background: linear-gradient(rgba(11, 15, 25, 0.8), rgba(11, 15, 25, 0.8)), var(--gradient);
  padding: 80px 0;
  text-align: center;
}

.cta-container h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-container p {
  margin-bottom: 30px;
  font-size: 18px;
}

/* Footer */
footer {
  background: #05070c;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .stats-container { flex-direction: column; gap: 20px; }
}

/* ==========================================
   Stilovi za Stranicu sa Formom (forma.html)
   ========================================== */

.page-header {
  padding: 150px 0 60px;
  background: radial-gradient(circle at top, rgba(0, 210, 255, 0.08), transparent 70%);
}

.text-center {
  text-align: center;
}

.form-section {
  padding-bottom: 100px;
}

.glass-form {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 900px;
  margin: 0 auto;
}

.form-block {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-block:last-child {
  border-bottom: none;
}

.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.block-title i {
  font-size: 20px;
}

.block-title h3 {
  font-size: 20px;
  color: #fff;
}

/* Gridi i polja */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.input-group label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-size: 15px;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.25);
  background: rgba(11, 15, 25, 0.9);
}

.input-group select option {
  background-color: var(--bg-color);
  color: var(--text-main);
}

/* Radio i Checkbox komponente */
.radio-group {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}

.mt-10 { margin-top: 10px; }

.custom-radio, .custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-main);
  user-select: none;
}

.custom-radio input, .custom-checkbox input {
  display: none;
}

.radio-mark, .checkbox-mark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

.checkbox-mark {
  border-radius: 4px;
}

.custom-radio input:checked ~ .radio-mark {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

.custom-checkbox input:checked ~ .checkbox-mark {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
}

/* Upload Polje */
.file-upload {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  background: rgba(11, 15, 25, 0.4);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.file-upload:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 210, 255, 0.03);
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload i {
  font-size: 28px;
  color: var(--accent-blue);
}

.file-upload span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Slanje i Dugme */
.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.btn-submit {
  width: 100%;
  max-width: 350px;
  padding: 16px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  border: none;
}

/* Mobilna prilagođenost */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .glass-form {
    padding: 20px;
  }
  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================
   Stilovi za Katalošku Stranicu (konfiguracije.html)
   ========================================== */

.catalog-section {
  padding-bottom: 100px;
}

/* Filteri */
.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(19, 27, 46, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* Grid Kartica */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.config-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.config-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.config-card.featured {
  border-color: var(--accent-blue);
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.05) 0%, var(--card-bg) 100%);
}

.config-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
}

.config-tag.highlight {
  background: var(--gradient);
  color: #fff;
  border: none;
}

.config-header {
  margin-bottom: 20px;
}

.config-icon {
  font-size: 32px;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.config-header h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}

.config-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Specifikacije lista */
.config-specs {
  list-style: none;
  margin-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.config-specs li {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.config-specs li:last-child {
  margin-bottom: 0;
}

.config-specs li i {
  color: var(--accent-blue);
  width: 16px;
}

.config-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  color: var(--text-muted);
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* CTA Box na dnu kotaloga */
.custom-cta-box {
  background: var(--card-bg);
  border: 1px dashed var(--accent-blue);
  border-radius: 14px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-content h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 650px;
}

@media (max-width: 768px) {
  .custom-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   Stilovi za Stranicu O nama (o-nama.html)
   ========================================== */

/* Hero sekcija */
.about-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.about-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #f8fafc;
}

.about-hero p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto;
}

/* Statistika kartice */
.stats-section {
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Sadržaj i Mreža Usluga */
.about-content h2 {
  font-size: 1.6rem;
  color: #0f172a;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid #0284c7;
  padding-left: 12px;
}

.about-content p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 50px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.service-card i {
  font-size: 2rem;
  color: #0284c7;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 0;
}
/* ==========================================
   Stilovi za B2B Podmeni i Kartice
   ========================================== */
.b2b-submenu {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 30px;
  padding-bottom: 5px;
}

.b2b-tab {
  padding: 10px 18px;
  text-decoration: none;
  color: #64748b;
  font-weight: 600;
  border-radius: 6px 6px 0 0;
  transition: all 0.2s ease;
}

.b2b-tab:hover, .b2b-tab.active {
  color: #0284c7;
  background: #f1f5f9;
  border-bottom: 3px solid #0284c7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.price-box {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.price-title {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
}

.price-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}
/* Stilovi za prošireni blok komponenti u formi */
.components-selection-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 25px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 20px;
  border-bottom: 2px solid #0284c7;
  padding-bottom: 8px;
}

.components-selection-box optgroup {
  font-weight: 700;
  color: #0284c7;
}

.components-selection-box option {
  color: #1e293b;
  font-weight: 400;
}