* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: serif;
}

body {
    background: #FFFFFF;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
button.burger-menu {
    display: none;
}
header {
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
}
header .container{
    align-items: center;
    display: flex;
}
header .container div{
    align-items: center;
    display: flex;
    margin-right: 5%;
}
header h2{
    color:#8b0502;
    font-size: 3rem;
}

header .logo img {
    height: 100px;
}

header nav ul {
    list-style: none;
    display: flex;
    width: 100%;
    gap: 25px;
}
header nav ul li{
    border: 2px solid transparent;
    padding: 10px;
    border-radius: 19%;
}
header nav ul li a:hover{
    color:black;
}
header nav ul li a {
    color:gray;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    font-family: revert;
}
header nav ul li:first-child{
    border: 2px solid #8b0502;
    border-radius: 25px; /* Oval Ãƒâ€¦Ã…Â¸ekil iÃƒÆ’Ã‚Â§in */
}
header nav ul li:first-child a{
    color:#8b0502;
}
header nav ul li:last-child{
    margin-left: auto;
}
header nav ul li:last-child a{
color: #8b0502;
}
nav {
    flex:2;
}
.hero {
    background: url("images/anasayfa.png") no-repeat;
    background-position:220% center;
    position: relative;
    text-align: center;
}

.hero .container {
    width: 100%;
    padding: 3% 0% 18% 19%;
    max-width: none;
}
.yazi{
    text-align: left;
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 600;
    color: #C16261;
}
.hero span{
    color:#8b0502;
}

.yazi p {
    padding: 10px;
    margin-left:11px;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
    color: #5b5858;
}

.hero svg, 
.hero img {
    margin-right: -25%;
    position: absolute;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: -2;
}
.hero svg{
    z-index: -2 !important;
    margin-right:0 !important;
}
.iletisim {
    gap: 50px;
    display: flex;
    color: #C16261;
    align-items: center;
}

.iletisim i {
    background: #8b0502;
    padding: 16px;
    border-radius: 100%;
    color: white;
}
.iletisim p {
    margin-top: 0;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7bab9;
    color: #8b0502;
    gap: 10%;
    font-weight: 600;
    padding: 0.5%;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 43% 0 43%;
    text-align: left;
    font-size: 21px;
  }
  
  .dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #8b0502;
    border-radius: 50%;
  }
/* Hizmetler */
.services {
    display: flex;
    gap: 30px;
    padding: 50px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.services>h1 {
    text-align:center;
    color: #C16261;
    font-size:3rem;
    margin:0% 35%;
}
.services>h1 span{
    color: #8b0502;
}
.services .container{
    display: flex;
    flex-wrap: wrap;  
}
.service {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    flex: 1;
    min-width: 400px;
}
.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}
.service h2 {
    color: #C16261 !important;
}
.service a{
    color:#8b0502;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-color: gray;
}
.besel {
    margin-top: 10%;
    position: relative;
    z-index: 1; /* Ensures the section content is above the SVG */
}

.besel .container {
    border-radius: 70px;
    display: flex;
    bottom: 140px;
    background: #F5F5F5;
    position: relative;
    z-index: 2; /* Makes sure the container is on top of the SVG */
    height: auto;
}

.besel .left {
    padding: 3%;
    flex: 1;
    z-index: 3;
}

.besel .right {
    z-index: 3;
    flex: 1;
}

.besel svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.besel .btn {
    display: flex;
    align-items: center;
    margin: 0 70% 0 0;
    background: #e5e4e4;
}

.besel .btn i.dot {
    width: 10px;
    height: 10px;
    background-color: #AA3C3A;
    border-radius: 50%;
    margin-right: 10px;
}
.right{
    background: url("images/hakkimizda.jpg") no-repeat;
    background-position:bottom left;
    background-size:150%;
    border-radius:70px;
}
.left>h1 {
    text-align: left;
    color: #C16261;
    font-size:3rem;
}
.left>h1 span{
    color: #8b0502;
}
.left p {
    line-height: 1.4;
    font-size: 30px;
}

