

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

body {
font-family: 'Poppins', sans-serif;
width: 100vw;
overflow-x: hidden;
}

header {
background-color:rgba(127,93,56,255);
padding: 5px 15%;


}


.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 5%;
height: 65px;
}


.nav-links {
 list-style: none;
display: flex;
align-items: center;
gap: 30px;
padding: 0;
margin: 0;
}



.nav-links li a:not(.nav-btn) {
position: relative;
text-decoration: none;
color: rgb(255, 255, 255);
font-size: 1.3em;
padding: 5px 0;
transition: color 1s;
}
.nav-links li a:hover {
color: #163f02;
}



.nav-links li a::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
height: 2px;
width: 0%;
background-color: #013100; 
transition: width 0.5s ease;
}

.nav-links li a:hover::after {
width: 100%;
}

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

.carousel-multi {
position: relative;
width: 100%;
max-width: 2200px;
margin: auto;
overflow: hidden;
padding: 0px 0;
}

.carousel-track-container {
overflow: hidden;

}

.carousel-track {
display: flex;
transition: transform 0.4s ease-in-out;
}

.carousel-track img {
width: 40%; 
height: 650px;
object-fit: cover;
flex-shrink: 0;
}

.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.6);
color: white;
border: none;
font-size: 2rem;
padding: 10px;
cursor: pointer;
z-index: 2;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.welcome-section {
background-color:rgba(127,93,56,255);

;
padding: 60px 10%;
}

.welcome-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 400px;
flex-wrap: wrap; 
}

.welcome-image img {
width: 100%;
max-width: 500px;
border-radius: 10px;


}

.welcome-text {
flex: 1;
}
.welcome-text h3{
font-size: 1.5em;
margin-bottom: 10px;
color: #104612;

}
.welcome-text h2 {
font-size: 2em;
margin-bottom: 15px;
color: #104612;
}

.welcome-text p {
font-size: 1.1em;
color: #ffffff;
line-height: 1.6;
}

.welcome-container {
display: flex;
align-items: center;
justify-content: center;
gap: 60px;
flex-wrap: wrap;
}

.welcome-image img {
width: 100%;
max-width: 500px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.welcome-card {
background-color: rgb(255, 255, 255);
padding: 40px;
border-radius: 15px;
max-width: 550px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
color: #333;
}

.welcome-card h2 {
font-size: 2em;
margin: 10px 0;
color: #2c1e0f;
text-align: center;
}

.welcome-card p {
font-size: 1.1em;
line-height: 1.6;
text-align: center;
}

.lined-heading {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
color: rgba(127,93,56,255);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 10px;
}

.lined-heading::before,
.lined-heading::after {
content: "";
flex: 1;
height: 1px;
background-color: rgba(127,93,56,255);
}

.btn-welcome {
display: inline-block;
margin: 20px auto 0 auto;
padding: 12px 24px;
background-color:rgba(127,93,56,255);
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: bold;
text-align: center;
transition: background-color 0.3s;
}
.welcome-card {
text-align: center;
}

.btn-welcome:hover {
background-color:rgba(127,93,56,255);
}


.parallax-section {
position: relative;
background-image: url('./img/specijaliteti.jpeg'); 
background-attachment: fixed;
background-size: cover;
background-position: center;
height: 500px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}

.parallax-overlay {
background-color: rgba(0, 0, 0, 0.5); 
padding: 40px;
border-radius: 12px;
max-width: 800px;
width: 90%;
}

.parallax-subtitle {
text-transform: uppercase;
letter-spacing: 2px;
font-size: 0.9em;
margin-bottom: 10px;
position: relative;
}

.parallax-subtitle::before,
.parallax-subtitle::after {
content: "";
display: inline-block;
width: 40px;
height: 1px;
background: white;
vertical-align: middle;
margin: 0 10px;
}

.parallax-title {
font-size: 2.5em;
margin-bottom: 20px;
font-weight: bold;
}

.parallax-btn {
background-color: rgba(127,93,56,255);
color: white;
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s;
}

.parallax-btn:hover {
color: #ffffff;
background-color: #104612;
}

.info-section {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 100px;
padding: 80px 10%;
background-color:rgba(127,93,56,255);
flex-wrap: wrap;
}

.info-box {
flex: 1 1 300px;
max-width: 400px;
text-align: center;
background-color:white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
color: #000000;
}

.info-header {
font-size: 0.9em;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 10px;
position: relative;
color: rgba(127,93,56,255);
}

.info-header::before,
.info-header::after {
content: "";
display: inline-block;
width: 40px;
height: 1px;
background: #333;
vertical-align: middle;
margin: 0 10px;
}

.info-box h2 {
font-size: 1.8em;
margin: 10px 0;
font-weight: bold;
color: #000;
}

.info-box p {
color: rgb(0, 0, 0);
font-size: 1.1em;
margin: 5px 0;
}

.info-time {
font-weight: bold;
}

.info-phone {
color: rgb(0, 0, 0);
text-decoration: none;
font-weight: 500;
}

.info-phone:hover {
text-decoration: underline;
}

.info-btn {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
background-color:rgba(127,93,56,255);
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
letter-spacing: 1px;
transition: background-color 0.3s ease;
}

.info-btn:hover {
background-color: #104612;
}
.gallery-hero {
position: relative;
background-image: url('./img/galerija.jpeg'); 
background-attachment: fixed;
background-size: cover;
background-position: center;
height: 500px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}

.gallery-overlay {
background-color: rgba(0, 0, 0, 0.6);
padding: 50px;
border-radius: 12px;
max-width: 900px;
width: 90%;
}

.gallery-subtitle {
font-style: italic;
color: #ffffff;
font-size: 1.1em;
margin-bottom: 10px;
text-transform: lowercase;
letter-spacing: 1px;
}

.gallery-title {
font-size: 2.5em;
font-weight: bold;
margin-bottom: 20px;
}

.gallery-text {
font-size: 1.1em;
line-height: 1.6;
margin-bottom: 30px;
color: #e0e0e0;
}

.gallery-btn {
display: inline-block;
padding: 12px 32px;
border: 2px solid #104612;
color: #ffffff;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
transition: background-color 0.3s, color 0.3s;
}

.gallery-btn:hover {
background-color: #d2b48c;
color: #000;
}



.map-section {
width: 100%;
height: 450px;
margin: 0;
padding: 0;
}

#map {
width: 100%;
height: 100%;
}

