/* =========================================================
   RULES.CSS – FINAL CLEAN VERSION
   Villa Natali
   - bez konflikta sa style.css
   - mobile hamburger meni kao kartica
   - bez narančaste boje na aktivnom linku u hamburger meniju
   - CTA gumbi uredno jedan ispod drugog na mobitelu
   - sticky CTA spreman za scroll prikaz
========================================================= */

/* =========================
   RESET / BASE
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  font-family:'Poppins',sans-serif;
  background:#f5f7fb;
  color:#334155;
  line-height:1.6;
  overflow-x:hidden;
}

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

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

/* =========================
   HEADER
========================= */
header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:#ffffff;
  z-index:1000;
  box-shadow:0 2px 14px rgba(15,23,42,0.07);
}

.nav-container{
  max-width:1200px;
  margin:0 auto;
  min-height:74px;
  padding:12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.logo img{
  height:44px;
  width:auto;
  object-fit:contain;
}

/* =========================
   DESKTOP MENU
========================= */
.desktop-menu{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}

.desktop-menu a{
  color:#334155;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  transition:0.25s ease;
  white-space:nowrap;
}

.desktop-menu a:hover{
  color:#e67e22;
  text-decoration:none;
}

/* desktop aktivni link – samo tekst, bez narančaste pozadine */
.desktop-menu a.active{
  color:#e67e22;
  background:transparent;
  padding:0;
  border-radius:0;
  text-decoration:none;
}

/* =========================
   RIGHT NAV
========================= */
.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

/* =========================
   LANGUAGE
========================= */
.language-dropdown{
  position:relative;
}

.lang-btn{
  background:#3498db;
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(52,152,219,0.18);
}

.lang-options{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:92px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,0.16);
  border-radius:12px;
  overflow:hidden;
  z-index:1300;
}

.lang-options a{
  display:block;
  padding:10px 14px;
  color:#334155;
  font-weight:600;
  text-decoration:none;
}

.lang-options a:hover{
  background:#f8fafc;
  color:#e67e22;
  text-decoration:none;
}

.language-dropdown.active .lang-options{
  display:block;
}

/* =========================
   HAMBURGER
========================= */
.hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border:none;
  background:transparent;
  color:#0f172a;
  font-size:23px;
  cursor:pointer;
  padding:0;
}

/* =========================
   MAIN
========================= */
main.page-section,
main{
  max-width:1100px;
  margin:0 auto;
  padding:104px 18px 0;
}

/* =========================
   HERO CARD
========================= */
.hero-card{
  max-width:900px;
  margin:0 auto 26px;
  background:#fff;
  border-radius:24px;
  padding:34px 28px;
  box-shadow:0 12px 32px rgba(15,23,42,0.08);
  text-align:center;
}

.hero-card h1{
  font-size:clamp(1.7rem,3vw,2.35rem);
  line-height:1.25;
  color:#1e293b;
  margin-bottom:16px;
}

.hero-card p{
  max-width:720px;
  margin:0 auto 14px;
  color:#475569;
}

.trust-line{
  display:inline-block;
  margin-top:10px;
  padding:12px 18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  color:#1e293b !important;
  font-weight:700;
}

/* =========================
   HERO ACTIONS
========================= */
.hero-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

.cta-button,
.cta-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 24px;
  border-radius:999px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  transition:0.25s ease;
}

