/*
 * Theme Name: 
 * Theme URI: 
 * Author: Milan Savov
 * Author URI/Mail: milan.savov@gmail.com
 * Version: 1.0
 * */

/* FONT
================================================== */
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?37927580');
  src: url('../fonts/fontello.eot?37927580#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?37927580') format('woff2'),
       url('../fonts/fontello.woff?37927580') format('woff'),
       url('../fonts/fontello.ttf?37927580') format('truetype'),
       url('../fonts/fontello.svg?37927580#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  margin-left: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-gplus:before { content: '\f0d5'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-linkedin:before { content: '\f0e1'; } /* '' */
.icon-up:before { content: '\f176'; } /* '' */

/* CUSTOM RESETS
================================================== */
a {
    transition: color 0.25s ease-in-out;
    -moz-transition: color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out;
}

a:hover {
    outline: 0 none;
    text-decoration: none;
}

h4 {
    font-size: 30px;
}

/* Buttons */ 
.btn {
    min-width: 200px;
    line-height: 50px;
    padding: 0 50px;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    transition: box-shadow 0.25s ease-in-out;
    -moz-transition: box-shadow 0.25s ease-in-out;
    -webkit-transition: box-shadow 0.25s ease-in-out;
    -o-transition: box-shadow 0.25s ease-in-out;
    -ms-transition: box-shadow 0.25s ease-in-out;
}

.btn-fill {
    color: #212121;
    background-color: #dbdbdb;
}

.btn-border {
    background-color: transparent;
    color: #dbdbdb;
    border: 1px solid #dbdbdb; 
}

.btn-border:focus {
    color: #dbdbdb;
}

.btn-fill:hover,
.btn-fill:focus {
    color: rgba(0, 0, 0, 0.349);
}

.btn:hover {
    box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.15);
}

/* Input fields */
.form-control {
    padding-left: 10px;
    border: 0;
    border-bottom: 1px solid #212121;
    border-radius: 0;
    background-color: transparent; 
    box-shadow: none;
    outline: 0 none transparent;
    -webkit-appearance:none;
 }

textarea {
    margin-top: 40px;
    min-height: 200px;
    resize: none;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: #e1e1e1;
}

::-moz-placeholder,
::-webkit-input-placeholder {
    font-size: 16px;
}

/* LAYOUT
================================================== */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    /* Default Text */
    color: #212121;
}

.img-res {
    display: block;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.visible-xxs {
    display: none;
}

/* Background-color */
.gray-bg {
    background-color: #e1e1e1;
}

/* HEADER
================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 5;
}

.site-logo img {
}

/* Navigation */
.navbar-nav > li > a {
    padding: 5px 0;
    font-weight: 600;
    /* Navbar Text */
    color: #dbdbdb;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease-in-out;
    -moz-transition: border-color 0.25s ease-in-out;
    -webkit-transition: border-color 0.25s ease-in-out;
    -o-transition: border-color 0.25s ease-in-out;
    -ms-transition: border-color 0.25s ease-in-out;
}

.navbar-nav.navbar-right {
    margin-right: 0;
}

.navbar-nav > li + li > a {
    margin-left: 30px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a,
.nav > li > a:hover,
.nav > li.active > a {
    background-color: transparent;
    border-bottom: 2px solid #dbdbdb;
}

.nav > li > a:focus {
    background-color: transparent;
}

/* HERO
================================================== */
.hero { 
    background: url(../img/hero.jpg) no-repeat center / cover; 
    height: 100%;
    width: 100%;
    min-height: 1200px;
}

#main::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0) 0%, #222222 100%);
}


.hero .container {
    position: relative;
    height: 100%;
}

.hero .col-md-6:first-child {
    position: absolute;
    top: 35%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index: 2;
}

.hero .col-md-6:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
}

.hero h1 {
    font-size: 46px;
    font-weight: 700;
    margin: 0 0 15px;
    text-transform: uppercase;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.9);
}

.job-title {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1;
} 

.hero img {
    height: 700px;
}

/*Added by GPT*/
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero .job-title {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 250px;
    height: auto;
}

.left-btn,
.right-btn {
    white-space: nowrap;
}

.test123{
    width: 80%;
}

/*Added by GPT BG*/
.custom-hero {
    position: relative;
    background: url('../img/BG_MainPage.png') no-repeat center center / cover;
    height: 100vh;
    width: 100%;
}

.custom-hero-LP {
    position: relative;
    background: black;
    height: 100vh;
    width: 100%;
}

