/* Global Styles (applies to all pages) */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-size: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

header {
    background: rgba(173, 216, 230, 0.7);
    color: #fff;
    padding: 1em 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

nav ul li {
    display: inline-block;
    margin: 0 5px;
    white-space: nowrap;
}

nav ul li.logo {
    margin-right: auto;
}

nav ul li.contact-info {
    margin-left: auto;
}

nav ul li a, .dropdown-column a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
    font-size: 16px;
    text-shadow: 0 0 4px #000;
}

nav ul li a:hover, .dropdown-column a:hover {
    color: #ddd;
}

nav ul li:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    text-align: right;
    max-width: 500px;
    margin: 5px;
    white-space: nowrap;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 16px;
    text-shadow: 0 0 4px #000;
}

.contact-info a:hover {
    transform: scale(1.04);
    color: #ddd;
}

.contact-info i {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.contact-info a:hover i {
    transform: rotate(10deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(173, 216, 230, 0.7);
    min-width: 200px;
    z-index: 1;
    padding: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.dropdown-row {
    display: flex;
}

.dropdown-column {
    flex: 50%;
}

.language-dropdown {
    min-width: 100px;
    padding: 5px;
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    flex: 1;
}

section {
    padding: 2em 0;
    width: 80%;
    margin: auto;
    color: #fff;
    text-shadow: 0 0 4px #000;
}

.welcome-box {
    padding: 40px 20px;
    border-radius: 10px;
    color: white;
    text-shadow: 0 0 4px #000;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.welcome-box h1 {
    margin-bottom: 20px;
    text-align: center;
}

.inner-box {
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    border: 1px solid white;
    text-align: left;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-shadow: 0 0 4px #000;
}

.inner-box p {
    margin: 0;
    text-align: left;
}

footer {
    text-align: center;
    padding: 1em 0;
    background: rgba(173, 216, 230, 0.7);
    color: #fff;
    margin-top: auto;
    text-shadow: 0 0 4px #000;
}

footer p {
    text-shadow: 0 0 4px #000;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.flag-icon {
    margin-right: 5px;
    font-size: 1em;
    vertical-align: middle;
}

/* Index Page Styles */
body.home-contact #home {
    padding: 1em 0;
}

body.home-contact #about-us {
    margin-top: 1px;
}

body.home-contact #areas-of-practice {
    margin-top: 1px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    max-width: 95%;
    margin: 0 auto;
}

.video-container video {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

/* About Us Page Styles */
.about-us {
    background: center/cover no-repeat fixed;
    background-image: url('img/6.jpg');
}

/* Partners Page Styles */
.partners {
    background: center/cover no-repeat fixed;
    background-image: url('img/5.jpg');
}

.founder {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.founder-photo {
    width: 100%;
    height: auto;
    max-width: 200px; 
    max-height: 250px; 
    object-fit: cover;
    margin-top: 30px;
}


.founder-info {
    max-width: 800px;
    color: #fff;
    text-shadow: 0 0 4px #000;
    overflow: hidden;
}

.founder-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 4px #000;
}
.founder-info a:hover {
    color: #ddd;
}

/* Practice Detail Page Styles */
.practice-areas {
    background: center/cover no-repeat fixed;
    background-image: url('img/4.jpg');
}

.practice-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

.practice-list li {
    width: 20%;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #ccc;
    padding: 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.practice-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 4px #000, 0 0 10px rgba(0, 0, 0, 0.5);
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    flex-direction: column;
    aspect-ratio: 1 / 1; 
    width: auto; 
}

.practice-list li:hover {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.practice-list li a:hover {
    color: #ddd;
    text-shadow: 0 0 8px #000, 0 0 15px rgba(0, 0, 0, 0.7);
}

.practice-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Contact Page Styles */
body.home-contact {
    background: center/cover no-repeat fixed;
    background-image: url('img/1.jpg');
}

.contact-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.contact-column {
    flex: 1;
    padding: 5px;
    text-decoration: none;
    color: inherit;
}

.contact-column a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 4px #000;
}
.contact-column a:hover {
    color: #ddd;
}


@media (max-width: 1280px) {
    nav ul {
        padding: 0 10px;
    }

    nav ul li.logo img {
        height: 30px;
    }

    nav ul li a, .dropdown-column a {
        font-size: 14px;
        padding: 5px 8px;
    }

    .contact-info a {
        font-size: 12px;
        padding: 4px 6px;
    }

    .contact-info i {
        font-size: 14px;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact-info {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .practice-list li {
        width: 30%;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 11px; /* Genel yazı boyutunu 1 punto büyüt */
    }

    body {
        background-size: contain; 

    }

    nav ul {
        flex-direction: column; /* Dikey yönlendirme */
        padding: 0 5px;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li.logo, .contact-info {
        margin: auto;
    }

    .contact-info {
        flex-wrap: nowrap;
        justify-content: center;
        padding: 5px;
    }

    nav ul li a, .dropdown-column a {
        font-size: 14px; /* Navigasyon ve dropdown linklerini 1 punto büyüt */
        padding: 4px 7px; /* Padding değerini büyüyen yazı boyutuna uygun hale getir */
    }

    .contact-info a {
        font-size: 13px; /* İletişim bilgilerindeki yazıları 1 punto büyüt */
        padding: 4px 6px; /* Padding değerini artır */
    }

    .contact-info i {
        font-size: 13px; /* İkonların boyutunu 1 punto büyüt */
    }

    .practice-list li {
        width: 48%; /* İki kutucuğu yan yana getirecek genişlik */
        margin: 10px 1%; /* Kenar boşluklarıyla ortalamak için margin */
        aspect-ratio: 1 / 1; /* Kare oranı koru */
    }

    .founder {
        flex-direction: column; /* Dikey yönlendirme */
        align-items: center;
        gap: 15px; /* Aralıkları azalt */
    }

    .founder-photo {
        max-width: 150px; /* Fotoğraf boyutunu küçült */
        max-height: 150px;
        object-fit: contain;
    }

    .founder-info {
        max-width: 100%; /* İçeriği genişlet */
        text-align: center; /* Ortala */
        font-size: 1.1em; /* Kurucu bilgilerini büyüt */
    }

    .contact-row {
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start; /* Başlıkların üstten hizalanmasını sağlar */
        gap: 10px;
    }

    .contact-column {
        width: 48%; 
        margin: 10px 1%; 
    }

    .welcome-box, .inner-box {
        width: 90%; 
        margin: 0 auto; 
        padding: 20px; 
    }

    .welcome-box h1 {
        font-size: 1.6em; /* Hoşgeldiniz kutusundaki başlıkları büyüt */
    }

    .inner-box {font-size: 1.1em;}

    .map-container {
        position: relative;
        width: 100%;
        max-width: 500px; 
        margin: auto;
    }

    .map-container::before {
        content: "";
        display: block;
        padding-bottom: 100%; 
    }

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .dropdown-content-a {
        justify-content: center; 
        margin-left: -40%;
        visibility: hidden;
        font-size: 1px;
        max-width: 1cm;
        max-height: 1cm;
    }
}










