/*General settings*/
body{
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    font-family: 'Arial Narrow', sans-serif;
    font-weight: bold;
    flex-direction: column;
}
main{
    flex: 1;
}
/*Language Settings*/
.language-selector{
    position: absolute;
    bottom: 2rem;
    display: flex;
    gap: 1rem;
    width: 80%; 
}

.language-selector a{
    position: relative;
}
.language-selector a img{
    width: 1.25rem;
    height: 0.75rem;
    transition: transform 0.3s ease;
}

.language-selector a img:hover{
    transform: scale(1.4);
}

.language-selector a::after{
    content: attr(data-language);
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    font-size:0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3125rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.language-selector a:hover::after{
    opacity: 1;
}


/*Menubar settings*/
.menu-bar{
    width: 10%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;    
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    position: fixed;
}

/*Logo settings*/
.logo{
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 3.5rem;
}

.logo img{
    max-width: 80%;
    height: auto;
}

/*Menu list settings*/
.menu-bar ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    margin-left: 25%;
}

/*Menu connections*/
.menu-bar ul li a{
    text-decoration: none;
    color: #383e42;
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.4rem  0;
    transition: background-color 0.3s ease;
}

/*Hover effects*/
.menu-bar ul li a:hover{
    background-color: #383e42;
    color: #fff;
}

/*Sub Menu Style*/
.submenu{
    display: none;
    position: relative;
    left: -10%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.submenu li{
    width: 12.5rem;
    
}
.submenu li a{
    display: block;
    padding: 0.625rem 0.9375rem;
    color: #383e42;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.625rem !important; 
}
.submenu li a:hover{
    background-color: #383e42;
    color: #fff;
}
.menu-bar ul li.active .submenu{
    display: block;
}
.has-submenu:hover .submenu {
    display: block;
}

/*Photo Grid Settings*/
.photo-grid{
    width: 90%;
    margin-left: 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
}

.photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.photo:hover img{
    transform: scale(1.05);
    opacity: 0.3;
}

/*Photo Info Settings*/
.photo:hover .photo-info{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    background-color: none;
    padding: 0;
    border:none;
}

.photo-info h3,
.photo-info p {
    margin: 0.3125rem 0;
    color: black;
}

.photo::before,
.photo::after {
    content: none !important; /* Tüm pseudo-elementler tamamen kaldırıldı */
}

/*Footer settings*/
.site-footer {
    background-color: #fff;
    text-align: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: #383e42;
    border-top: 0.0625rem solid #ddd;
    margin-top: auto;
}

/*About Us Logo Settings*/
.logo-page{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}
.logo-page img{
    max-width: 50%;
    height: auto;
    border-radius: 0.625rem;
}
/*About Us Text Settings*/
.aboutus-text{
    margin: 1.25rem auto;
    margin-top: 7.5rem;
    width: 80%;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #383e42;
    font-family: Arial, sans-serif;
}
.aboutus-text p{
    margin: 0;
    padding: 0;
}
/*Map-Message Container*/
.map-message-container{
    display: flex;
    gap: 1.25rem;
    width: 90%;
    margin: 3.125rem auto;
}

/*Map Settings*/
.map-container{
    flex:3;
    height: 31.25rem;
    padding: 0 0.625rem;
    border: 0.125rem solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0px 0.25rem 0.50rem rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.map-container iframe{
    width: 120%;
    height: 100%;
    display: block;
    border: none;
    transform: translateX(3.75rem);
}

/*Message - Box Settings*/
.message-box{
    flex:1;
    height: 28.125rem;
    padding: 1.125rem;
    background-color: #f9f9f9;
    border: 0.0625rem solid #ddd;
    border-radius: 0.625rem;
    box-shadow: 0px 0.25rem 0.50rem rgba(0,0,0,0.1);
    text-align: center;
    z-index: 2;
}

.message-box h2{
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: #383e42;
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-form label{
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.3125rem;
}

.contact-form input{
    width: 100%;
    padding: 0.625rem;
    font-size: 0.875rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.3125rem;
    box-sizing: border-box;
    resize: none;
}
.contact-form textarea{
    width: 100%;
    height: 9.375rem;
    padding: 0.625rem;
    font-size: 0.875rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.3125rem;
    box-sizing: border-box;
    resize: none;
    overflow-y: auto;
    margin-bottom: 0.15625rem;
}

.contact-form button{
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    max-width: 12.5rem;
    color: #fff;
    font-weight: bold;
    background-color: #383e42;
    border: 0.125rem solid #383e42;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    display: block;
}
.contact-form button:hover{
    background-color: #fff;
    color: #383e42;
}

/*Social Media Links*/
.social-links{
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: -0.9375rem;
    margin-bottom: 0.625rem;
}
.social-links a{
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
}
.social-links img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    /*border-radius: 50%;*/
    transition: transform 0.3s ease;
}
.social-links img:hover{
    transform: scale(1.2);
}

/*Interior-Project Photo Settings*/
.project-photo-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütunlu düzen */
    grid-auto-rows: auto; /* Boş satırları kaldır */
    gap: 1.25rem;
    width: 90%;
    margin: 1.25rem 0 0 10%;
    height: auto !important; /* İçeriğe göre dinamik yükseklik */
    min-height: fit-content !important; /* Grid'in fazla yükseklik oluşturmasını engelle */
    align-content: start; /* Grid içeriğini yukarı hizala */
    overflow: hidden; /* Fazla boşlukları gizle */
}

.project-photo{
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}
.project-photo img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    object-fit: cover;
}
.project-photo-grid a:has(img[src=""]) {
    display: none; /* Boş olan resim linklerini tamamen kaldır */
    visibility: hidden;
}

