*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box ;
    font-family: open sans, sans-serif;
}
.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}
.header {
    position:fixed;
    width: 100%;
    height: 120px;
    border-bottom: 1px solid grey;
    position: fixed;
    z-index: 150;
    background-color: #ffff;
    margin-bottom: 10px;
}

.header-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-title h1 {
    margin-top: 20px;
    padding-left: 20px;
    color: #876e29;
}

.main-title a {
    cursor: pointer;
    text-decoration: none;
}

.main-title p {
    padding-left: 20px;
    color: #6b5a2c;
}

.logo {
    width: 70px;
    height: 70px;
    margin-top: 25px;
}

.logo img {
    width: 100%;
    height: 100%;
}


.menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu li {
    list-style: none;
    margin: 20px 15px;
    padding: 10px 0px;
}

.menu li a:hover {
    background-color: rgb(240, 236, 231);
    border-radius: 10px;
    padding: 15px 0px;
    color: black;
}

.menu li a {
    color: #423f3f;
    font-size: 18px;
    text-decoration: none;
}

.languages {
    display: block;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.icons-languages {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    cursor: pointer;
    color: #423f3f;
}
.icons-languages span
{
    border-bottom: 1px solid #555;
}
.icons-languages span:hover
{
    color: #999999;
}
.icons-lg-item {
    width: 27px;
    height: 25px;
    margin-top:27px;
    cursor: pointer;
}

.icons-lg-item img {
    width: 100%;
    height: 100%;
}

.icons-lg-item:hover {
    background-color: rgb(184, 178, 178);
    border-radius: 8px;
}

.toggles {
    display: none; /* Ekran küçüldüğünde gösterilecek */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 200; /* Menü üstünde olması için */
}

.toggle-item {
    width: 30px;
    height: 4px;
    border-radius: 5px;
    background-color: black;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #423f3f;
    cursor: pointer;
    display: none;
}
@keyframes slideIn {
    from {
        transform: translateX(100%); /* Sağdan gelir */
    }
    to {
        transform: translateX(0); /* Menü ekrana kayar */
    }
}

@media (max-width: 992px) {
    .menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100%;
        background-color: #fff;
        color: #000;
        transform: translateX(100%); 
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: center;
    }
    
    .menu.active {
        display: flex; /* Menü aktif olduğunda görünür */
        transform: translateX(0); /* Menü sağdan kayar */
    }
    
    /* Liste Öğeleri */
    .menu li {
        list-style: none;
        width: 100%; /* Li'yi menünün tamamına yayalım */
        text-align: center; /* Li içeriğini yatayda ortalar */
    }
    
    /* Linkler */
    .menu li a {
        color: #423f3f;
        font-size: 16px;
        text-decoration: none;
    }
    
    /* Hover Durumu */
    .menu li a:hover
    {
        padding: 15px 35px;
    }
    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        font-size: 35px;
    }

    /* Ekran küçük olduğunda toggle butonunu göster */
    .toggles {
        display: flex; /* Burada toggle'ı görünür yapıyoruz */
    }
}
@media (max-width: 768px) {
    .menu.active {
        display: flex; /* Menü aktif olduğunda görünür */
        transform: translateX(0); /* Menü sağdan kayar */
    }
    
    .menu li {
        list-style: none;
        width: 100%; 
        text-align: center; 
    }

    .toggles {
        display: flex;
    }
}
@media (max-width: 576px) {
    .menu li a {
        font-size: 16px;
    }
}


/*Logo Ve Title Responsive Start*/
/* 1200px */
@media (max-width: 1200px) {
    .logo {
        width: 70px;
        height: 70px;
    }

    .header-title h1 {
        font-size: 2rem;
    }

    .main-title p {
        font-size: 1rem;
    }
}
/* 992px */
@media (max-width: 992px) {
    .logo {
        width: 60px;
        height: 60px;
    }

    .header-title h1 {
        font-size: 1.8rem;
    }

    .main-title p {
        font-size: 0.9rem;
    }
}

/* 768px */
@media (max-width: 768px) {
    .logo {
        width: 50px;
        height: 50px;
    }

    .header-title h1 {
        font-size: 1.6rem;
    }

    .main-title p {
        font-size: 0.8rem;
    }
    .languages
    {
        padding-top: 20px;
    }
}

/* 576px */
@media (max-width: 576px) {
    .logo {
        width: 40px;
        height: 40px;
    }

    .header-title h1 {
        font-size: 1.4rem;
    }

    .main-title p {
        font-size: 0.7rem;
    }
}

