/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;

}

/* Top Bar */
.top-bar {
  background: #7f1d1d; /* bordo */
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
}

/* Main Header */
.main-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo img {
  height: 80px;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #7f1d1d; /* bordo hover */
}

/* Hero sekcija */
.hero {
  background: #f9fafb;
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}

/* === Responsive Header & Offcanvas === */

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1f2937;
}

/* Offcanvas container */
.offcanvas {
  position: fixed;
  top: 0;
  right: -280px; /* skriveno desno */
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,.15);
  transition: right 0.3s ease;
  z-index: 1200;
  padding: 20px;
}

.offcanvas.open {
  right: 0;
}

.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
}

.offcanvas ul {
  list-style: none;
  padding: 0;
}

.offcanvas a {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}

.offcanvas a:hover {
  color: #7f1d1d;
}

/* Close button */
.close-btn {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1f2937;
}

/* Backdrop */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1100;
}

.offcanvas-backdrop.show {
  display: block;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: none;
}


/* === Responsive rules === */
@media (max-width: 992px) {
  .main-nav {
    display: none; /* sakrij desktop meni */
  }

  .menu-toggle {
    display: block;
  }

  .logo img {
    height: 60px;
  }
}