.main-footer {
background-color: rgba(127,93,56,255); 
padding: 20px 10px 10px;
text-align: center;
border-top: none;
margin: 0;
}

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

.footer-social {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 10px;
}

.footer-social a {
color: #ffffff;
font-size: 1em;
transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
color: #e8c7a1;
transform: scale(1.2);
}

.footer-logo {
height: 80px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}

.footer-logo img {
height: 160px;
width: auto;
}

.footer-credit {
font-size: 0.85em;
color: #ffffff;
margin-top: 5px;
}

.nav-btn {
background-color: #013100;
padding: 10px 26px;
border-radius: 14px;
color: white !important;
font-weight: bold;
font-size: 1.15em;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
transition: background-color 0.3s ease, transform 0.3s ease;
display: inline-block;
text-align: center;
line-height: 1.2;
text-decoration: none !important;
vertical-align: middle;
position: relative;
top: 2px;
}


.nav-btn::after {
display: none !important;
}


.nav-btn:hover {
background-color: #104612;
transform: scale(1.08);
}

@media (max-width: 768px) {
/* NAVIGACIJA */
.navbar {
flex-direction: column;
align-items: flex-start;
padding: 10px 5%;
}

.nav-links {
flex-direction: column;
align-items: flex-start;
gap: 15px;
margin-top: 10px;
}

.logo img {
height: 100px;
}

/* WELCOME SECTION */
.welcome-container {
flex-direction: column;
text-align: center;
gap: 30px;
}

.welcome-card {
padding: 20px;
}

.welcome-image img {
max-width: 90%;
}

/* INFO SECTION */
.info-section {
flex-direction: column;
align-items: center;
gap: 40px;
}

/* GALLERY */
.gallery-title,
.parallax-title {
font-size: 1.8em;
}

.gallery-text,
.parallax-subtitle {
font-size: 1em;
}

.gallery-overlay,
.parallax-overlay {
padding: 20px;
}

/* CAROUSEL */
.carousel-track img {
width: 100%;
height: 300px;
}

.carousel-btn {
font-size: 1.5rem;
padding: 6px;
}

/* MAPA */
.map-section {
height: 300px;
}
}

.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 10px;
}

.hamburger span {
height: 3px;
width: 25px;
background-color: #104612;
border-radius: 2px;

}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: 0;
    margin-right: 10px;
    align-items: center;
  }

  .nav-links {
    position: fixed;
    top: 55px; /* Below navbar */
    left: 0;
    right: 0;
    width: 100vh;
    box-sizing: border-box;
    background-color: rgba(127,93,56,255);
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    padding-left: 10px;
    padding-right: 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.7s ease, padding 0.7s ease, opacity 0.7s ease, transform 0.7s ease;
  }

  .nav-links.active {
    max-height: 500px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    width: 100vh;
    box-sizing: border-box;
  }

  .nav-links li {
    padding-left: 15px;
    margin: 10px 0;
    text-align: right;
  }

  .navbar {
    width: 100vw;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    height: 70px; /* Match desktop height for consistency */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(127,93,56,255);
    z-index: 1001;
  }

  .logo img {
    height: 120px; /* Smaller logo for mobile */
    padding-top: 0;
    /*max-height: 100px;*/
  }

  .carousel-track img {
    height: 400px;
  }
}

/* Novi parallax efekat za index.html */
.parallax-section,
.gallery-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  background: none !important;
}

.parallax-section::before,
.gallery-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform;
  transform: translateY(var(--scroll-offset, 0));
  transition: transform 0.1s linear;
}

/* Postavi slike za svaku sekciju */
.bg-index-parallax::before {
  background-image: url('radgost_slike/image00034.jpeg');
}
.bg-index-gallery::before {
  background-image: url('radgost_slike/image00017.jpeg');
}

/* Visina za mobilne uređaje */
@media (max-width: 768px) {
  .parallax-section,
  .gallery-hero {
    height: 700px;
  }
  .parallax-section::before,
  .gallery-hero::before {
    height: 120%;
  }
}