@font-face {
    font-family: 'OurInfinityLove';
    src: url('../fonts/OurInfinityLove.woff') format('woff');
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Times New Roman", Times, serif;
    color: #1c180c;
    background-color: white;
}
.header {
  background: linear-gradient(135deg, #0a1f1a 0%, #112d24 100%);
  color: #f1f1f1;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid #2a5a4a;
}

.header-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
   gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid #c9a66b;
}

.logo-text {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #e8d5b8;
}

.nav {
  display: flex;
  gap: 38px;
  position: static;
  left: 50%;
    margin-left: auto;
  margin-right: auto;
}

.nav a {
  color: #e8d5b8;
  text-decoration: none;
  font-size: 17.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #c9a66b;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.icon {
  color: #e8d5b8;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.icon:hover {
  color: #c9a66b;
  transform: scale(1.12);
}

.flag {
  width: 34px;
  border-radius: 5px;
  cursor: pointer;
}

.flag:hover {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .nav {
    gap: 20px;
    font-size: 16px;
  }
  
  .header-container {
    padding: 0 20px;
  }
}

main {
    flex: 1;
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20vh 20px;
    text-align: center;
}

#hero-title {
    font-size: 5em;
    color: white;
    font-family: 'OurInfinityLove', sans-serif;
    margin: 0;
}

#hero-subtitle {
    font-size: 1.8em;
    color: white;
    margin: 0;
}


.glavni-o-nama-kontenjer {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.about-paper-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 3rem;
    gap: 2rem;
    position: relative;
}

.paper {
    position: relative;
    width: 100%;
    max-width: 700px;
    background: #faf8f4;
    padding: 3rem 4rem;
    text-align: left;
}

.paper::before,
.paper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.paper::before {
    border: 1.5px solid #c8c2b0;
}

.paper::after {
    inset: 8px;
    border: 0.5px solid #d8d2c0;
}

.paper-corner {
    position: absolute;
    width: 18px;
    height: 18px;
}

