Upload index.html
Browse files- index.html +136 -13
index.html
CHANGED
|
@@ -120,6 +120,90 @@
|
|
| 120 |
html[lang="tr"] [data-lang="tr"] {
|
| 121 |
display: block;
|
| 122 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
</style>
|
| 124 |
</head>
|
| 125 |
|
|
@@ -146,8 +230,10 @@
|
|
| 146 |
</span>
|
| 147 |
</div>
|
| 148 |
<div class="flex space-x-4">
|
| 149 |
-
<a href="
|
| 150 |
-
|
|
|
|
|
|
|
| 151 |
</div>
|
| 152 |
</div>
|
| 153 |
</div>
|
|
@@ -156,7 +242,7 @@
|
|
| 156 |
<header id="mainHeader" class="sticky top-0 w-full z-50 transition-all duration-500 py-6">
|
| 157 |
<div class="container mx-auto px-6 flex justify-between items-center">
|
| 158 |
<div class="flex items-center">
|
| 159 |
-
<a href="
|
| 160 |
<img src="images/logo.png" alt="Logo" class="h-12 w-auto">
|
| 161 |
|
| 162 |
<!--
|
|
@@ -515,8 +601,8 @@
|
|
| 515 |
<span data-lang="tr">Deniz Manzarasıyla Bütünleşen Rüya Gibi Bir Yaşam</span>
|
| 516 |
<span data-lang="en">A Dream-like Life Integrated with Sea Views</span>
|
| 517 |
</p>
|
| 518 |
-
<a href="
|
| 519 |
-
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 520 |
PROJECT</a>
|
| 521 |
</div>
|
| 522 |
</div>
|
|
@@ -539,8 +625,8 @@
|
|
| 539 |
<span data-lang="tr">Mavi Sonsuzluğa Uyanmak</span>
|
| 540 |
<span data-lang="en">Waking up to the Blue Infinity</span>
|
| 541 |
</p>
|
| 542 |
-
<a href="
|
| 543 |
-
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 544 |
PROJECT</a>
|
| 545 |
</div>
|
| 546 |
</div>
|
|
@@ -564,8 +650,8 @@
|
|
| 564 |
<span data-lang="tr">Lüks Yaşamın En Saf Hali</span>
|
| 565 |
<span data-lang="en">The Purest Form of Luxury Living</span>
|
| 566 |
</p>
|
| 567 |
-
<a href="
|
| 568 |
-
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 569 |
PROJECT</a>
|
| 570 |
</div>
|
| 571 |
</div>
|
|
@@ -588,8 +674,8 @@
|
|
| 588 |
<span data-lang="tr">Körfez ve Orman Manzaralı Ferah Yaşam</span>
|
| 589 |
<span data-lang="en">Spacious Living with Gulf and Forest Views</span>
|
| 590 |
</p>
|
| 591 |
-
<a href="
|
| 592 |
-
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 593 |
PROJECT</a>
|
| 594 |
</div>
|
| 595 |
</div>
|
|
@@ -613,8 +699,8 @@
|
|
| 613 |
<span data-lang="tr">Şehrin Kalbinde Özel Yaşam Alanları</span>
|
| 614 |
<span data-lang="en">Private Spaces in the Heart of the City</span>
|
| 615 |
</p>
|
| 616 |
-
<a href="
|
| 617 |
-
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 618 |
PROJECT</a>
|
| 619 |
</div>
|
| 620 |
</div>
|
|
@@ -862,6 +948,34 @@
|
|
| 862 |
</div>
|
| 863 |
|
| 864 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 865 |
// Language State Management
|
| 866 |
let currentLang = 'tr';
|
| 867 |
|
|
@@ -960,6 +1074,15 @@
|
|
| 960 |
}
|
| 961 |
}
|
| 962 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 963 |
</body>
|
| 964 |
|
| 965 |
</html>
|
|
|
|
| 120 |
html[lang="tr"] [data-lang="tr"] {
|
| 121 |
display: block;
|
| 122 |
}
|
| 123 |
+
|
| 124 |
+
/* Lightbox Styles */
|
| 125 |
+
.lightbox {
|
| 126 |
+
display: none;
|
| 127 |
+
position: fixed;
|
| 128 |
+
inset: 0;
|
| 129 |
+
background: rgba(0, 0, 0, 0.95);
|
| 130 |
+
z-index: 2000;
|
| 131 |
+
padding: 2rem;
|
| 132 |
+
flex-direction: column;
|
| 133 |
+
align-items: center;
|
| 134 |
+
justify-content: center;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.lightbox.active {
|
| 138 |
+
display: flex;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.lightbox-content {
|
| 142 |
+
max-width: 90%;
|
| 143 |
+
max-height: 80vh;
|
| 144 |
+
position: relative;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.lightbox-img {
|
| 148 |
+
max-width: 100%;
|
| 149 |
+
max-height: 80vh;
|
| 150 |
+
object-fit: contain;
|
| 151 |
+
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.lightbox-close {
|
| 155 |
+
position: absolute;
|
| 156 |
+
top: -40px;
|
| 157 |
+
right: 0;
|
| 158 |
+
color: white;
|
| 159 |
+
font-size: 2rem;
|
| 160 |
+
cursor: pointer;
|
| 161 |
+
line-height: 1;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.lightbox-nav {
|
| 165 |
+
position: absolute;
|
| 166 |
+
top: 50%;
|
| 167 |
+
transform: translateY(-50%);
|
| 168 |
+
background: rgba(255, 255, 255, 0.1);
|
| 169 |
+
color: white;
|
| 170 |
+
width: 50px;
|
| 171 |
+
height: 50px;
|
| 172 |
+
display: flex;
|
| 173 |
+
align-items: center;
|
| 174 |
+
justify-content: center;
|
| 175 |
+
cursor: pointer;
|
| 176 |
+
transition: all 0.3s;
|
| 177 |
+
border-radius: 50%;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
.lightbox-nav:hover {
|
| 181 |
+
background: var(--primary-turquoise);
|
| 182 |
+
color: var(--brand-dark);
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.lightbox-prev {
|
| 186 |
+
left: -70px;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.lightbox-next {
|
| 190 |
+
right: -70px;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
@media (max-width: 768px) {
|
| 194 |
+
.lightbox-nav {
|
| 195 |
+
width: 40px;
|
| 196 |
+
height: 40px;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.lightbox-prev {
|
| 200 |
+
left: -10px;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
.lightbox-next {
|
| 204 |
+
right: -10px;
|
| 205 |
+
}
|
| 206 |
+
}
|
| 207 |
</style>
|
| 208 |
</head>
|
| 209 |
|
|
|
|
| 230 |
</span>
|
| 231 |
</div>
|
| 232 |
<div class="flex space-x-4">
|
| 233 |
+
<a href="javascript:void(0)" onclick="openLightbox('noa-terrace')"
|
| 234 |
+
class="hover:text-turquoise transition-colors">INSTAGRAM</a>
|
| 235 |
+
<a href="javascript:void(0)" onclick="openLightbox('noa-terrace')"
|
| 236 |
+
class="hover:text-turquoise transition-colors">LINKEDIN</a>
|
| 237 |
</div>
|
| 238 |
</div>
|
| 239 |
</div>
|
|
|
|
| 242 |
<header id="mainHeader" class="sticky top-0 w-full z-50 transition-all duration-500 py-6">
|
| 243 |
<div class="container mx-auto px-6 flex justify-between items-center">
|
| 244 |
<div class="flex items-center">
|
| 245 |
+
<a href="javascript:void(0)" onclick="openLightbox('noa-terrace')" class="flex items-center gap-3">
|
| 246 |
<img src="images/logo.png" alt="Logo" class="h-12 w-auto">
|
| 247 |
|
| 248 |
<!--
|
|
|
|
| 601 |
<span data-lang="tr">Deniz Manzarasıyla Bütünleşen Rüya Gibi Bir Yaşam</span>
|
| 602 |
<span data-lang="en">A Dream-like Life Integrated with Sea Views</span>
|
| 603 |
</p>
|
| 604 |
+
<a href="javascript:void(0)" onclick="openLightbox('noa-terrace')"
|
| 605 |
+
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase text-turquoise text-turquoise hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 606 |
PROJECT</a>
|
| 607 |
</div>
|
| 608 |
</div>
|
|
|
|
| 625 |
<span data-lang="tr">Mavi Sonsuzluğa Uyanmak</span>
|
| 626 |
<span data-lang="en">Waking up to the Blue Infinity</span>
|
| 627 |
</p>
|
| 628 |
+
<a href="javascript:void(0)" onclick="openLightbox('noa-star')"
|
| 629 |
+
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase text-turquoise hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 630 |
PROJECT</a>
|
| 631 |
</div>
|
| 632 |
</div>
|
|
|
|
| 650 |
<span data-lang="tr">Lüks Yaşamın En Saf Hali</span>
|
| 651 |
<span data-lang="en">The Purest Form of Luxury Living</span>
|
| 652 |
</p>
|
| 653 |
+
<a href="javascript:void(0)" onclick="openLightbox('som-blu')"
|
| 654 |
+
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase text-turquoise hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 655 |
PROJECT</a>
|
| 656 |
</div>
|
| 657 |
</div>
|
|
|
|
| 674 |
<span data-lang="tr">Körfez ve Orman Manzaralı Ferah Yaşam</span>
|
| 675 |
<span data-lang="en">Spacious Living with Gulf and Forest Views</span>
|
| 676 |
</p>
|
| 677 |
+
<a href="javascript:void(0)" onclick="openLightbox('izmir-35')"
|
| 678 |
+
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase text-turquoise hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 679 |
PROJECT</a>
|
| 680 |
</div>
|
| 681 |
</div>
|
|
|
|
| 699 |
<span data-lang="tr">Şehrin Kalbinde Özel Yaşam Alanları</span>
|
| 700 |
<span data-lang="en">Private Spaces in the Heart of the City</span>
|
| 701 |
</p>
|
| 702 |
+
<a href="javascript:void(0)" onclick="openLightbox('keya-bornova')"
|
| 703 |
+
class="inline-block text-[10px] font-black tracking-[0.3em] uppercase text-turquoise hover:text-turquoise transition-colors underline decoration-turquoise underline-offset-8">VIEW
|
| 704 |
PROJECT</a>
|
| 705 |
</div>
|
| 706 |
</div>
|
|
|
|
| 948 |
</div>
|
| 949 |
|
| 950 |
<script>
|
| 951 |
+
// Project Gallery Data
|
| 952 |
+
const projectGalleries = {
|
| 953 |
+
"noa-terrace": ["images/Noa Terrace/1.png", "images/Noa Terrace/2.png", "images/Noa Terrace/3.png", "images/Noa Terrace/4.png", "images/Noa Terrace/5.png"],
|
| 954 |
+
"noa-star": ["images/Noa Star/6.png", "images/Noa Star/7.png", "images/Noa Star/8.png"],
|
| 955 |
+
"som-blu": ["images/Som Blu/9.png", "images/Som Blu/10.png", "images/Som Blu/11.png", "images/Som Blu/12.png", "images/Som Blu/14.png"],
|
| 956 |
+
"izmir-35": ["images/İzmir 35/17.png", "images/İzmir 35/18.png", "images/İzmir 35/19.png", "images/İzmir 35/20.png"],
|
| 957 |
+
"keya-bornova": ["images/Keya Bornova/22.png", "images/Keya Bornova/23.png"]
|
| 958 |
+
};
|
| 959 |
+
let currentGallery = [];
|
| 960 |
+
let currentIndex = 0;
|
| 961 |
+
function openLightbox(projectId) {
|
| 962 |
+
currentGallery = projectGalleries[projectId];
|
| 963 |
+
currentIndex = 0;
|
| 964 |
+
updateLightbox();
|
| 965 |
+
document.getElementById("lightbox").classList.add("active");
|
| 966 |
+
document.body.style.overflow = "hidden";
|
| 967 |
+
}
|
| 968 |
+
function closeLightbox() {
|
| 969 |
+
document.getElementById("lightbox").classList.remove("active");
|
| 970 |
+
document.body.style.overflow = "auto";
|
| 971 |
+
}
|
| 972 |
+
function changeImage(step) {
|
| 973 |
+
currentIndex = (currentIndex + step + currentGallery.length) % currentGallery.length;
|
| 974 |
+
updateLightbox();
|
| 975 |
+
}
|
| 976 |
+
function updateLightbox() {
|
| 977 |
+
document.getElementById("lightboxImg").src = currentGallery[currentIndex];
|
| 978 |
+
}
|
| 979 |
// Language State Management
|
| 980 |
let currentLang = 'tr';
|
| 981 |
|
|
|
|
| 1074 |
}
|
| 1075 |
}
|
| 1076 |
</script>
|
| 1077 |
+
<!-- Lightbox Modal -->
|
| 1078 |
+
<div id="lightbox" class="lightbox" onclick="closeLightbox()">
|
| 1079 |
+
<span class="lightbox-close" onclick="closeLightbox()">×</span>
|
| 1080 |
+
<div class="lightbox-content" onclick="event.stopPropagation()">
|
| 1081 |
+
<img id="lightboxImg" src="" alt="Project Image" class="lightbox-img">
|
| 1082 |
+
<div class="lightbox-nav lightbox-prev" onclick="changeImage(-1)">❮</div>
|
| 1083 |
+
<div class="lightbox-nav lightbox-next" onclick="changeImage(1)">❯</div>
|
| 1084 |
+
</div>
|
| 1085 |
+
</div>
|
| 1086 |
</body>
|
| 1087 |
|
| 1088 |
</html>
|