.left .btn p {
    font-size: 20px;
}
/* Contact*/
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact .container {
    display: flex;
    background: #dbdbdb;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

/* SOL TARAF */
.contact  .left {
    background: #800000;
    color: white;
    padding: 100px;
    width: 60%;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact .title {
    margin: 10% 10% 0% 0%;
}
.contact .left .title span {
    background: white;
    color: #800000;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.5rem;
}
.contact .left h1 {
    color: white;
    font-size: 2.5rem;
    margin: 6% 10% 10% 0%;
}
.contact .left p.lab{
    margin: 10% 10% 0% 0%;
}
.contact .left p {
    font-size: 1rem;
    opacity: 0.8;
    margin: 10% 10% 10% 0%;
}

/* SAÄž TARAF */
.contact  .right {
    padding: 40px;
    border-radius: 0;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #dbdbdb;
}
.contact .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.contact .input-group input {
    flex: 1;
}
.contact input, textarea {
    width: 100%;
    background: #dbdbdb;
    padding: 15px;
    border: 2px solid #636363;
    border-radius: 5px;
    margin: 1%;
    font-size: 20px;
}
.contact textarea {
    height: 100px;
}
.contact button {
    background: #800000;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}
.contact button:hover {
    background: #600000;
}
/* PHOTO */
.photo {
    width: 100%;
    height: 60vh; /* TÃ¼m ekranÄ± kaplasÄ±n */
    margin-bottom: 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* TaÅŸmalarÄ± Ã¶nler */
}

.photo .arka-plan {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi tam sÄ±ÄŸdÄ±rÄ±r, kÄ±rpma yapabilir */
}
.hakkinda{
    display:flex;
  }
  .sidebar {
    width: 250px;
    flex:1; 
    color: white;
    padding: 20px;
  }

  .sidebar a {
    display: block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    font-weight: 600;
  }

  .content {
    flex: 2;
    padding: 30px;
  }
  .content h1{
    font-weight: 600;
  }
/********************************
   FOOTER STYLES
********************************/
.site-footer {
    background-color: #800000; /* Arka plan rengi */
    color: #fff;               /* Yazı rengi */
    padding: 30px;          /* Üst-alt boşluk */
    font-size: 14px;          /* Genel yazı boyutu */
}
  
  .footer-container {
    width: 90%;
    max-width: 1200px;
    margin:auto;
    gap:100px;
    display: flex;
    justify-content: space-between; /* Solda adres, sağda menü */
    align-items: flex-start;        /* Üst kısımdan hizala */
    flex-wrap: wrap;               /* Ekran daralınca alta geçsin */
  }
  
  /* Sol sütun */
  .footer-left {
    left:0;
    flex: 1 1 300px;  /* Min 300px yer kaplasın, mobilde alta geçer */
    margin-bottom: 20px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .footer-logo img {
    height: 90px;
    margin-right: 10px;
  }
  
  .footer-logo h2 {
    font-size: 40px;
    margin: 0;
  }
  
  .footer-address {
    margin-bottom: 10px;
    line-height: 1.5;
  }
   .footer-center {
    flex: 1 1 300px;  /* Min 300px yer kaplasın, mobilde alta geçer */
    margin-bottom: 20px;
  }
  /* Sağ sütun */
  .footer-right {
    font-size:20px;
    flex: 1 1 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column; /* Menü üstte, sosyal linkler altta */
    align-items: flex-start;
  }
  
  /* Menü */
  .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
  }
  
  .footer-menu li {
    margin-bottom: 5px;
  }
  
  .footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }
  
  .footer-menu li a:hover {
    color: #ffcc00; /* Hover rengi */
  }
  
  /* Sosyal Medya Linkleri */
  .social-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
    font-size: 18px;
  }
  
  .social-links a:hover {
    color: #ffcc00;
  }
  
  /* Responsive Ayarlar */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      gap: 0;
      align-items: flex-start;
    }
    .footer-left,
    .footer-center,
    .footer-right {
      text-align: center;
      flex: 0;
      width: 100%;
    }
    .footer-center,
    .footer-right {
      margin-top: 0;
      align-items: center;
    }
  }
  
  
