/* -------------------------- Genel Sayfa Ayarları ------------------------------ */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #e6ebfa;
    box-sizing: border-box;
}

/* ------------------------------------- Header kısmı --------------------------------------- */

header{
    max-width: 1600px;
    margin: 5px;
}

.container-header{
    background: url(resim/background-iletisim.jpg) no-repeat;
    background-size: cover;
    background-position: right top;
    border-radius: 10px;
    height: 100vh;
    display: flex;
    align-items: top;
    justify-content: flex-start;
    text-align: left;
    padding: 50px;
}

.container-header h1{
    font-size: 50px;
    margin-bottom: 10px;
    color: #fff;
}

.container-header p{
    height: 400px;
}

.name{
    font-size: 50px;
    text-decoration: none;
    box-shadow: 0px 3px 0px gray; /* Altında kırmızı bir gölge oluşturur */
    padding-bottom: 2px;
    width: 120%;
}

.work{
    font-size: 30px;
}
  
.insta-buton {
    position: absolute;
    bottom: 60px;
    right: 60px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 22px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
  
.insta-buton:hover {
    transform: scale(1.25);
}
  
.insta-buton a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
  
.insta-buton a i {
    font-size: 32px;
}
  
@media (max-width: 768px) {
    .container-header {
      flex-direction: column;
      align-items: flex-start;
      padding: 30px 20px;
      height: auto;
      text-align: left;
      background-position: center top;
      position: relative; /* Instagram butonun container içinde kalmasını sağlar */
    }
  
    .container-header h1,
    .name {
      font-size: 32px;
      width: 100%;
    }
  
    .work {
      font-size: 20px;
    }
  
    .insta-buton {
      position: absolute;
      top: 440px;
      bottom: auto;
      right: 20px;
      font-size: 32px;
      padding: 6px 12px;
      border-radius: 18px;
    }
  
    .insta-buton a i {
      font-size: 32px;
    }
  }
  
  

/* ---------------------------------- Navbar ----------------------------- */

nav {
    position: absolute;
    top: 40px;
    right: 30px;
    width: 45%;
    background: transparent; /* Transparan arka plan */
    backdrop-filter: blur(40px); /* Blur efekti */
    padding: 15px;
    display: flex;
    justify-content: center;
    border-radius: 25px;
    z-index: 100;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

/* Menü listesi */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
}

nav ul li {
    display: inline;
}

/* Linkler */
nav ul li a {
    color: black;
    text-shadow: #333;
    font-size: 25px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Efekti: Yazı büyüme ve alt çizgi animasyonu */
nav ul li a:hover {
    transform: scale(1.1); /* Yazıyı büyüt */
    color: #0D98BA; /* Hafif renk değişimi */
}

/* Alt çizgi animasyonu */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0%; /* Başlangıçta görünmez */
    height: 3px;
    background: #0daaba; /* Çizgi rengi */
    transition: width 0.3s ease-out, left 0.3s ease-out;
}

/* Hover olunca çizgi ortadan yanlara genişlesin */
nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Aktif link */
nav ul li a.active::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
}

/* Aktif menü stili */
nav ul.menu li a.aktif {
    color: #0B5369;
    font-weight: bold;
  }

/* Mobil uyumlu tasarım */
@media (max-width: 768px) {
    
    /* Navbar */

    .menu-toggle {
        display: block;
        position: absolute;
        top: 5px;
        right: 10px;
        border: none;
        background: transparent;
        font-size: 30px;
        z-index: 101;
        color: #000;
        cursor: pointer;
    }

    nav {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 50%;
        padding: 0px;
    }

    nav ul.menu {
        flex-direction: column;
        display: none; /* Başlangıçta gizli */
        background: rgba(0, 0, 0, 0.8);
        padding: 25px;
        align-items: center;
        border-radius: 10px;
        position: absolute;
        top: 50px;
        right: 10px;
        width: 80%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    nav ul.menu.show {
        display: flex;
    }

    nav ul li a {
        font-size: 18px;
        padding: 10px;
        color: white;
    }

    /* Aktif menü stili */
    nav ul.menu li a.aktif {
    color: #0daaba;
    font-weight: bold;
  }
}

/* ---------------------------- İletişim bilgileri -------------------------- */

.iletisim-bilgileri-kapsayici {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.05);
}
  
.bilgi-kolon {
    flex: 1 1 300px;
}
  
.bilgi-kolon h2 {
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 2px solid #6c63ff;
    display: inline-block;
    padding-bottom: 5px;
    color: #444;
}
  
.bilgi-kolon ul {
    list-style: none;
    padding: 0;
}
  
.bilgi-kolon li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 22px;
}
  
.bilgi-kolon i {
    color: #6c63ff;
    font-size: 26px;
    min-width: 20px;
}
  
.bilgi-kolon a {
    color: #0daaba;
    text-decoration: none;
    word-break: break-word;
}
  
.bilgi-kolon a:hover {
    text-decoration: underline;
}
  
  /* Harita sütunu */
.harita-kolon {
    flex: 1 1 300px;
    min-height: 300px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}
  
  /* Responsive */
@media (max-width: 768px) {
    .iletisim-bilgileri-kapsayici {
      flex-direction: column;
      padding: 20px;
    }
  
    .harita-kolon {
      height: 250px;
    }
  
    .bilgi-kolon li {
      font-size: 15px;
    }
}
  

/* ----------------------------- İletişim Form alanları ------------------------------- */
      
.iletisim-kapsayici {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
  
.form-kolon {
    flex: 1;
    padding: 40px;
    background-color: #fff;
}
  
.form-kolon h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #444;
}
  
.form-kolon form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
  
.form-kolon input,
.form-kolon textarea {
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
  
.form-kolon button {
    background-color: #6c63ff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}
  
.form-kolon button:hover {
    background-color: #574fd6;
}
  
.gorsel-kolon {
    flex: 1;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.gorsel-kolon img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    padding: 20px;
}

#tesekkurMesaji {
    display: none;
    margin-top: 24px;
    padding: 16px 24px;
    background-color: #e6ffed;
    color: #217a3e;
    border: 1px solid #b6f0c2;
    border-left: 5px solid #4caf50;
    border-radius: 8px;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .iletisim-kapsayici {
      flex-direction: column;
    }
  
    .form-kolon, .gorsel-kolon {
      flex: 1 1 100%;
      padding: 20px;
    }
  
    .gorsel-kolon img {
      display: none; 
    }

    #tesekkurMesaji {
        font-size: 14px;
        padding: 12px 16px;
      }
}
  
  
/* ----------------------------- Footer alanı ------------------------------- */

.background-footer {
    background-color: #937dd3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 2 sütun: sol logo, sağ ikonlar */
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    width: auto;
}

.footer-logo {  
    display: flex;
    justify-content: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-nav ul li {
    display: inline;
}

.footer-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-nav ul li a:hover {
    color: #c13584; /* Instagram rengi gibi */
}

.social-icons {
    padding-right: 50px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #c13584; /* Instagram rengi gibi */
}

footer p {
    text-align: center;
    font-size: 12px;
    color: #333;
    margin: 20px 0;
}

@media (max-width: 768px) {
    
    .background-footer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 10px;
        row-gap: 15px;
    }

    .footer-nav {
        justify-content: center;
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
        padding-right: 0;
    }
}

html { scroll-behavior: smooth; }

/* Hedef bölüme gelirken üstten boşluk bırak (header yüksekliğinize göre ayarlayın) */
#iletisim-bilgileri { scroll-margin-top: 100px; }