/* 480px */
@media (max-width: 480px) {
    .logo {
        width: 35px;
        height: 35px;
    }

    .header-title h1 {
        font-size: 1.2rem;
    }

    .main-title p {
        font-size: 0.6rem;
    }


    .main-title {
        text-align: center;
    }
}
/*Logo Ve Title Responsive Finish*/
/*! Homepage start*/
.homepage
{
    height: 100vh;
    margin-bottom: 40px;
}
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
    
}

.slide {
    min-width: 100%;
    height: 130vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.slide img
{
    width:100%;
    height: 100%;
}
.navigation-slider {
    position: absolute;
    bottom:50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.nav-btn {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 1rem;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 1200px) {
    .slide {
        height: 90vh;
    }
}

@media (max-width: 992px) {
    .slide {
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .homepage {
        height: 100%;
    }

    .slider {
        height: 100%;
    }

    .slide {
        height: 70vh;
    }

    .slide img {
        object-fit: cover;
    }

    .navigation-slider {
        bottom: 30px;
    }

    .nav-btn {
        padding: 0.8rem;
        margin: 0 8px;
    }
    .header-content
    {
        display: flex;
        justify-content: space-around;
    }
    .languages
    {
        padding-right: 70px;
    }
}

@media (max-width: 576px) {
    .slide {
        height: 60vh;
    }

    .nav-btn {
        padding: 0.6rem;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .slide {
        height: 50vh;
    }

    .nav-btn {
        padding: 0.5rem;
        margin: 0 4px;
    }
}


/* Sağdan kayan menü için animasyon */
@keyframes slideIn {
    from {
        transform: translateX(100%); /* Menü başlangıçta ekranın dışında */
    }
    to {
        transform: translateX(0); /* Menü sonradan ekrana gelir */
    }
}

@media (max-width: 992px) {
    /* Menü açıldığında animasyonu başlat */
    .menu.active {
        transform: translateX(0); /* Sağdan gelen menü ekrana kayar */
        animation: slideIn 0.5s ease-out forwards; /* Animasyon başlatılır */
    }
}


/*! Homepage finish*/

/*! About Start*/
.about
{
    height: auto;
    width: 100%;
}
.title-demirhan
{
    font-family:Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    padding: 50px 20px;
     color: #876e29;
     font-size: 35px;
}
.about-content
{
    padding-bottom: 15px;
}
.about-image-title-content
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
}
.about-paragraph-content
{
   margin-left:30px ;
   display: flex;
   justify-content: space-around;
   flex-wrap: wrap;
   text-align: center;
   padding-bottom: 40px;
   color:#423f3f ;
   max-width: 700px;
}
.about-title h1
{
    padding: 20px 15px
}
.about-image
{
    width: 400px;
    height: 400px;

}
.about-image img
{
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.about-image-title
{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.about-title
{
   
    text-align: center;
}
.about-paragraph p:nth-child(1)
{
    text-indent: 15px;
}
.about-paragraph 
{
    text-align: justify;
}
.about-paragraph p
{
    font-size: 17px;
}
/* Media Queries */
@media (max-width: 1200px) {
    .about-image {
        width: 350px;
        height: 350px;
    }
    .title-demirhan {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .about-image-title-content {
        flex-direction: column;
    }

    .about-image {
        width: 300px;
        height: 300px;
    }

    .title-demirhan {
        font-size: 26px;
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .about {
        height: auto;
    }

    .about-image {
        width: 300px;
        height: 300px;
    }

    .about-paragraph-content {
        margin-left: 0;
        padding: 20px;
    }

    .title-demirhan {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .about-image {
        width: 300px;
        height: 300px;
    }

    .about-paragraph p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-image {
        width: 250px;
        height: 200px;
    }

    .title-demirhan {
        font-size: 22px;
        padding: 30px 10px;
    }

    .about-paragraph p {
        font-size: 14px;
    }
}

/*! About Finish*/

/*! Law Services Start*/
.law-services {

    padding-bottom: 70px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 0 10px;
}

.cards-item1,
.cards-item2,
.cards-item3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px; /* Maksimum genişlik belirlendi */
    height: 380px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.cards-item1 {
    background-image: url(../img/sirket-danismanligi.jpg);
}

.cards-item2 {
    background-image: url(../img/online-law.jpg);
    color: #1e3d58;
}

.cards-item3 {
    background-image: url(../img/büro-danismaligi.jpg);
}

.cards-item1:hover,
.cards-item2:hover,
.cards-item3:hover {
    transform: scale(1.04);
}

.case-title  {
    font-size: 35px;
    text-align: center;
    position: relative;
    top: 70px;
    color: #fff;
    font-weight: bold;
}

.case-services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.case-services p {
    text-align: center;
    position: relative;
    top: 80px;
}

.btn-dava {
    text-decoration: none;
    color: #fff;
    background-color: #4d4949;
    padding: 15px 30px;
    margin-top: 90px;
    border-radius: 20px;
}

.btn-dava:hover {
    background-color: #fff;
    color: #000;
    transition: 0.6s all ease;
}

/* Media Queries */
@media (max-width: 1200px) {
    .cards-item1,
    .cards-item2,
    .cards-item3 {
        width: 48%;
        height: auto;
    }

    .case-title {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .cards-item1,
    .cards-item2,
    .cards-item3 {
        width: 48%;
        height: auto;
    }

    .case-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .cards-item1,
    .cards-item2,
    .cards-item3 {
        width: 90%;
        height: auto;
    }

    .case-title {
        font-size: 24px;
    }

    .btn-dava {
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    .cards-item1,
    .cards-item2,
    .cards-item3 {
        width: 100%;
        height: auto;
        margin-left: 15px;
        margin-right: 15px;
    }

    .case-title {
        font-size: 22px;
    }

    .btn-dava {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .cards-item1,
    .cards-item2,
    .cards-item3 {
        width: 100%;
        height: auto;
        margin-left: 15px;
        margin-right: 15px;
    }

    .case-title {
        font-size: 20px;
    }

    .btn-dava {
        padding: 8px 16px;
        top: 130px;
        margin-bottom: 15px;
    }
}

/*!Law Servies Finish*/
/*! NEW ADD ITEMS ABOUT LAW START*/
.law-practice-areas {
    padding: 40px 0;
    background-color: #f9f9f9;
   
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
    margin-top: 70px;
}

.practice-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
}

.practice-card h3 {
    margin-bottom: 10px;
    color: #A78834;
}

.practice-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
/*! NEW ADD ITEMS ABOUT LAW FINISH*/
/*! Blog start*/

.blog-container {
    height: auto;
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    height: auto;
    padding-bottom: 150px;
}
.blog-content
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 30px;
    gap: 20px;
}
.title-card
{
    width: 100%;
    text-align: center;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4d4949;
    font-size:27px;
    border-bottom: 0.5px solid #aeabab;
    border-top:   0.5px solid #aeabab;
}
.blog-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.blog-card:hover {
    transform: scale(1.05);
}

.blog-card img {
    width: 100%;
    height: auto;
}

.blog-card h3 {
    font-size: 1.5em;
    margin: 16px;
}

.blog-card p {
    font-size: 1em;
    margin: 16px;
    color: #555;
}

.blog-card .read-more {
    display: block;
    text-align: center;
    margin: 16px;
    padding: 10px 20px;
    background-color: #423f3f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.blog-card .read-more:hover {
    background-color: #F4C40F;
}

.more {
    text-align: center;
    margin-top: 20px;
}

.more-button {
    padding: 10px 20px;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
   
}

.more-button:hover {
    background-color: #0056b3;
}

/*! Blog finish*/
/*!Footer start*/
.footer {
    position: relative;
    background-color: #1a1a1a;
    color: #f1f1f1;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;

  }
  
  .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex: 1;
    min-width: 280px;
    padding: 20px;
  }
  
  .footer-logo {
    width: 160px;
    margin-bottom: 20px;
  }
  
  .footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: #cccccc;
  }
  
  .footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 2px solid #f1f1f1;
    display: inline-block;
    padding-bottom: 5px;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 14px;
    color: #cccccc;
    margin: 8px 0;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-section a:hover {
    color: #ffffff;
  }
  
  .social-links {
    margin-bottom: 15px;
  }
  
  .social-icon {
    margin-right: 10px;
    padding-right: 5px;
    color: #cccccc;
    transition: color 0.3s;
  }
  
  .social-icon:hover {
    color: #ffffff;
  }
  .social-icon i
  {
    font-size: 22px;
  }
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin: 10px 0;
  }
  
  .footer-links a {
    font-size: 14px;
    text-decoration: none;
    color: #cccccc;
  }
  
  .footer-links a:hover {
    color: #ffffff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #333333;
    padding-top: 15px;
    color: #999999;
    font-size: 13px;
  }
  @media (max-width:768px)
{
    .footer-logo
    {
        width: 90px;
        height: auto;
    }  
}
/*! Footer Finish*/