/* Tablet ve daha kÃ¼Ã§Ã¼k cihazlar (Max 1024px) */
@media (max-width: 1024px) {
    *{
    text-align:center;
    justify-content:center;
    box-sizing: border-box;
    }
    body{
        width:100%;
    }
        section.besel {
    display:none;
    }
    .photo .arka-plan {
    display:none;
    }
    .hero img, 
    .hero svg {
        display: none; /* Mobilde gereksiz boÅŸluklarÄ± Ã¶nlemek iÃ§in */
    }
    .container {
        width: 95%;
    }
    header .container {
        flex-direction: column;
        text-align: center;
    }
    header .container div {
        margin-right: 0;
    }
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero .container {
        padding: 5% 5%;
        text-align: center;
    }
    .yazi {
        max-width: 100%;
        text-align: center;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .btn {
        margin: 0 auto;
        width: 60%;
        padding: 2%;
    }
    .services {
        flex-direction: column;
    }
    .services .container {
        flex-direction: column;
        align-items: center;
    }
    .service {
        min-width: 100%;
    }
    .besel .container {
        flex-direction: column;
        text-align: center;
    }
    .right {
        background-size: cover;
    }
    .contact{
        margin-bottom:5%;
    }
    .contact .container {
        flex-direction: column;
        border-radius: 50px;
    }
    .contact .title , .contact .left p{
    margin: 10% 0% 0% 0% !important;
    }
    .contact .left h1 , .contact .left .title span {
        font-size: 55px;
        margin-left:0;
        margin-right:0;
        text-align: center;
    }
    .contact input, .contact textarea, .contact button{
        font-size:40px;
         margin-left:0;
        margin-right:0;
    }
    .contact .left p{
         font-size: 35px;
        text-align: center;
    }
    .contact .left, 
    .contact .right {
        width: 100%;
        padding: 50px;
    }
    .photo{
        display:none;
    }
    .hakkinda{
        flex-direction: column;
    }
    .sidebar{
        width: auto;
    }
}

/* Mobil cihazlar (Max 768px) */
@media (max-width: 768px) {
    header h2 {
        font-size: 2.5rem;
    }
    header .logo img {
        height: 80px;
    }
    header nav ul {
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .container {
        padding: 10% 5%;
    }
    .yazi p {
        font-size: 16px;
    }
    .btn {
        width: 80%;
    }
    .services>h1 {
        margin: 0 auto;
        font-size: 2rem;
    }
    .besel .container {
        padding: 20px;
    }
    .besel .btn {
        margin: 0 auto;
    }
     .contact .left h1 , .contact .left .title span {
        font-size: 25px;
        margin-left:0;
        margin-right:0;
        text-align: center;
    }
     .contact .left p{
         font-size: 15px;
        text-align: center;
    }
    .contact {
        padding: 20px;
    }
    .contact input, 
    .contact textarea {
        font-size: 16px;
        padding: 10px;
    }
    .photo {
        height: 40vh;
    }
}

/* KÃ¼Ã§Ã¼k Mobil Ekranlar (Max 480px) */
@media (max-width: 480px) {
    header h2 {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .container {
        padding: 15% 5%;
    }
    .yazi p {
        font-size: 14px;
    }
    .btn {
        width: 90%;
        padding: 3%;
    }
    .services>h1 {
        font-size: 1.8rem;
    }
    .service h2 {
        font-size: 1.5rem;
    }
    .besel .left h1 {
        font-size: 2rem;
    }
    .contact .left h1 {
        font-size: 2rem;
    }
    .contact button {
        font-size: 14px;
        padding: 10px;
    }
    .photo {
        height: 30vh;
    }
    footer {
        padding: 10px 0;
    }
}
/* Sticky header ayarları (önceki kodlardan varsa koru) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
  }
  
  /* main içeriğin header yüzünden gizlenmemesi için boşluk bırak */
  main {
    margin-top: 160px; /* header yüksekliğine göre ayarla */
  }
  
  /* Burger Menü Düğmesi - Varsayılan olarak gizli */
  button.burger-menu {
    display: none;
  }
  
  /* Mobilde navbar ve burger menü ayarları */
  @media (max-width: 1024px) {
    /* Burger menü butonu */
    button.burger-menu {
      display: block;
      background: none;
      border: none;
      font-size: 2rem;
      color: #8b0502;
      margin-left: auto;
      z-index: 1001;
    }
    
    /* Navbar için animasyonlu ayarlar */
    header nav ul {
      /* display: none; yerine transform ve opacity kullanıyoruz */
      flex-direction: column;
      align-items: center;
      position: fixed;
      top: 80px; /* header yüksekliğine göre ayarla */
      left: 0;
      width: 100%;
      background: #fff;
      padding: 10px 0;
      z-index: 1000;
      
      /* Başlangıçta görünmez */
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none; /* Kapalı halde etkileşim olmaz */
      
      /* Geçiş ayarları */
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    /* active sınıfı eklendiğinde navbar animasyonla açılır */
    header nav ul.active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    header nav ul li:last-child{
        margin:0;
    }
  }
    