/* 
  SISTEMHUB - Premium Multi-Page CSS Stylesheet 
  ---------------------------------------------
  Inspirisan modernim dizajnom, prilagođen za Dreamweaver.
  Možete vrlo lako mijenjati boje i razmake koristeći varijable ispod.
*/

:root {
  --primary-font: 'Inter', system-ui, -apple-system, sans-serif;
  --display-font: 'Space Grotesk', 'Inter', sans-serif;
  --code-font: 'JetBrains Mono', Courier, monospace;

  /* Palette */
  --color-slate-950: #020617;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;

  /* Theme Accents */
  --color-emerald-700: #047857;
  --color-emerald-600: #059669;
  --color-emerald-500: #10b981;
  --color-emerald-100: #d1fae5;
  --color-emerald-50: #ecfdf5;

  --color-blue-700: #1d4ed8;
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-blue-100: #dbeafe;
  --color-blue-50: #eff6ff;

  --color-rose-700: #be123c;
  --color-rose-600: #e11d48;
  --color-rose-500: #f43f5e;
  --color-rose-100: #ffe4e6;
  --color-rose-50: #fff1f2;

  /* Shadows & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --border-radius-xl: 20px;
  --border-radius-2xl: 24px;
  --border-radius-3xl: 32px;
}

/* Reset i globalni stilovi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font);
  background-color: var(--color-slate-50);
  color: var(--color-slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Google Fonts Importi */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* Typography helperi */
.font-display {
  font-family: var(--display-font);
}

.font-mono {
  font-family: var(--code-font);
}

/* Ticker / Gornja traka */
.top-ticker {
  background: linear-gradient(90deg, var(--color-blue-600), var(--color-emerald-600));
  color: white;
  font-size: 13px;
  padding: 10px 20px;
  text-align: center;
  font-weight: 500;
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.top-ticker a {
  text-decoration: underline;
  font-weight: 700;
}

.top-ticker a:hover {
  color: var(--color-emerald-100);
}

/* Navigacija - Header */
.header-nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-slate-200);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-slate-900);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-blue-500);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
}

.nav-item a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-slate-600);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-item a:hover {
  background-color: var(--color-blue-50);
  color: var(--color-blue-600);
}

.nav-item.active a {
  background-color: var(--color-blue-50);
  color: var(--color-blue-600);
  font-weight: 700;
}

.lang-selector {
  display: flex;
  gap: 5px;
  background-color: var(--color-slate-100);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--color-slate-200);
}

.lang-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  color: var(--color-slate-600);
  transition: all 0.15s ease;
}

.lang-btn.active {
  background-color: white;
  color: var(--color-slate-900);
  box-shadow: var(--shadow-sm);
}

/* Hero sekcija na svakoj stranici */
.page-hero {
  background-color: var(--color-slate-900);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--display-font);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--color-slate-400);
  max-width: 600px;
  margin: 0 auto;
}

/* Kontejneri za glavni sadržaj */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Grid strukutre */
.grid-2 {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 30px;
}

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

.grid-12 {
  display: grid;
  grid-template-cols: repeat(12, 1fr);
  gap: 30px;
}

.col-md-7 {
  grid-column: span 7;
}

.col-md-5 {
  grid-column: span 5;
}

.col-md-8 {
  grid-column: span 8;
}

.col-md-4 {
  grid-column: span 4;
}

/* Kartice (Cardovi) */
.card-premium {
  background-color: white;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--border-radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-premium:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-slate-300);
}

.card-dark {
  background-color: var(--color-slate-900);
  color: white;
  border: 1px solid var(--color-slate-800);
  border-radius: var(--border-radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

/* Tabovi podsekcija */
.tab-navigator {
  display: flex;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-slate-200);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-slate-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--color-slate-800);
}

.tab-btn.active.news-tab {
  border-color: var(--color-emerald-500);
  color: var(--color-emerald-600);
}

.tab-btn.active.about-tab {
  border-color: var(--color-blue-500);
  color: var(--color-blue-600);
}

.tab-btn.active.hostel-tab {
  border-color: var(--color-rose-500);
  color: var(--color-rose-600);
}

/* Forme i Polja */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-slate-600);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 13.5px;
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  background-color: var(--color-slate-50);
  color: var(--color-slate-800);
  font-family: var(--primary-font);
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-blue-500);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-control-textarea {
  resize: none;
  min-height: 100px;
}

/* Dugmad */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-blue-600);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--color-blue-700);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-rose {
  background-color: var(--color-rose-600);
}

.btn-rose:hover {
  background-color: var(--color-rose-700);
}

.btn-emerald {
  background-color: var(--color-emerald-600);
}

.btn-emerald:hover {
  background-color: var(--color-emerald-700);
}

/* Liste i Elementi */
.list-checked {
  list-style: none;
}

.list-checked li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 13.5px;
}

.list-checked li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Tabela (Rezervacije) */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  background-color: white;
  box-shadow: var(--shadow-sm);
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table-custom th {
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--color-slate-200);
}

.table-custom td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-slate-100);
  color: var(--color-slate-600);
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tr:hover td {
  background-color: var(--color-slate-50);
}

.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-status.confirmed {
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-700);
}

.badge-status.pending {
  background-color: var(--color-blue-100);
  color: var(--color-blue-700);
}

.badge-status.canceled {
  background-color: var(--color-rose-100);
  color: var(--color-rose-700);
}

/* Slider / Galerija u Hostelu */
.hostel-gallery {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  border: 1px solid var(--color-slate-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Footer / Podnožje */
.site-footer {
  background-color: var(--color-slate-900);
  color: white;
  padding: 60px 20px 30px 20px;
  border-top: 1px solid var(--color-slate-800);
  font-size: 13.5px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column p {
  color: var(--color-slate-400);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--color-slate-400);
  transition: color 0.15s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--color-slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-slate-500);
  font-size: 11.5px;
}

/* Responsive prilagođavanja za tablete i mobilne uređaje */
@media (max-width: 991px) {
  .grid-12, .grid-3, .footer-container {
    grid-template-cols: 1fr;
  }
  
  .col-md-7, .col-md-5, .col-md-8, .col-md-4 {
    grid-column: span 12;
  }
  
  .grid-2 {
    grid-template-cols: 1fr;
  }
  
  .hostel-gallery {
    grid-template-cols: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* U Dreamweaveru možete uraditi toggle menija za mobilni */
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* SISTEM LIGHTBOX OVERLAY */
.sistem-lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  user-select: none;
  backdrop-filter: blur(8px);
}

.sistem-lightbox.active {
  display: flex;
  opacity: 1;
}

.sistem-lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sistem-lightbox.active .sistem-lightbox-img {
  transform: scale(1);
}

.sistem-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sistem-lightbox-close:hover {
  background: var(--color-rose-600);
  border-color: var(--color-rose-500);
  transform: rotate(90deg);
}

.sistem-lightbox-caption {
  position: absolute;
  bottom: 35px;
  color: #f1f5f9;
  font-size: 14px;
  font-family: var(--display-font);
  font-weight: 500;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