.paper-corner.tl { top: -1px; left: -1px; border-top: 3px solid #8a7e6a; border-left: 3px solid #8a7e6a; }
.paper-corner.tr { top: -1px; right: -1px; border-top: 3px solid #8a7e6a; border-right: 3px solid #8a7e6a; }
.paper-corner.bl { bottom: -1px; left: -1px; border-bottom: 3px solid #8a7e6a; border-left: 3px solid #8a7e6a; }
.paper-corner.br { bottom: -1px; right: -1px; border-bottom: 3px solid #8a7e6a; border-right: 3px solid #8a7e6a; }

.paper-body {
    font-size: 15px;
    line-height: 1.8;
}

.contact-section {
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: #f0ece4;
    border-radius: 8px;
    border: 0.5px solid #c8c2b0;
    padding-top: 12px;
    padding-bottom: 12px;
}
.contact-row i {
    font-size: 18px;
    color: #8a7e6a;
}
.contact-row a {
    text-decoration: none;
    color: #1c180c;
}

.contact-row a:hover {
    text-decoration: none;
}

.contact-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #9a8e7a;
    margin-top: 4px;
    margin-left: calc(-18px - 12px);
}

.contact-sub i {
    font-size: 18px;
    color: #8a7e6a;
}
.mapa-i-slajder {
    display: flex;
    align-items: center; 
    gap: 40px;
    padding: 40px;
    transform: translateY(30px);
}

.mapa-i-slajder .map {
    flex: 1;
    margin: 0;
}

.mapa-i-slajder .slajder-novi {
    flex: 1;
    height: 450px;
    width: auto !important;
    margin: 0 !important;
}

.ram {
    position: relative;
    width: 850px;
    height: 700px;
    flex-shrink: 0;
}

.kvadrat {
    position: absolute;
    border: 5px solid #000000;
    background: #ffffff;
    overflow: hidden;
    z-index: 99;
}

.kvadrat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k-1 {
    width: 380px;
    height: 260px;
    top: 390px;
    left: 76%;
}

.k-2 {
    width: 380px;
    height: 260px;
    top: 235px;
    left: 42%;
}

.k-3 {
    width: 380px;
    height: 260px;
    top: 80px;
    left: 8%;
}

.slajder-novi {
    margin: 30px auto;
    text-align: center;
    border: 2px solid #205b3d;
    border-radius: 10px;
    overflow: hidden;
    max-width: 900px;
    height: 450px;
    position: relative;
    box-sizing: border-box;
    background: transparent !important;
}

.traka-nova {
     display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
    height: 100%;
    background: transparent !important;
}

.slajd-novi {
   flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    padding: 0 113px !important; 
    box-sizing: border-box !important;
    
}

.slajd-novi img {
    width: 75% !important;
    height: 100% !important;
    object-fit: cover; 
    
    display: block;
}

#galerija {
    text-align: center;
    color: white;
    font-weight: bold;
}

#galerija a {
    color: #ebcb8b;
}


.map {
    margin: 50px 0;
    padding-left: 40px;
    width: fit-content;
     transform: translateY(-25px);
}

.map iframe {
    width: 600px;
    height: 450px;
    border-radius: 10px;
}
.map h2 {
      text-align: center;
    width: 600px;
    margin-bottom: 15px;
}

.site-footer{
    background:#0e211e;
    color:#eef3f2;
    padding:50px 20px 0;
    width:100%;
    height:auto;
    position:relative;
    z-index:1000;
    
}

.footer-inner{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.3fr 1fr 1.4fr 1.3fr;
    gap:30px;
    padding-bottom:39px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.footer-col h6{
     color:#fff;
    font-weight:700;
    font-size:17px;
    margin-bottom:18px;
    display:flex;
    align-items:center;
    gap:6px;  
    
}
.footer-col:not(.footer-about){
     position:relative;
    top:-0.04cm;
}
.radilebat:not(.footer-about){
     position:relative;
    top:0.01cm
}
.footer-about p{
    color:#c9d3d1;
    font-size:14.5px;
    line-height:1.6;
    max-width:280px;
}
.pls{
    margin-top: -0.0px;
}
.footer-heading-icon{
    font-size:18px;
    color:#26ad65;
}


.footer-links{
    list-style:none;
    margin:0;
    padding:0;
    padding-left:5px; 
}
.dvojka{
    padding-left:24px !important;
}
.trojka{
    padding-left:30px !important;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#eef3f2;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:color .2s;
}

.footer-links a:hover{
    color:#26ad65;
}

.footer-links li.has-caret a::after{
    content:" \25BE";
    font-size:12px;
    color:#c9d3d1;
}


.footer-locations{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-locations li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:16px;
    font-size:14.5px;
    color:#eef3f2;
    line-height:1.4;
}

.footer-icon{
    width:16px;
    height:16px;
    margin-top:3px;
    flex-shrink:0;
    filter:brightness(0) saturate(100%) invert(70%) sepia(20%) saturate(500%) hue-rotate(110deg);
}


.footer-contact-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:26px;
}

.footer-contact-item i{
    color:#26ad65;
    font-size:22px;
    width:28px;
    text-align:center;
    margin-top:2px;
}




.footer-contact-item p{
    margin:0;
    color:#c9d3d1;
    font-size:14.5px;
}

.footer-bottom{
    max-width:1400px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.footer-bottom .social-media img{
    height:22px;
    margin-right:12px;
    filter:brightness(0) invert(1);
}

.footer-bottom p{
    margin:0;
    color:#c9d3d1;
    font-size:14px;
}
.hero-logo-footer{
     display:block;
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}
.footer-about{
    display:flex;
    flex-direction:column;
}

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    nav {
        width: 100%;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ebcb8b;
    }

    #nav-toggle:checked ~ nav .nav-menu {
        display: flex;
    }

    nav a {
        font-size: 20px;
        padding: 10px;
        justify-content: center;
    }

    .slajder-novi {
        width: 100% !important;
        height: 250px !important;
    }

    .map iframe {
        width: 100%;
        height: 300px;
    }

    footer {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
}

.hero-slider{
    width:90%;
    max-width:1400px;
    margin:40px auto 20px;
    background:#faf7f2;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    position:relative;
}

.hero-slide{
    display:none;
    grid-template-columns:1fr 1fr 1fr;
    align-items:center;
    min-height:520px;
    padding:40px;
    gap:40px;
}

.hero-slide.active{
    display:grid;
}

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.2);
    transition:0.4s;
    
}