.cta-button{
  background:linear-gradient(135deg,#e67e22,#d35400);
  color:#fff;
  box-shadow:0 10px 24px rgba(211,84,0,0.20);
}

.cta-secondary{
  background:#fff;
  color:#1e293b;
  border:1px solid #e2e8f0;
}

.cta-button:hover,
.cta-secondary:hover{
  transform:translateY(-2px);
  text-decoration:none;
}

.cta-note{
  margin-top:14px;
  color:#64748b;
  font-size:14px;
}

.cta-note a{
  color:#e67e22;
  font-weight:700;
  text-decoration:none;
}

/* =========================
   CONTENT
========================= */
.content-box{
  max-width:900px;
  margin:0 auto 26px;
  background:#fff;
  padding:30px;
  border-radius:22px;
  box-shadow:0 12px 32px rgba(15,23,42,0.07);
}

.content-box h2{
  color:#1e293b;
  font-size:clamp(1.55rem,3vw,2rem);
  text-align:center;
  line-height:1.25;
  margin-bottom:22px;
}

.content-box ol{
  list-style:none;
  counter-reset:rules-counter;
  display:grid;
  gap:14px;
}

.content-box li{
  counter-increment:rules-counter;
  position:relative;
  padding:0 0 0 42px;
  color:#334155;
}

.content-box li::before{
  content:counter(rules-counter);
  position:absolute;
  left:0;
  top:0;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#3498db;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:700;
}

/* =========================
   HIGHLIGHT
========================= */
.highlight{
  max-width:900px;
  margin:0 auto 26px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  border-radius:18px;
  padding:20px;
  text-align:center;
  font-weight:700;
}

/* =========================
   FAQ
========================= */
.faq-section{
  max-width:900px;
  margin:0 auto 34px;
}

.faq-section h2{
  color:#1e293b;
  text-align:center;
  font-size:clamp(1.55rem,3vw,2rem);
  margin-bottom:20px;
}

.faq-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.faq-item{
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 28px rgba(15,23,42,0.07);
  border:1px solid #e2e8f0;
}

.faq-item h3{
  color:#1e293b;
  margin-bottom:10px;
  font-size:1.05rem;
}

.faq-item p{
  color:#475569;
}

/* =========================
   FOOTER
========================= */
footer{
  background:#1e293b;
  color:#fff;
  margin-top:40px;
  padding:46px 0 18px;
}

.footer-content{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

.footer-column h3{
  margin-bottom:14px;
  font-size:1.1rem;
}

.footer-column p,
.footer-column a{
  display:block;
  color:#cbd5e1;
  margin-bottom:9px;
  text-decoration:none;
}

.footer-column a:hover{
  color:#fff;
  text-decoration:none;
}

.social-icons{
  display:flex;
  gap:12px;
  align-items:center;
}

.social-icons a{
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.copyright{
  max-width:1100px;
  margin:24px auto 0;
  padding:16px 18px 0;
  text-align:center;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* =========================
   WHATSAPP
========================= */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:54px;
  height:54px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  box-shadow:0 12px 24px rgba(0,0,0,0.18);
  z-index:998;
}

/* =========================
   STICKY CTA
========================= */
.sticky-cta{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  background:linear-gradient(135deg,#22a6d6,#c7d1e0);
  color:#206439;
  text-align:center;
  padding:14px 16px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
  opacity:0;
  pointer-events:none;
  transform:translateY(22px);
  transition:0.25s ease;
  z-index:997;
  text-decoration:none;
}

.sticky-cta.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* =========================
   TABLET
========================= */
@media(max-width:900px){
  .desktop-menu{
    gap:14px;
  }

  .desktop-menu a{
    font-size:14px;
  }

  .footer-content{
    grid-template-columns:1fr 1fr;
  }
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

  .nav-container{
    min-height:68px;
    padding:10px 14px;
  }

  .logo img{
    height:38px;
  }

  .hamburger{
    display:flex;
  }

  /* meni kao manja kartica ispod headera */
  header .nav-container .desktop-menu{
    position:fixed !important;
    top:82px !important;
    left:50% !important;
    transform:translateX(-50%) !important;
    width:calc(100% - 46px) !important;
    max-width:300px !important;
    background:#fff !important;
    display:none !important;
    flex-direction:column !important;
    gap:8px !important;
    padding:12px !important;
    border-radius:18px !important;
    box-shadow:0 16px 35px rgba(15,23,42,0.16) !important;
    z-index:1200 !important;
    margin:0 !important;
  }

  header .nav-container .desktop-menu.active{
    display:flex !important;
  }

  header .nav-container .desktop-menu a,
  header .nav-container .desktop-menu a.active,
  header .nav-container .desktop-menu a:hover{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:44px !important;
    padding:10px 12px !important;
    border-radius:14px !important;
    background:#f8fafc !important;
    color:#334155 !important;
    text-align:center !important;
    font-weight:700 !important;
    text-decoration:none !important;
    border:1px solid #edf2f7 !important;
    box-shadow:none !important;
  }

  /* NEMA narančaste boje u hamburger meniju */
  header .nav-container .desktop-menu a.active{
    background:#f8fafc !important;
    color:#334155 !important;
  }

  header .nav-container .desktop-menu a:hover{
    background:#eef6fc !important;
    color:#217dbb !important;
  }

  main.page-section,
  main{
    padding:90px 14px 0;
  }

  .hero-card{
    padding:24px 16px;
    border-radius:22px;
    margin-bottom:22px;
  }

  .hero-card h1{
    font-size:1.55rem;
  }

  .trust-line{
    display:block;
    padding:12px 14px;
    border-radius:15px;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    width:100%;
    max-width:300px;
    margin:18px auto 0;
  }

  .hero-actions a,
  .cta-button,
  .cta-secondary{
    width:100%;
    min-height:44px;
    margin:0;
    padding:0 18px;
    text-decoration:none;
  }

  .content-box{
    padding:24px 18px;
    border-radius:20px;
  }

  .content-box li{
    padding-left:38px;
    font-size:0.95rem;
  }

  .faq-grid{
    grid-template-columns:1fr;
  }

  .footer-content{
    grid-template-columns:1fr;
    text-align:center;
  }

  .social-icons{
    justify-content:center;
  }

  .whatsapp-float{
    width:50px;
    height:50px;
    right:14px;
    bottom:14px;
    font-size:24px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media(max-width:480px){

  .logo img{
    height:34px;
  }

  .lang-btn{
    padding:8px 12px;
    font-size:13px;
  }

  .hamburger{
    width:34px;
    height:34px;
  }

  header .nav-container .desktop-menu{
    top:76px !important;
    max-width:290px !important;
  }

  .hero-card h1,
  .content-box h2,
  .faq-section h2{
    font-size:1.45rem;
  }
}


/* =========================================================
   FINAL CTA FIX
   Desktop: only WhatsApp. Mobile: WhatsApp + sticky availability CTA.
========================================================= */
@media (min-width: 769px){
  .sticky-cta{
    display:none !important;
  }
}

@media (max-width: 768px){
  .whatsapp-float{
    bottom:80px !important;
  }

  .sticky-cta{
    display:block;
  }
}
/* Odmak linka ispod hero gumba */
.cta-note {
  margin-top: 35px !important;
  display: block;
  text-align: center;
}

.hero-actions {
  margin-bottom: 18px !important;
}