/*Message Box-Answer_Modal*/
.modal{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform:translate(-50%,-50%);
    width: 80%;
    max-width: 18.75rem;
    background-color: #fff;
    padding: 1.25rem;
    border:0.0625rem solid #383e42;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.50rem rgba(0,0,0,0.2);
    text-align: center;
    color: #383e42;
}

.modal-content p{
    font-size: 1rem;
    margin-top: 1.25rem;
    color: #383e42;    
}

.modal-content button{
    background-color: #383e42;
    color: #ddd;
    border: none;
    padding: 0.625rem 1.25rem;
    border: 0.125rem solid #383e42;
    border-radius: 0.3125rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.modal-content button:hover{
    background-color: #ddd;
    color: #383e42;
}

/*Interior Projects Inside 3-Photos*/
.interior-3photo-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Tüm ekran yüksekliği */
    display: flex;
    flex-direction: column; /* Kolon düzeni */
    align-items: center; /* Ortalamak için */
    justify-content: space-between; /* Yukarı, aşağı ve orta mesafeyi ayarlamak için */
    padding: 1.25rem; /* Çerçeve boşluğu */
    box-sizing: border-box; /* Padding dahil */
}

.interior-3photo-container img {
    position: absolute;
    max-width: 24%; /* Fotoğrafların genişliğini sınırla */
    height: auto; /* Orantıyı koru */
    object-fit: contain; /* Fotoğrafın tam görünmesini sağla */
    border-radius: 0.3125rem; /* Hafif köşe yuvarlama */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* Hafif gölge */
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease; /* Geçiş animasyonu */
}

/*Interior Projects Inside 5-Photos*/
.interior-5photo-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ortalamak için */
    width: 100%;
    height: 100vh;
    gap: 0.9375rem; /* Üst ve alt satır arasındaki boşluk */
}

/* Üst sıradaki 3 fotoğraf */
.photo5-row {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
    width: 80%;
}

.photo5-row img {
    max-width: 30%; 
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Alt sıradaki 2 fotoğraf */
.photo5-row-bottom {
    display: flex;
    justify-content: center;
    gap: 0.9375rem;
    width: 50%;
}

.photo5-row-bottom img {
    max-width: 45%; /* 2 fotoğrafın eşit olması için */
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Interior 6 Fotoğraf Düzeni */
.interior-6photo-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ortalamak için */
    width: 100%;
    height: 100vh;
    gap: 1.25rem; /* Üst ve alt satır arasındaki boşluk */
    margin-left: 5%;
}

/* Üst sıradaki 3 fotoğraf */
.photo6-row {
    display: flex;
    justify-content: center;
    gap: 1.5625rem;
    width: 85%;
}

.photo6-row img {
    max-width: 30%;
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Alt sıradaki 3 fotoğraf */
.photo6-row-bottom {
    display: flex;
    justify-content: center;
    gap: 1.5625rem;
    width: 85%;
}

.photo6-row-bottom img {
    max-width: 30%;
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Interior 4 Fotoğraf Düzeni */
.interior-4photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    height: 100vh;
    gap: 1.25rem; /* Üst ve alt satır arasındaki boşluk */
    margin-left: 15%; /* Fotoğrafları sağa kaydırma */
    margin-top: 10%;
}

/* Üst sıradaki 3 fotoğraf */
.photo4-row {
    display: flex;
    justify-content: center;
    gap: 1.5625rem;
    width: 80%;
}

.photo4-row img {
    width: 30%; /* 4 fotoğrafın eşit olması için */
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Alt sıradaki 1 fotoğraf */
.photo4-row-bottom {
    display: flex;
    justify-content: center;
    width: 25%; /* Tek fotoğraf için genişlik */
    margin-top: 10%;
}

.photo4-row-bottom img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Interior 3.2 Fotoğraf Düzeni */
.interior-3_2-photo-container {
    display: flex;
    justify-content: space-evenly; /* Fotoğraflar arasında eşit boşluk bırak */
    align-items: center; /* Dikey hizalama */
    width: 90%;
    margin: 9.375rem auto 3.125rem; /* Sayfa içinde ortalama */
}

/* Fotoğrafların ortak ayarları */
.interior-3_2-photo-container img {
    width: 28%; /* 3 fotoğrafın eşit olması için */
    height: auto;
    object-fit: cover;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.photo3-2-left {
    margin-left: 5%;
}

/*Interior&Architecture Modal*/
.inside-modal {
    display: none; /* Başlangıçta görünmez */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Arka plan karartması */
    justify-content: center;
    align-items: center;
}

.inside-modal .modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 0.625rem; /* Hafif köşe yuvarlama */
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3); /* Hafif gölge efekti */
}

.inside-modal .close-modal {
    position: absolute;
    top: 0.625rem;
    right: 1.25rem;
    color: white;
    font-size: 1.875rem;
    font-weight: bold;
    cursor: pointer;
}

.photo3-left {
    top: 5%; /* Üst boşluk */
    left: 15%; /* Sol boşluk */
}

.photo3-right {
    top: 5%; /* Üst boşluk */
    right: 5%; /* Sağ boşluk */
}

.photo3-bottom {
    bottom: 0%; /* Alt boşluk */
    left: 55%; /* Ortala */
    transform: translateX(-50%);
}


@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Sayfayı tam kaplamasını sağlar */
    text-align: center;
}

.coming-soon .logo {
    width: 37.5rem; /* Logoyu küçültme */
    height: auto;
    margin-bottom: 1.25rem; /* Logoyu yazıdan ayırmak için boşluk bırakır */
}

.coming-soon h1 {
    font-size: 5rem; /* Yazıyı büyütme */
    font-weight: bold;
    color: #383e42;
    animation: blink 3s infinite;
}

.modal-next, .modal-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.875rem;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    cursor: pointer;
    user-select: none;
}

