
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #EFE9E2;
  color: #2b241d;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & nav */

header {
  background-color: #4A2F20;
  color: #F9F5EE;
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  text-transform: uppercase;
}

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

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.85;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: #4A2F20;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero */

.hero {
  background-image:
    linear-gradient(to bottom, rgba(24,16,10,0.7), rgba(24,16,10,0.4)),
    url("https://images.pexels.com/photos/167684/pexels-photo-167684.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: #F9F5EE;
  padding: 5rem 0 4.5rem;
}

.hero-inner {
  max-width: 720px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(249,245,238,0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.02rem;
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  background: #C8B39A;
  color: #1f160f;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  border-color: rgba(249,245,238,0.75);
  color: #F9F5EE;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #F5F0E8;
}

.section h2 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.section-lead {
  font-size: 0.98rem;
  color: #6e5a46;
  margin-bottom: 1.8rem;
}

/* Feature grid */

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: #fffaf4;
  border-radius: 0.9rem;
  border: 1px solid #e1d5c6;
  padding: 1.1rem 1.2rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.feature-card p {
  font-size: 0.93rem;
}

/* Two-column layout */

.two-col {
  display: grid;
  gap: 2.2rem;
}

@media (min-width: 880px) {
  .two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: flex-start;
  }
}

.card {
  background: #fffaf4;
  border-radius: 1rem;
  border: 1px solid #e1d5c6;
  padding: 1.5rem 1.6rem;
}

/* Lists */

.list {
  padding-left: 1.1rem;
  margin: 0;
}

.list li {
  margin-bottom: 0.35rem;
}

/* Gallery – 2-row grid + arrows + lightbox */

.gallery-block {
  position: relative;
  margin-top: 0.5rem;
}

.gallery-grid-paged {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .gallery-grid-paged {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid #ddcbb8;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.gallery-item.hidden {
  display: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #c8b39a;
  background: rgba(239,233,226,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #4A2F20;
  z-index: 5;
}

.gallery-arrow-left {
  left: -0.8rem;
}

.gallery-arrow-right {
  right: -0.8rem;
}

@media (max-width: 720px) {
  .gallery-arrow-left {
    left: -0.3rem;
  }
  .gallery-arrow-right {
    right: -0.3rem;
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 3, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  background: #F5F0E8;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  border: 1px solid #c8b39a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #c8b39a;
  background: rgba(245,240,232,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: #4A2F20;
}

.lightbox-prev {
  left: -2.5rem;
}

.lightbox-next {
  right: -2.5rem;
}

@media (max-width: 720px) {
  .lightbox-prev {
    left: 0.2rem;
  }
  .lightbox-next {
    right: 0.2rem;
  }
}

/* Location */

.map-placeholder {
  border-radius: 1rem;
  border: 1px dashed #c6b196;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  background: #fffaf4;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  }
}

.input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid #d2c2b1;
  font: inherit;
  margin-bottom: 0.6rem;
  background: #fffaf4;
}

textarea.input {
  min-height: 130px;
  resize: vertical;
}

/* Footer */

footer {
  padding: 1.8rem 0 2.4rem;
  background: #4A2F20;
  color: #F9F5EE;
  font-size: 0.85rem;
  margin-top: 2rem;
}

footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Divider */

.divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.8rem 0 1.4rem;
  color: #8b6b4c;
  font-size: 0.85rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c7ae94, transparent);
}

/* Utility */

.muted {
  color: #7a6652;
  font-size: 0.9rem;
}


.lang-switch{
display:flex;
gap:8px;
align-items:center;
}

.lang-switch button{
background:#C8B39A;
border:none;
padding:6px 10px;
border-radius:6px;
cursor:pointer;
font-weight:bold;
}
/* DODAJ OVO NA KRAJ POSTOJEĆEG styles.css */

.history-content{
max-width:900px;
margin:auto;
}

.history-content p{
margin-bottom:1.4rem;
font-size:1.02rem;
line-height:1.9;
}

.history-content .section-lead{
font-size:1.1rem;
color:#6e5a46;
}

.lang-switch{
display:flex;
gap:8px;
align-items:center;
}

.lang-switch button{
background:#C8B39A;
border:none;
padding:6px 10px;
border-radius:6px;
cursor:pointer;
font-weight:bold;
}



.narrow-content{
max-width:900px;
margin:auto;
}

.text-link{
color:#7a5b3a;
text-decoration:none;
font-weight:600;
}

.text-link:hover{
text-decoration:underline;
}