.hero-image img:hover{
    transform:scale(1.03);
}

.hero-content{
    text-align:center;
}

.hero-logo{
    width:110px;
    height:110px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:15px;
    color:#205b3d;
}

.hero-content p{
    font-size:20px;
    line-height:1.7;
    margin-bottom:30px;
    color:#444;
}

.hero-btn{
    display:inline-block;
    background:#0f2e1f;
    color:#f4ead9;
    text-decoration:none;
    padding:15px 40px;
    border-radius:40px;
    font-size:18px;
    font-weight:bold;
    transition:0.3s;
}

.hero-btn:hover{
    background:#163f2b;
    transform:translateY(-3px);
}

.slider-dots{
    position:absolute;
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#c9c9c9;
    cursor:pointer;
}

.dot.active{
    background:#205b3d;
}
.categories{
    width:90%;
    max-width:1400px;
    margin:60px auto;
    text-align:center;
}

.categories h2{
    font-size:32px;
    margin-bottom:40px;
    color:#205b3d;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.category-item{
    text-align:center;
    cursor:pointer;
    transition:0.3s;
}

.category-item img{
    width:170px;
    height:170px;
    object-fit:contain;
    border-radius:50%;
    background:#bce7f2;
    padding:20px;
    transition:0.3s;
}

.category-item:hover img{
    transform:scale(1.08);
}

.category-item p{
    margin-top:10px;
    font-weight:bold;
    color:#333;
}

.product-section{
    width:90%;
    max-width:1400px;
    margin:80px auto;
    background:#faf7f2;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.product-banner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.product-banner h2{
    color:#0f2e1f;
}

.product-banner a{
    text-decoration:none;
    color:#0f2e1f;
    font-weight:bold;
}

.product-slider{
    display:flex;
    flex-wrap:nowrap;
    gap:20px;

    overflow-x:auto;
    overflow-y:hidden;

    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;

    padding-bottom:15px;

    scrollbar-width:none;
    -ms-overflow-style:none;
}

.product-slider::-webkit-scrollbar{
    display:none;
}

.product-card{
    flex:0 0 auto;
    width:220px;

    background:#eee6d8;
    border: 1px solid #e5ded0;
     border-radius: 12px;
    padding:15px;
    text-align:center;

    scroll-snap-align:start;
    transition:0.3s;
    
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-card img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:12px;
}
.product-card h4{
    color: #1a1a1a;
    margin:10px 0 5px;
}

.product-card p{
    font-weight:bold;
    color:#2f6b33;
     font-weight: 600
}
.product-slider .product-card{
    display:flex;
    flex-direction:column;
}

.product-slider .product-card h4{
    flex-grow:1;
    display:flex;
    align-items:flex-start;
    justify-content:center;
}

.product-slider .product-card p{
    margin-top:auto;
}

@media(max-width:900px){

.category-grid{
    grid-template-columns:repeat(2,1fr);
}

.product-slider{
    gap:15px;
}

}

@media(max-width:600px){

.category-grid{
    grid-template-columns:1fr;
}

}


.featured-products{
    background-color: #faf7f2;
    width:90%;
    max-width:1400px;
    margin:80px auto;
      border-radius:18px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.featured-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    flex-wrap:wrap;
    gap:20px;
}

.featured-header h2{
    font-size:30px;
    color: #0f2e1f;
}