.LPbutton {
    z-index: 999;
}


.overlay-content {
    position: absolute;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.overlay-content h1 {
    font-size: 48px;
    margin-bottom: -5px;
    color: #fff;
}

.overlay-content .job-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ddd;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.9);
}

/* Position buttons precisely — adjust these for your image */
.btn-left, .btn-right {
    position: absolute;
    z-index: 39;
    transition: all 0.3s ease-in-out;
}

/* Adjust these manually based on your image layout */
.btn-left {
    top: 540%;
    right: 100%;
}

.btn-right {
    top: 540%;
    left: 100%;
}

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

/* SITEMAIN
================================================== */
.site-main {
    position: relative;
    margin-bottom: 100px;
    background: linear-gradient(to bottom, #1c1c1c, #0e0e0e);
    z-index: 1;
}
/* site-section */
.site-section {
   padding-top: 120px;
}

.site-section b {
    font-weight: 700;
    font-size: 18px;
}

.site-section .container {
    color:#dbdbdb
}


.site-section h2,
.site-section h3 {
    font-size: 36px;
    margin: 0;
    text-transform: uppercase;
}

.img-lines {
    margin: 15px 0 40px;
}

.site-section p {
    margin-bottom: 30px;
}


.section-about {
    padding-top: 160px;
    padding-bottom: 160px;
}

/* Section: Skills */
.section-skills h3{
    margin-top: -40px;
    margin-bottom: -10px;
}
/* Main container */
.skills-wrapper {
  max-width: 65%;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Section subtitles */
.skill-category {
  font-size: 1.4em;
  font-weight: 600;
  color: #eee;
  text-align: center;
  margin: 10px 0 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
}

/* Card base */
.skill-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: #1e1e1e;
  text-align: center;
  padding: 20px 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
    min-height: 200px; /* Adjust this as needed for your tallest card */

}

/* Hover animation */
.skill-card:hover {
  transform: scale(0.97);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* Background image overlay */
.background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.07;
  z-index: 0;
}

/* Content layering */
.skill-card-content {
  position: relative;
  z-index: 1;
}

/* Icon styling */
.skill-icon {
  font-size: 30px;
  color: #ffd700;
  margin-bottom: 10px;
}

/* Title and level */
.skill-card h4 {
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition-delay: 0s, 0.1s; /* scale first, fade second */
}

.skill-level {
  font-size: 1.2em;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
    transition-delay: 0s, 0.1s;
  
}

/* Push-down hover effect: hidden by default */
.skill-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s ease;
  font-size: 0.9em;
  color: #ddd;
  padding-top: 10px;
}

/* Reveal on hover */
.skill-card:hover .skill-description {
  opacity: 1;
  max-height: 150px;
}

.skill-card:hover h4,
.skill-card:hover .skill-level {
  transform: scale(0.9);
opacity: 0.85;
}

/* Row spacing (slightly reduced) */
.row {
  margin-bottom: 10px;
}






.section-skills {
    padding-bottom: 120px;
}

.skill + .skill {
    margin-top: 20px;
}

.skill h4 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0 0 15px;
    margin-top: 50px;
}

.skill h3 {
    font-size: 24px;
    font-weight: bolder;
    text-transform: uppercase;
    margin: 0 0 15px;
    margin-top: 50px;
}

.progress {
    height: 15px;
    margin-bottom: 0;
    border-radius: 5px;
    background-color: #dfdfdf;
    box-shadow: none;
}

.progress-bar {
    background-color: #535353; 
}


/* Section: Services */
.section-services {
    position: relative;
    padding-top: 220px;
}

.section-services:before {
    content: '';
    background: url(../img/image00001.jpeg) no-repeat fixed center / cover;
    width: 100%;
    height: 400px; 
    position: absolute;
    left: 0;
    top: 0;
}

.overlay:after {
    content: '';
    width: 100%;
    height: 400px; 
    position: absolute;
    background-color: rgba(27, 26, 26, 0.5);
    top: 0;
    left: 0;
    z-index: 0;
}

