/*-------------------------------------
		1.General css (Reset code)
--------------------------------------*/
*{
    padding: 0;
    margin: 0;
}

*{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
}
body{
	font-family: 'Poppins', sans-serif;
	font-size:16px;
	color:#818998;
    text-transform:initial;
    max-width:1920px;
    margin:0 auto;
	overflow-x:hidden;
}

a,a:hover,a:active,a:focus {
	display:inline-block;
	text-decoration:none;
	color: #444a57;
	font-size:20px;
	padding:0;
    font-weight: 500;
    text-transform: capitalize;
}
h1,h2,h3,h4,h5,h6 { 
	margin: 0;
	color:#444a57;
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
}
p {
	margin: 0;
	color:#818998;
	font-size:16px;
    line-height: 1.8;
    text-transform: initial;
}
img{border:none;max-width:100%; height:auto;}
ul{
	padding: 0;
    margin: 0 auto;
    list-style: none;
}
ul li {
	list-style: none;
    display: inline-block;
	
}
select,input,textarea,button,.form-control{box-shadow:none;outline:0!important;}
button {background: transparent;border: 0;font-size: 16px;text-transform: capitalize;}

html,body{height: 100%;}

[placeholder]:focus::-webkit-input-placeholder {
  -webkit-transition: opacity 0.3s 0.3s ease; 
  -moz-transition: opacity 0.3s 0.3s ease; 
  -ms-transition: opacity 0.3s 0.3s ease; 
  -o-transition: opacity 0.3s 0.3s ease; 
  transition: opacity 0.3s 0.3s ease; 
  opacity: 0;
}
.owl-carousel {z-index: 0;}
/* section-header */
.section-header{
    position: relative;
    text-align: center;
}
.section-header h2{
    position: relative;
    font-size: 36px;
    font-weight: 500;
    padding-bottom: 35px;
    color: #fff;
}
.section-header h2:before {
    position: absolute;
    content: "";
    width: 200px;
    height: 2px;
    bottom: 0;
    left: 45%;
    margin-left: -42px;
    background: #fff;
}
.section-header p{color: #fff;text-transform: capitalize;margin-bottom:10px; margin-top: 20px;}
.section-header h2 span,.section-header p span{text-transform: lowercase;}

/* section-header */

/*=============Style css=========*/

/*-------------------------------------
        2.  Welcome-hero
--------------------------------------*/
.welcome-hero {
    position: relative;
    background:url(../images/backgrounds/jalileh_background_landing.png)no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome-hero:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 100%);
    z-index: 1;
}
.header-area{position: absolute;top:0;left:0;width: 100%;z-index: 99;}

/*.welcome-hero-txt*/
.welcome-hero-txt{text-align: center;padding:120px 20px;position:relative;z-index:2;}
.welcome-hero-txt h2 {
    font-size: 90px;
    color: #c5a059;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 12px;
    font-family: 'Rufina', serif;
}
.welcome-hero-txt p {
    font-size: 22px;
    color: #e8e8e8;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 6px;
}

/*.welcome-hero-txt*/


/*-------------------------------------
        3. Service 
--------------------------------------*/
.service { 
    position: relative;
    background:url(../images/backgrounds/background5.png)no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}
.service:before {
    position:absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,45,84,.60);
}

.single-service-item{
    margin-top: 30px;
    text-align: center;
    padding:55px 30px 60px;
    border-radius: 5px;
    margin-bottom: 30px;
    border: 3px solid #fff;
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}

.single-service-icon {
    display: inline-block;
    color: #fff;
}
.single-service-item h2 a {
    font-size:25px;
    color: #fff;
    margin: 35px 0 20px;
}
.single-service-item h2 a span {text-transform:  lowercase;}
.single-service-item p {padding-bottom: 35px;text-transform: initial;position: relative; color: #fff; font-weight: 400;}
.single-service-item p:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    background: #936e31;
    bottom: 0;
    left: 50%;
    margin-left: -10px;
}

