@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #080808; 
    --second-bg-color: #131313;
    --text-color: #fff; 
    --main-color: #00ffee;
}

html{
     font-size: 100%;
     overflow-x: hidden;
}

body{
    background-color: var(--bg-color);
    color: var(--text-color);
}

span{
    color: var(--main-color);
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 12%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: 0.3s ease; /* yumuşak geçiş */
}

/* Scroll sonrası efekt */
.header.scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 1rem 12%; /* biraz küçülerek hoş görünür */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 12%;
    display: flex;
    justify-content: center;  /* ortalar */
    align-items: center;
    gap: 3rem; /* logo ile menü arası boşluk */
    z-index: 100;
    transition: 0.3s ease;
}

.logo {
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo{
    font-size: 3rem;
    color: var(--main-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3 ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
}

.logo span{
    text-shadow: 0 0 25px var(--main-color);
}

.navbar {
    display: flex;
    gap: 2rem; /* linkler arası boşluk */
    justify-content: center; /* ortaya hizalama */
    flex: 1; /* ortalamaya yardım etmesi için */
}

.navbar a{
        font-size: 1.brem;
        color: var(--text-color);
        margin-left: 4rem;
        font-weight: 500;
        transition: 0.3s ease;
        border-bottom: 3px solid transparent;      
}

.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}


.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    text-align: left;
    margin-top: 3rem;
}

.home-content h1{
    font-size: 7rem;
    font-weight: 500;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}

.home-img {
    border-radius: 80%;
}

.home-img img{
    width: 32vw;
    position: relative;
    top: 3rem;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
    0 50px var(--main-color),
    0 0 100px var(--main-color)
}

.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.7;
    max-width: 1000px; 
}

.social-icons {
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem; /* ikonlar arası boşluk */
}

.social-icons a {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* çember */
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: 2rem;
    transition: 0.3s ease-in-out;
    animation: glow 2s infinite alternate; /* parlayan efekt */
}

/* Hover durumu */
.social-icons a:hover {
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
}

/* Glow animasyonu */
@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--main-color), 0 0 10px transparent;
    }
    to {
        box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
    }
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: #00ffee;
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 300ms ease-in-out;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
    
     
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px;
    scrollbar-width: var(--main-color);
    box-shadow: 0 0 25px transparent;
    
} 

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

.text-animation {
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.text-animation span{
    position: relative;
}
 
.text-animation span::before{
    content: "" ;
    color: var(--main-color);
    animation: words 20s infinite;
    
}

.text-animation span::after{
    content: "";
    background-color: var(--bg-color);
    height: 100%;
    width: calc(100% + 8px);
    position: absolute;
    right: -8px;
    border-left: 3px solid var(--bg-color);
    animation: cursor 0.6s infinite, typing 20s steps(1) infinite;
}

.text-animation {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.text-animation span {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #333; /* imleç efekti */
  width: 0; 
  animation: typing 3s steps(20, end) forwards, blink .7s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.team-title {
  text-align: center;   /* Ortaya hizalar */
  font-size: 3rem;      /* Başlık boyutu, isteğe göre artırılabilir */
  font-weight: bold;    /* Kalın yapar */
  margin: 50px 0 20px 0; /* Üst ve alt boşluk */
  color: #333;          /* Renk, isteğe göre değiştirebilirsin */
}

.services {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 50px;
  color: #222;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #007BFF;
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

.aboutus-box {
  text-align: center;
  padding: 40px;
}

.heading {
  font-size: 96px;  /* 32px × 3 */
  margin-bottom: 80px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.aboutus-item {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
  justify-content: center;
}

.aboutus-item img {
  width: 360px;   /* 120px × 3 */
  height: auto;
  border-radius: 30px;
}

.aboutus-text h2 {
  margin: 0 0 30px;
  font-size: 66px; /* 22px × 3 */
}

.aboutus-text p {
  margin: 0;
  font-size: 48px; /* 16px × 3 */
  color: #444;
  line-height: 1.4;
}

.contact h2 {
  text-align: center;
}

.contact h2 {
  text-align: center;
  font-size: 96px; /* 32px × 3 */
}

.contact {
  padding: 60px 20px;
  background: #f9f9f9;
}

.contact h2 {
  text-align: center;
  font-size: 96px; /* 3 kat büyütülmüş başlık */
  margin-bottom: 50px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
}

button {
  padding: 15px;
  font-size: 18px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #0056b3;
}
.contact h2 {
  text-align: center;
  font-size: 96px; /* 3 kat büyütülmüş başlık */
  margin-bottom: 50px;
  color: black; /* yazıyı siyah yapar */
}
.contact h2 {
  text-align: center;
  font-size: 96px;
  margin-bottom: 50px;
  color: black;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 50px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  color: #333;
}

.info-item i {
  font-size: 48px;
  margin-bottom: 10px;
  color: #007bff;
}

.contact {
  position: relative;
  padding: 60px 20px;
  max-width: 800px;
  margin: 50px auto;
  background: #111; /* Arka plan koyu renkli olursa neon daha güzel görünür */
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

/* Neon animasyon çizgi */
.contact::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00fff0, #00ff7a, #00fff0, #00ff7a);
  background-size: 400% 400%;
  animation: animateBorder 6s linear infinite;
  border-radius: 20px;
  z-index: -1;
}

/* Animasyon tanımı */
@keyframes animateBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover efekt: parlaklık */
.contact:hover::before {
  filter: brightness(1.5);
}

/* İçerik üstte kalması için */
.contact > * {
  position: relative;
  z-index: 2;
}

.footer{
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background-color: var(--second-bg-color);

}

.footer .social{
    text-align: center;
    padding-bottom: 25px;
    color:var(--main-color)
 
}

.footer .social a {
    font-size: 25px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: 0.3 ease-in-out;
    
}

/* Mobil responsive ayarlar */
@media (max-width: 768px) {

    .header {
        padding: 1rem 5%;
    }

    #menu-icon {
        display: block;
        cursor: pointer;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%; /* başlangıçta gizli */
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 99;
    }

    .navbar.active {
        left: 0; /* aktif hâlde görünür */
    }

    .home {
        flex-direction: column;
        gap: 3rem;
        padding: 5rem 5%;
    }

    .home-content h1 {
        font-size: 3rem;
    }

    .home-content h3 {
        font-size: 2rem;
    }

    .home-content p {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .home-img img {
        width: 60vw;
        top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aboutus-item {
        flex-direction: column;
        gap: 2rem;
    }

    .aboutus-text h2 {
        font-size: 2rem;
    }

    .aboutus-text p {
        font-size: 1rem;
    }

    .contact h2 {
        font-size: 2.5rem;
    }

    .contact-form {
        width: 90%;
        margin: 0 auto;
    }

}