.featured-tabs{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.featured-tabs a{
   text-decoration:none;
    background-color: #ffffff;
     color: #0f2e1f;
    font-weight:500;
  border: 1px solid #e5ded0;
    padding:5px 10px;
    border-radius:20px;
    transition:0.25s ease;
    display:inline-block;
}

.featured-tabs a:hover{
    background:#26ad65;
    color:black;
    transform:translateY(-4px);
}

.featured-tabs a.active{
    background:#1b573a;
    color:#f4ead9;
     border-color: #0f2e1f;
}

.featured-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.featured-grid .product-card{
    background:#eee6d8;
    border-radius:15px;
    overflow:hidden;
    box-shadow:none;
    transition:0.3s;
    text-align:center;
}

.featured-grid .product-card:hover{
    transform:translateY(-8px);
}

.featured-grid img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.featured-grid h4{
    font-size:14px;
    padding:10px 5px 0;
}

.featured-grid p{
    font-weight:bold;
    color:#2f6b33;
    padding-bottom:15px;
}
.featured-grid .product-card{
    display:flex;
    flex-direction:column;
}

.featured-grid h4{
    flex-grow:1;
    display:flex;
    align-items:flex-start;
    justify-content:center;
}

.featured-grid p{
    margin-top:auto;
}


@media(max-width:1200px){
    .featured-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:700px){
    .featured-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .featured-header{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:500px){
    .featured-grid{
        grid-template-columns:1fr;
    }
}

.feature-cards{
    background-color: #faf7f2;
    width:90%;
    max-width:1400px;
    margin:80px auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.feature-box{
    display:flex;
     background-color: #eee6d8;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    transition:0.3s;
}

.feature-box:hover{
    transform:translateY(-6px);
}

.feature-box img{
    width:50%;
    height:100%;
    object-fit:cover;
}

.feature-content{
    padding:25px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.feature-content h2{
    font-size:24px;
    color:#0f2e1f;
    margin-bottom:10px;
}

.feature-content p{
    font-size:14px;
    color:#333;
    line-height:1.6;
    margin-bottom:20px;
}

.feature-content a{
    width:max-content;
    text-decoration:none;
  padding: 8px 16px;
     border: 1px solid #0f2e1f;
    border-radius:6px;
    color:#0f2e1f;
    transition:0.3s;
}

.feature-content a:hover{
    background:#26ad65;
    border-color:#26ad65;
    color:white;
}


@media(max-width:900px){
    .feature-cards{
        grid-template-columns:1fr;
    }

    .feature-box{
        flex-direction:column;
    }

    .feature-box img{
        width:100%;
        height:250px;
    }
}

.logo-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
}


.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;

    background:#D6B07A;
    min-width:200px;

    display:none;
    flex-direction:column;

    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    overflow:hidden;
    z-index:999;
}

.dropdown-menu a{
    padding:10px 15px;
    color:#1c180c;
    text-decoration:none;
    display:block;
    transition:0.2s;
}

.dropdown-menu a:hover{
    background:#26ad65;
    color:white;
}

.dropdown:hover .dropdown-menu{
    display:flex;
}
 .back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background:  #0f2e1f;
  color: #f4ead9;
  border: 2px solid #c9a66b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #c9a66b;
  color: #0f2a22;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #e8d5b8;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #0a1f1a;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 40px;
        gap: 25px;
        transition: left 0.4s ease;
        z-index: 1000;
    }

    .nav.active {
        left: 0;
         transform: none;
    }

    .nav a {
        font-size: 22px;
        padding: 10px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 22px;
    }
}
@media (max-width: 992px) {
    .header-container {
        position: relative;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .hero-slide {
        grid-template-columns: 1fr;
        min-height: 480px;
        padding: 25px;
        gap: 20px;
    }

    .hero-image img {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .product-slider {
        gap: 15px;
    }

    .product-card {
        width: 185px;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-box {
        flex-direction: column;
    }

    .feature-box img {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .product-card {
        width: 165px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        align-items: center;
    }

    .footer-about p {
        max-width: 100%;
    }

    .contact-sub {
        margin-left: 0;
        justify-content: center;
    }

    .footer-col h6 {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .social-media {
        justify-content: center;
    }
}
.nav-lang {
    display: none;
}

@media (max-width: 992px) {
    .header-right .flag {
        display: none;
    }
  .header-right .icon {
        display: none;
    }
    .nav-lang {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }

    .nav-lang .flag {
          width: 34px;
        height: 24px;
        object-fit: cover;
        border-radius: 4px;
        display: block;
    }
      .nav-lang .icon {
        font-size: 26px;
        line-height: 24px;
        display: block;
    }
}
@media (max-width: 1200px) {
    .featured-grid .product-card {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .product-section,
    .featured-products,
    .feature-cards {
        margin: 40px auto;
    }

    .hero-slider {
        margin: 20px auto 10px;
    }
}