.single-service-icon [class^="flaticon-"]:before,.single-service-icon[class*=" flaticon-"]:before,.single-service-icon [class^="flaticon-"]:after,.single-service-icon [class*=" flaticon-"]:after {font-size:60px;}
.single-service-item:hover .single-service-icon [class^="flaticon-"]:before,.single-service-item:hover .single-service-icon [class*=" flaticon-"]:before,.single-service-item:hover .single-service-icon [class^="flaticon-"]:after,.single-service-item:hover .single-service-icon [class*=" flaticon-"]:after {color:#fff;}


.single-service-item:hover h2 a,.single-service-item:hover p{color: #fff;}
.single-service-item:hover  p:before {background: #fff;}
.single-service-item:hover{box-shadow: 0 12px 30px 0px rgba(0,1,193,.2);background: #936e31;border: 1px solid #936e31;}


/*-------------------------------------
        4. New-cars (DEPRECATED - removed in favor of profile-card stack)
--------------------------------------*/
/* Note: This section is no longer used. Profile cards have replaced the carousel. */

/*-------------------------------------
        5. Contact
--------------------------------------*/
.contact {
    position: relative;
    background:url(../images/backgrounds/jalileh_background_landing.png)no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.contact:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,45,84,.60);
}

.footer-top {padding: 50px 0 10px;}

/*.footer-logo*/
.footer-logo a,.footer-logo a:hover,.footer-logo a:focus{
    display: inline-block;
    color: #fff;
    font-size: 24px;
    letter-spacing: 3px;
    font-family: 'Rufina', serif;
    font-weight: 700;
    text-transform:uppercase;
}
.single-footer-widget p {
    font-size: 14px;
    color: #fff;
    max-width: 650px;
    margin:30px 0 20px;
}
.footer-contact p {
    margin: 0;
    color: #fff;
}
.footer-contact ul li {
    display:  inherit;
    -webkit-transition: .5s; 
    -moz-transition:.5s; 
    -ms-transition:.5s; 
    -o-transition:.5s;
    transition: .5s;
}
.footer-contact ul li:hover{
    -webkit-transform:translateX(10px);
    -moz-transform:translateX(10px);
    -ms-transform:translateX(10px);
    -o-transform:translateX(10px);
    transform:translateX(10px);
}
.footer-contact ul li a {
    font-size:  14px;
    color:  #cfd0e3;
    font-weight:  300;
    padding-bottom: 13px;
}
.footer-contact ul li a span {text-transform: lowercase;}
.footer-newsletter p{
    color: #aeafc2;
    font-size: 14px;
    font-weight: 300;
    margin: 0 0 15px;
}
/*.footer-logo*/

.single-footer-widget {margin-bottom: 30px;}
.single-footer-widget h2 {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.single-footer-widget ul li {
    display:  inherit;
    -webkit-transition: .5s; 
    -moz-transition:.5s; 
    -ms-transition:.5s; 
    -o-transition:.5s;
    transition: .5s;
}
.single-footer-widget ul li:hover{
    -webkit-transform:translateX(10px);
    -moz-transform:translateX(10px);
    -ms-transform:translateX(10px);
    -o-transform:translateX(10px);
    transform:translateX(10px);
}
.single-footer-widget ul li a {
    font-size:  14px;
    color:  #cfd0e3;
    font-weight:  300;
    padding-bottom: 13px;
}
.single-footer-widget ul li a span {text-transform: lowercase;}
.footer-newsletter p{
    color: #aeafc2;
    font-size: 14px;
    font-weight: 300;
    margin: 0 0 15px;
}
/*hm-foot-email*/
.hm-foot-email{position: relative;}
.foot-email-box .form-control {
    background: #251603;
    display: block;
    padding: 15px 20px;
    outline:0!important;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    border:0;
}
.foot-email-box input[type="text"]{
    font-size: 12px;
    color: #936e31;
    font-weight: 300;
}
.foot-email-subscribe {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: transparent;
    color: #936e31;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foot-email-box .form-control:hover{
    box-shadow:0 5px 15px rgba(0,0,0,.4);
}
/*hm-foot-email*/
/*.footer-copyright */
.footer-copyright {
    padding: 20px 0 17px;
    border-top: 2px solid #251603;
}
.footer-copyright p,.footer-copyright p a {
    color: #a8a9bf;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}
.footer-social{text-align: right;}
.footer-social a i {
    color: #fff;
    opacity: .40;
    font-size: 14px;
    margin-left: 16px;
    -webkit-transition: .3s; 
    -moz-transition:.3s; 
    -ms-transition:.3s; 
    -o-transition:.3s;
    transition: .3s;
}
.footer-social i:hover{opacity: .70;}
/*.footer-copyright */

/*===============================
    Scroll Top
===============================*/
#scroll-Top  .return-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 40px;
    line-height: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background:#936e31;
	border:1px solid #936e31;
	border-radius:50%;
	-webkit-transition: .5s; 
	-moz-transition:.5s; 
	-ms-transition:.5s; 
	-o-transition:.5s;
    transition: .5s;
	z-index: 2;
}
#scroll-Top  .return-to-top:hover {
    background:#fff;
    color: #936e31;
	border:1px solid #936e31;
}

#scroll-Top  .return-to-top i{
    position:relative;
    bottom:0;

}

#scroll-Top  .return-to-top i{
    position: relative;
    animation-name: example;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-duration:1s;
}
@keyframes example {
    0%   {bottom:0px;}
    100%  {bottom:7px;}
}



.more-btn {
    display: inline-block;
    width: 250px;
    height: 60px;
    background: #936e31;
    color: #fff;
    border-radius: 3px;
    margin-top: -15px;
    margin-bottom: 35px;
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}
.more-btn:hover{
    background: #251603;
}
/*========================END=================


/* =======================================================
   SVEUBUHVATNA RESPONSIVE KORREKCIJA (Mobiteli i Tableti)
   ======================================================= */
@media (max-width: 991px) {
    /* Smanjivanje ogromnog desktop paddinga na Hero sekciji */
    .welcome-hero-txt {
        padding: 160px 15px 180px !important;
    }
    .welcome-hero-txt h2 {
        font-size: 42px !important;
        margin-bottom: 25px !important;
    }
    .welcome-hero-txt p {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }
}

@media (max-width: 768px) {
    /* 1. Globalni reset kontejnera da ništa ne ispada van ekrana */
    .container, .main-content, section, .welcome-hero, .service, .new-cars, .contact {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* 2. Prisilno slaganje Bootstrap/custom redova u kolonu (jedan ispod drugog) */
    .row, .row > [class*="col-"] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. Centriranje sekcijskih naslova i korekcija ukrasne linije (:before) */
    .section-header h2 {
        font-size: 28px !important;
        padding-bottom: 20px !important;
    }
    .section-header h2:before {
        left: 50% !important;
        margin-left: -100px !important; /* Polovina širine od 200px da bude fiksno u centru */
    }

    /* 4. Service sekcija - kartice se slažu u kolonu i centriraju */
    .single-service-item {
        width: 100% !important;
        max-width: 400px !important;
        margin: 15px auto !important; /* Centriranje kartice ako je ekran uzak */
        padding: 40px 20px 45px !important;
    }

    /* 5. New Cars sekcija i fiksna slika agenta/auta */
    .new-cars-content {
        padding-top: 30px !important;
    }
    .new-cars-txt {
        margin-left: 0 !important;
        text-align: center !important;
    }
    .agent-img {
        width: 100% !important;
        height: auto !important;
        max-width: 300px !important;
        margin: 0 auto 20px !important;
    }

    /* 6. Kontakt i Footer - Poravnanje elemenata */
    .footer-top {
        padding: 40px 0 10px !important;
        text-align: center !important;
    }
    .single-footer-widget {
        margin-bottom: 40px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .single-footer-widget p {
        margin: 15px auto !important;
    }
    .footer-contact ul li, .single-footer-widget ul li {
        display: block !important; /* Iz inline-block prebacujemo u blok da idu jedno ispod drugog */
        text-align: center !important;
    }
    .footer-contact ul li:hover, .single-footer-widget ul li:hover {
        transform: none !important; /* Isključujemo bježanje udesno na hover kod mobitela */
    }
    
    .footer-copyright {
        text-align: center !important;
    }
    .footer-social {
        text-align: center !important;
        margin-top: 15px !important;
    }
    .footer-social a i {
        margin: 0 10px !important; /* Jednak razmak između ikonica u centru */
    }
}

/* =======================================================
   DODATNA KOREKCIJA ZA JAKO MALE MOBITELE
   ======================================================= */
@media (max-width: 480px) {
    .welcome-hero-txt h2 {
        font-size: 32px !important;
    }
    .welcome-hero-txt p {
        font-size: 20px !important;
    }
    .foot-email-box .form-control {
        padding: 12px 15px !important;
    }
    #scroll-Top .return-to-top {
        right: 15px !important;
        bottom: 15px !important;
    }
}
