@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    background: #212529;    
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 50px;
}
.navbar h2 {
    color: #ffb742;
    font-weight: 600;
}
.navbar ul {
    display: flex;
}
.navbar ul li {
    list-style: none;
}
.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    margin-right: 25px;
    transition: color 0.3s ease;
}
.navbar ul li:hover a {
    color: #ffb742;
}
.navbar ul li:last-child a {
    margin: 0;
}

.main {
    height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.main h4 {
    font-size: 30px;
    color: #fff;
    font-weight: 600;
}
.main h4 span {
    color: #ffb742;
    text-decoration: underline;
}
.main p.title {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
    text-align: center;
}
.main p.subtitle {
    font-size: 20px;
    color: #ccc;
    margin-top: 20px;
}
.main img {
    /*width: 200px;
    height: 200px;*/
    margin-top: 100px;
}

.hizmetlerimiz .info h3 {
    --b: 2px;   /* control the border thickness */
    --w: 50vw;  /* control the width of the line*/
    --g: 25px;  /* control the gap */
    --c: #a71c20;
  
    width: fit-content;
    padding: 0 2em;
    line-height: 1.6em;
    border: 1px solid;
    color: #e5e5e5;
    background: conic-gradient(from   45deg at left ,var(--c) 25%,#0000 0) 0, conic-gradient(from -135deg at right,var(--c) 25%,#0000 0) 100%;
    background-size: 50% 100%;
    background-origin: border-box;
    background-repeat: no-repeat;
    border-image: linear-gradient(#0000 calc(50% - var(--b)/2), var(--c) 0 calc(50% + var(--b)/2), #0000 0) 1/0 var(--w)/calc(var(--w) + var(--g));
    margin-inline: auto;
  }

.guarantee {
    margin-top: 50px;
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.guarantee .item {
    background: #292b2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    border-radius: 10px;
    padding: 0 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-basis: 25%;
}
.guarantee .item:hover {
    border-color: #ffb742;
}
.guarantee .item .icon {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}
.guarantee .item:hover .icon {
    background-color: #ffb742;
}
.guarantee .item .icon i {
    font-size: 30px;
}
.guarantee .item .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.guarantee .item .info h3 {
    color: #ffb742;
    font-size: 24px;
}
.guarantee .item .info p {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
}
.guarantee .item > i {
    color: #fff;
    font-size: 30px;
    transition: color 0.3s ease;
}

.skills {
    padding: 100px 50px;
}
.skills .header {
    padding-bottom: 50px;
}
.skills .header .info h3 {
  --b: 2px;   /* control the border thickness */
  --w: 50vw;  /* control the width of the line*/
  --g: 25px;  /* control the gap */
  --c: #ffb742;

  width: fit-content;
  padding: 0 2em;
  line-height: 1.6em;
  border: 1px solid;
  color: #000;
  background: conic-gradient(from   45deg at left ,var(--c) 25%,#0000 0) 0, conic-gradient(from -135deg at right,var(--c) 25%,#0000 0) 100%;
  background-size: 50% 100%;
  background-origin: border-box;
  background-repeat: no-repeat;
  border-image: linear-gradient(#0000 calc(50% - var(--b)/2), var(--c) 0 calc(50% + var(--b)/2), #0000 0) 1/0 var(--w)/calc(var(--w) + var(--g));
  margin-inline: auto;
}
.skills .content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.skills .content .item {
    align-items: center;;
    background: #383e45;
    width: 250px;
    /*height: 320px;*/
    border-radius: 20px;
    padding: 20px;

}
.skills .content .item .referance-img {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;    
    height: 200px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255, 0.255)
}
.skills .content .item .referance-img.odak {
    background-image: url(./referanslar/odakHastanesi.jpg);
    background-size: cover;
}
.skills .content .item .referance-img.cadiMermer {
    background-image: url(./referanslar/cadiMermer.jpg);
    background-color: #fff;
}
.skills .content .item .referance-img.baharTekstil {
    background-image: url(./referanslar/baharTekstil.png);
    background-color: #fff;
}
.skills .content .item .referance-img.kalde {
    background-image: url(./referanslar/kalde.png);
    background-color: #fff;
}
.skills .content .item .referance-img.aynes {
    background-image: url(./referanslar/aynes.png);
    background-color: #fff;
}

.skills .content .item p {
    display: none;
    color: #fff;
    font-size: 14px;
    padding-top: 20px;
}

footer {
    position: relative;
    background: #1c1c1c;
    padding: 100px 50px 40px;
    margin-top: 100px;
}
footer .start {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    background-color: #ffb742;
    padding: 30px 25px;
    border-radius: 15px;
    width: 70%;
    top: -16%;
    left: 15%;
}
footer .start p {
    font-size: 13px;
    width: 45%;
}
footer .cols {
    display: flex;
    align-items: start;
}
footer .cols .about-col {
    flex: 3;
}
footer .cols .about-col h3 {
    color: #ffb742;
    margin-bottom: 20px;
}
footer .cols .about-col p {
    color: #ccc;
    font-size: 13px;
}
footer .cols .links-col {
    flex: 3;
}
footer .cols .links-col h4,
footer .cols .news-col h4 {
    color: #fff;
    margin-bottom: 20px;
}
footer .cols .links-col a {
    display: block;
    text-decoration: none;
    color: #7b7b7b;
    font-size: 14px;
    line-height: 26px;
    transition: color 0.3s ease;
}
footer .cols .links-col a:hover {
    color: #ffb742;
}
footer .cols .news-col {
    flex: 3;
}
footer .cols .news-col p {
    color: #7b7b7b;
    font-size: 15px;
}

@media screen and (max-width: 1100px) {
    .guarantee {
        flex-wrap: wrap;
        gap: 10px;
    }
    .guarantee .item {
        flex-basis: 49%;
    }
    .skills {
        justify-content: space-around;
    }
    .skills .content .item {
        height: 270px;
    }
    .skills .content .item .referance-img {
        height: 150px;
    }
    footer {
        margin-top: 150px;
    }
    footer .start {
        width: 90%;
        left: 5%;
        top: -20%;
    }
    footer .cols {
        flex-wrap: wrap;
    }
    footer .cols .about-col {
        flex-basis: 50%;
    }
    footer .cols .links-col {
        flex-basis: 50%;
    }
    footer .cols .news-col {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 780px) {
    .main h4 {
        font-size: 24px;
    }
    .main p.title {
        font-size: 36px;
    }
    .main p.subtitle {
        font-size: 14px;
    }
    .main img {
        margin-top: 40px;
        height: 150px;
    }
    .guarantee .item {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 650px) {
    .navbar {
        justify-content: center;
    }
    .navbar h2 {
        display: none;
    }
    .navbar ul li a {
        font-size: 14px;
    }
    .main {        
        margin-top: 50px;
        height: 320px;
        justify-content: start;
    }
    .main h4 {
        font-size: 20px;
    }
    .main p.title {
        font-size: 28px;
    }
    .main p.subtitle {
        font-size: 12px;
    }
    .main img {
        margin-top: 40px;
        /*width: 150px;*/
        height: 120px;
    }
    .skills {
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .start {
        top: -15%;
    }
    /*footer .start h3 {
        display: none;
    }*/
    footer .cols .about-col {
        flex-basis: 100%;
        margin-bottom: 40px;
    }
    footer .cols .links-col {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
    footer .cols .news-col {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 480px) {
    .main p.title {
        font-size: 18px;
    }
    .main p.subtitle {
        font-size: 10px;
    }
    .main img {
        margin-top: 40px;
        height: 100px;
    }
}