.section-services .container {
    padding: 95px 100px;
    position: relative;
    background-color: #212121;
    box-shadow: 0px 0px 40px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.service h4 {
    margin: 25px 0;
    font-size: 24px;
    font-weight: 700;
}

.service h3 {
    margin: 21.5px 0;
    font-size: 32px;
    font-weight: 700;
}

.service p {
    color: #dbdbdb;
    margin-bottom: 25px;
}

/* Section: Portfolio */
.section-portfolio {
    padding-bottom: 120px;
}

.portfolio-item {
    height: 280px;
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* Only apply centering to the last row */
.section-portfolio .portfolio-row {
  display: flex;
  flex-wrap: wrap;
}

/* Center the last row if it has less than 3 items */
.section-portfolio .portfolio-row > .col-md-4:nth-last-child(-n+2):nth-child(3n+1),
.section-portfolio .portfolio-row > .col-md-4:nth-last-child(1):nth-child(3n+2),
.section-portfolio .portfolio-row > .col-md-4:nth-last-child(1):nth-child(3n+1) {
  margin-left: auto;
  margin-right: auto;
}

.portfolio-item:before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: background-color 0.25s ease-in-out;
    -moz-transition: background-color 0.25s ease-in-out;
    -webkit-transition: background-color 0.25s ease-in-out;
    -o-transition: background-color 0.25s ease-in-out;
    -ms-transition: background-color 0.25s ease-in-out;
}

.portfolio-item:hover:before{
    background-color: rgba(33,33,33,0.6);
}

.portfolio-item-info {
    position: absolute;
    top: 100px;
    left: 0px;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
    -ms-transition: opacity 0.25s ease-in-out, left 0.25s ease-in-out;
}

.portfolio-item:hover .portfolio-item-info {
    left: 30px;
    opacity: 1;
}

.portfolio-item-info h4 {
    margin: 0 0 5px;
    font-weight: 700;
    color: #fff;
}

.portfolio-item-info p {
    margin: 0 0 15px;
    color: rgba(255, 255, 255, 0.678);
}

.portfolio-item-info a {
    padding: 4px 7px 4px;
    font-size: 18px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

.portfolio-item-info a:hover {
    color: #212121;
    background-color: #fff;
}

.section-portfolio .btn {
    margin-top: 10px;
}

/* Modal */
.modal {
    z-index: 9999;
}

.modal-dialog {
    color:#dbdbdb;
}

.modal-content {
    border-radius: 0;
    box-shadow: 0px 0px 40px 8px rgba(0, 0, 0, 0.2);
    background-color: #212121;
}

.modal-header {
    position: relative;
    padding: 0;
    height: 500px;
}

.modal-header .close {
    position: absolute;
    right: 0;
    padding: 10px 11px;
    margin-top: 0;
    background-color: #fff;
    font-size: 16px;
    color: #212121;
    border-left: 1px solid #212121;
    border-bottom: 1px solid #212121;
    opacity: 1;
    transition: box-shadow 0.25s ease-in-out;
    -moz-transition: box-shadow 0.25s ease-in-out;
    -webkit-transition: box-shadow 0.25s ease-in-out;
    
    -o-transition: box-shadow 0.25s ease-in-out;
    -ms-transition: box-shadow 0.25s ease-in-out;
    z-index: 1;
}

.modal-header .close:hover {
    box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.2);
}

.modal-body h4 {
    font-weight: 700;
}

.modal-footer {
    text-align: center;
}

.modal-footer-empty {
    text-align: center;
    height: 5px;
    padding: 0;
}

/* Section: Counters */
.section-counters {
    background: url(../img/CodeBG.jpg) no-repeat fixed center / cover;
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.section-counters:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.section-counters h4 {
    color: #fff;
    margin: 25px 0 0;
}

.site-section p.counter {
    font-size: 100px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 0.8;
}

/* Section: Form*/
.section-form {
    padding-bottom: 130px;
}

.section-form .btn {
    margin-top: 40px;
}

/* FOOTER
================================================== */
.site-footer {
    position: absolute;
    bottom: 0;
    padding: 30px 0;
    width: 100%;
    background-color: #212121;
    z-index: 1;
}

.icon {
    line-height: 40px;
    padding: 9px 11px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
}

.icon + .icon {
    margin-left: 5px;
}

.icon i:before {
    margin:0;
}

.icon:hover {
    background-color: #fff;
}

.site-footer a {
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -moz-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -webkit-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
    -ms-transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

a.twitter-bg:hover {color: #55acee;}
a.facebook-bg:hover{color: #3b5998;}
a.instagram-bg:hover{color: #fd4874;}
a.gplus-bg:hover{color: #dd4b39;} 
a.linkedin-bg:hover {color: #007bb5;}
a.icon-up-bg:hover {color: #212121;}

.copyright {
    margin-bottom: 0;
    line-height: 40px;
    color: #fff;
    text-align: center;
}