/* =========================================================
   GLOBALNI STILOVI – DOMAĆA TRPEZA ANA
   ========================================================= */

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

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #3b2f2f;
  background-color: #fffaf2;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Kontejner */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Linkovi */
a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #d4b26b;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
  background: linear-gradient(90deg, #b28f4a, #d4b26b);
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* =========================================================
   HEADER
   ========================================================= */
   
header {
  background-color: #fffaf2;
  border-bottom: 3px solid #d4b26b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo img {
  height: 80px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigacija */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #3b2f2f;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #d4b26b;
  text-shadow: 0 0 5px rgba(212, 178, 107, 0.4);
}

/* Dropdown meni */
nav ul li {
  position: relative;
}

nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 10px 0;
  min-width: 200px;
  display: none;
  z-index: 1000;
  border-radius: 5px;
  list-style: none;
}

nav ul li:hover > ul {
  display: block;
}

nav ul li ul li {
  width: 100%;
  display: block;
}

nav ul li ul li a {
  padding: 8px 15px;
  display: block;
  color: #3b2f2f;
  transition: 0.3s;
  text-shadow: none;
}

nav ul li ul li a:hover {
  background: #f9f7f2;
  color: #b28f4a;
}

/* Hamburger meni (mobilni) */
#hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #3b2f2f;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background-color: #fffaf2;
    position: absolute;
    top: 77px;
    right: 0;
    width: 160px;
    display: none;
    border-left: 3px solid #d4b26b;
    border-bottom: 3px solid #d4b26b;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  nav ul.open {
    display: flex;
  }

  #hamburger {
    display: block;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f1e2c0;
    text-align: center;
    color: #3b2f2f;
  }

  nav ul li:last-child a {
    border-bottom: none;
  }
}

/* =========================================================
   HERO SEKCIJA
   ========================================================= */

.hero {
  background: url("../images/hero.webp") center/cover no-repeat;
  text-align: center;
  padding: 160px 20px;
  color: #fff;
  background-attachment: fixed;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 47, 47, 0.45);
}

.hero h1 {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 52px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
  position: relative;
  margin-top: 20px;
  font-size: 20px;
  color: #f9f5e7;
}

.hero .cta {
  position: relative;
  display: inline-block;
  background-color: #d4b26b;
  color: #fff;
  padding: 12px 30px;
  margin-top: 35px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.hero .cta:hover {
  background-color: #b28f4a;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
}

.hero .cta {
  display: inline-block;
  margin-top: 20px;
  background: #d4b26b;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  z-index: 3;
  position: relative;
  pointer-events: auto;
}

.hero .cta:hover {
  background: #b8934e;
  transition: 0.3s;
}

/* =========================================================
   SEKCIONI NASLOVI I TEKST
   ========================================================= */

section {
  padding: 70px 0;
}

section h2 {
  font-family: "Playfair Display", serif;
  color: #3b2f2f;
  font-size: 34px;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #5a4630;
}

/* =========================================================
   PONUDA – KARTICE
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  font-family: "Playfair Display", serif;
  color: #3b2f2f;
}

.card p {
  padding: 0 15px 20px;
  color: #5c4a2f;
}

/* =========================================================
   GALERIJA
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.04);
}

/* =========================================================
   KONTAKT FORMA
   ========================================================= */

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border: 1px solid #d4b26b;
  border-radius: 6px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
}

button {
  background-color: #d4b26b;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #b28f4a;
}

/* =========================================================
   FOOTER I KONTAKT TRAKA
   ========================================================= */

.contact-bar {
  background: linear-gradient(90deg, #b28f4a, #d4b26b);
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.5px;
  font-family: "Open Sans", sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.contact-bar a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-bar a:hover {
  text-shadow: 0 0 5px rgba(255,255,255,0.8);
}

/* Glavni footer */
footer {
  background-color: #3b2f2f;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  border-top: 3px solid #d4b26b;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #d4b26b;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.footer-info {
  color: #f2e8d5;
  font-size: 15px;
  max-width: 600px;
  margin-bottom: 8px;
}

.footer-contact a {
  color: #ffd97a;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #fff5d9;
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: #d9cbaa;
  margin-top: 15px;
}

/* =========================================================
   HERO SEKCIJA ZA STRANICU "O NAMA"
   ========================================================= */
.hero-onama {
  background: url("../images/galerija1.webp") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-onama::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-onama .hero-overlay {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-onama h1 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-onama p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: #f9f5e7;
}

@media (max-width: 768px) {
  .hero-onama {
    height: 40vh;
    background-position: center;
    background-size: cover;
  }

  .hero-onama h1 {
    font-size: 30px;
  }

  .hero-onama p {
    font-size: 16px;
  }
}

.seo-box {
  background-color: #fff8e6;
  border: 1px solid #d4b26b;
  border-radius: 8px;
  padding: 18px 25px;
  margin: 30px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  color: #5a4630;
  font-size: 16px;
  line-height: 1.7;
}

.seo-box span.highlight {
  color: #b28f4a;
  font-weight: 600;
  font-style: italic;
  font-size: 18px;
}

/* =========================================================
   ISPRAVKA PRIKAZA SEO BLOKOVA NA MOBILNIM UREĐAJIMA
   ========================================================= */
@media (max-width: 768px) {
  .seo-box {
    padding: 18px 15px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .seo-box span.highlight {
    font-size: 17px;
    display: block;
    margin-bottom: 5px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    margin: 0 auto;
    width: 95%;
  }

  section {
    padding: 50px 0;
  }

  .hero {
    background-position: center center;
    background-size: cover;
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
  }
}

/* UNIFORMNI PRIKAZ SLIKA */
img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.gallery img {
  height: 220px;
  object-fit: cover;
}

.card img {
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  img {
    height: 180px;
  }

  .card img,
  .gallery img {
    height: 160px;
  }
}

img {
  loading: lazy;
}

/* =========================================================
   STIL DUGMETA "POGLEDAJTE CEO MENI" (NOVO)
   ========================================================= */

.center-btn {
  text-align: center;
  margin-top: 50px;
  padding: 35px 0;
  background: #fffaf2;
  border-top: 2px solid #f1e2c0;
  border-bottom: 2px solid #f1e2c0;
}

.center-btn .cta {
  display: inline-block;
  background: linear-gradient(135deg, #d4b26b, #b9923c);
  color: #fff;
  padding: 14px 34px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* Hover efekat sa blagim sjajem */
.center-btn .cta:hover {
  background: linear-gradient(135deg, #e3c477, #c9a045);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 12px rgba(212, 178, 107, 0.5);
}
/* =========================================================
   HERO PODNASLOV (SEO linija)
   ========================================================= */
.hero-subtitle {
  position: relative;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  color: #f3e6c2;
  margin-top: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }
}
/* =========================================================
   HERO PODNASLOV ZA STRANICU "O NAMA"
   ========================================================= */
.hero-onama .hero-subtitle {
  position: relative;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  color: #f3e6c2;
  margin-top: 10px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero-onama .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }
}