.modal-next {
    right: 0.625rem;
}

.modal-prev {
    left: 0.625rem;
}

.modal-next:hover, .modal-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* Mobil için özel fotoğraf konteyneri */
.mobile-photo-container {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 80%;
    margin: 2rem auto;
}

.mobile-photo-container img {
    width: 85%;
    height: auto;
    object-fit: cover;
    border-radius: 0.3125rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease;
}


@media (max-width:768px){
    body {
        height: auto;
    }
    /*Language Settings*/
.language-selector{
    bottom:1rem;
    width: 90%;
    gap:0.5rem;
}
.language-selector a img{
    width: 1rem;
    height: 0.6rem;
}
.language-selector a::after{
    font-size:0.65rem;
    padding: 0.15rem 0.4rem;
}
.logo{
    width:1500%;
    height: 10%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 1000%;
    margin-right: 100%;
}
.logo img{
    max-width: 60%;
}
.photo-grid{
    margin-top: 23%;
    margin-left: 23%;
    width: 70%;
    grid-template-columns: repeat(2, 1fr);
    gap:3%;
    margin-bottom: 5%;
}
.site-footer{
    padding: 0.5rem 1rem;
    margin-bottom: 0;
}
.aboutus-text{
    width: 63%;
    font-size: 0.875rem;
    margin-top: 5.75rem;
    line-height: 1.5;
}
.map-message-container{
    flex-direction: column;
    width: 75%;
    gap:1rem;
    margin-top: 20%;
    margin-left: 20%;
}
.map-container iframe {
    width: 120%;
    transform: translateX(-1rem);
}
.message-box{
    width:85%;
	height: 6rem;
}
.message-box h2{
    margin-bottom: 0.1rem;
    font-size: 1rem;
    gap:0.05rem;
}
	
.message-box textarea {
    height: 4rem;  /* Varsayılan yükseklik */
    font-size: 0.75rem; /* Font boyutunu küçülterek daha dengeli bir görünüm sağladık */
    padding: 0.5rem;
    }

.contact-form{
    gap:0.4rem;
}
.contact-form button {
    font-size: 0.875rem;
}
/* Message Box-Answer_Modal */
.modal {
    width: 90%;
    max-width: 16rem;
    padding: 1rem;
}
.modal-content p {
    font-size: 0.875rem;
}
.modal-content button {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}
.social-links {
    gap: 0.25rem;
    margin-top: -2.5rem;
    margin-bottom: 0.01rem;
}
.social-links img { 
    width: 2rem; 
    height: auto;
    }	
	
.project-photo-grid{
    margin-top: 25%;
    margin-left: 23%;
    width: 70%;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap:0.2rem;
    margin-bottom: 70%;
}
 /* Masaüstü fotoğraf container'larını gizle */
 .interior-3photo-container,
 .interior-5photo-container,
 .interior-6photo-container,
 .interior-4photo-container,
 .interior-3_2-photo-container {
     display: none;
 }

 /* Mobil fotoğraf container'ını göster */
 .mobile-photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20%;
    margin-left: 20%;
}

}