/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - header.css'ten gelecek */



/* Logo Section */
.logo-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1000;
}

.logo-image {
    max-width: 400px;
    max-height: 150px;
    width: auto;
    height: auto;
    filter: brightness(0) contrast(1.2);
    opacity: 0;
    transform: translateY(50px) scale(0.7);
    animation: logoReveal 2.5s ease forwards 1s;
}

.logo-image.animation-complete {
    animation: none;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Back Button */
.back-button {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 10000;
    animation: slideInRight 0.8s ease-out;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
    border-color: rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

.back-link i {
    font-size: 12px;
}

/* Main Content */
.main-content {
    padding: 200px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Interiors Grid - Görseldeki düzene uygun */
.agz-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 0;
}

/* Tüm görseller aynı davranış */
.agz-gallery .slot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}
.agz-gallery .slot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}

/* --- DİZİLİM (görseldeki düzen birebir aynısı) --- */
/* Row 1: 2 kare görsel (yan yana) */
.agz-gallery .s01 { grid-column: 1 / span 6; grid-row: 1; height: 600px; }
.agz-gallery .s02 { grid-column: 7 / span 6; grid-row: 1; height: 600px; }

/* Row 2: 1 büyük kare görsel (2 karenin toplam genişliğinde) */
.agz-gallery .s03 { grid-column: 1 / span 12; grid-row: 2; height: 1200px; }

/* Row 3: 3 eşit görsel */
.agz-gallery .s04 { grid-column: 1 / span 4; grid-row: 3; height: 600px; }
.agz-gallery .s05 { grid-column: 5 / span 4; grid-row: 3; height: 600px; }
.agz-gallery .s06 { grid-column: 9 / span 4; grid-row: 3; height: 600px; }

/* Row 4: 1 büyük kare görsel (2. satırdaki gibi) */
.agz-gallery .s07 { grid-column: 1 / span 12; grid-row: 4; height: 1200px; }

/* Row 5: 3 eşit görsel (3. satırdaki gibi) */
.agz-gallery .s08 { grid-column: 1 / span 4; grid-row: 5; height: 600px; }
.agz-gallery .s09 { grid-column: 5 / span 4; grid-row: 5; height: 600px; }
.agz-gallery .s10 { grid-column: 9 / span 4; grid-row: 5; height: 600px; }

/* Row 6: 1 büyük kare görsel tekli */
.agz-gallery .s11 { grid-column: 1 / span 12; grid-row: 6; height: 1200px; }

/* Row 7: 3 eşit görsel (3'lü) */
.agz-gallery .s12 { grid-column: 1 / span 4; grid-row: 7; height: 600px; }
.agz-gallery .s13 { grid-column: 5 / span 4; grid-row: 7; height: 600px; }
.agz-gallery .s14 { grid-column: 9 / span 4; grid-row: 7; height: 600px; }

/* Row 8: 2'li kare görsel */
.agz-gallery .s15 { grid-column: 1 / span 6; grid-row: 8; height: 600px; }
.agz-gallery .s16 { grid-column: 7 / span 6; grid-row: 8; height: 600px; }

/* Row 9: 3'lü görsel */
.agz-gallery .s17 { grid-column: 1 / span 4; grid-row: 9; height: 600px; }
.agz-gallery .s18 { grid-column: 5 / span 4; grid-row: 9; height: 600px; }
.agz-gallery .s19 { grid-column: 9 / span 4; grid-row: 9; height: 600px; }

/* Row 10: 2'li görsel (20 ve 21 yanyana kare) */
.agz-gallery .s20 { grid-column: 1 / span 6; grid-row: 10; height: 600px; }
.agz-gallery .s21 { grid-column: 7 / span 6; grid-row: 10; height: 600px; }

/* Row 11: Büyük tekli kare */
.agz-gallery .s22 { grid-column: 1 / span 12; grid-row: 11; height: 1200px; }

/* Row 12: 3'lü görsel (BADAU 2-4) */
.agz-gallery .s23 { grid-column: 1 / span 4; grid-row: 12; height: 600px; }
.agz-gallery .s24 { grid-column: 5 / span 4; grid-row: 12; height: 600px; }
.agz-gallery .s25 { grid-column: 9 / span 4; grid-row: 12; height: 600px; }

/* Row 13: Büyük kare (son satır) */
.agz-gallery .s26 { grid-column: 1 / span 12; grid-row: 13; height: 1200px; }

/* Interior Overlay Styles */
.agz-gallery .slot .interior-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.agz-gallery .slot:hover .interior-overlay {
    opacity: 1;
}

.project-info {
    color: white;
    text-align: right;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-location {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.project-description {
    font-size: 12px;
    opacity: 0.7;
}

/* Mobil görünümde tüm görselleri zorla eşit kare yap */
@media (max-width: 1024px) {
    .agz-gallery .slot {
        width: 100% !important;
        height: 350px !important;
        aspect-ratio: 1 !important;
    }
    
    .agz-gallery .slot img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* Hamburger menü header.css'ten gelecek */
    
    
    .back-button {
        top: 50px !important;
        right: 15px !important;
        max-width: 50px;
        z-index: 10000 !important;
    }
    
    .back-button .back-link span {
        display: none;
    }
    
    .back-button .back-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ccc;
        padding: 0;
        gap: 0;
    }
    
    .logo {
        top: 40px !important;
        left: 50% !important;
        transform: translateX(-50%);
        z-index: 10001 !important;
    }
    
    .logo img, .customer-logo {
        max-width: 400px;
        height: auto;
        max-height: 150px;
        margin-top: 20px;
    }
    
    /* Mobilde tek tek düzenleme - İlk satırda 2 kare görsel */
    .agz-gallery {
        max-width: 100vw;
        padding: 10px;
        gap: 5px;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Tüm görseller büyük kare - mobilde tek sütun */
    .agz-gallery .s01 { grid-column: 1 / span 12; grid-row: 1; height: 350px; }
    .agz-gallery .s02 { grid-column: 1 / span 12; grid-row: 2; height: 350px; }
    .agz-gallery .s03 { grid-column: 1 / span 12; grid-row: 3; height: 350px; }
    .agz-gallery .s04 { grid-column: 1 / span 12; grid-row: 4; height: 350px; }
    .agz-gallery .s05 { grid-column: 1 / span 12; grid-row: 5; height: 350px; }
    .agz-gallery .s06 { grid-column: 1 / span 12; grid-row: 6; height: 350px; }
    .agz-gallery .s07 { grid-column: 1 / span 12; grid-row: 7; height: 350px; }
    .agz-gallery .s08 { grid-column: 1 / span 12; grid-row: 8; height: 350px; }
    .agz-gallery .s09 { grid-column: 1 / span 12; grid-row: 9; height: 350px; }
    .agz-gallery .s10 { grid-column: 1 / span 12; grid-row: 10; height: 350px; }
    .agz-gallery .s11 { grid-column: 1 / span 12; grid-row: 11; height: 350px; }
    .agz-gallery .s12 { grid-column: 1 / span 12; grid-row: 12; height: 350px; }
    .agz-gallery .s13 { grid-column: 1 / span 12; grid-row: 13; height: 350px; }
    .agz-gallery .s14 { grid-column: 1 / span 12; grid-row: 14; height: 350px; }
    .agz-gallery .s15 { grid-column: 1 / span 12; grid-row: 15; height: 350px; }
    .agz-gallery .s16 { grid-column: 1 / span 12; grid-row: 16; height: 350px; }
    .agz-gallery .s17 { grid-column: 1 / span 12; grid-row: 17; height: 350px; }
    .agz-gallery .s18 { grid-column: 1 / span 12; grid-row: 18; height: 350px; }
    .agz-gallery .s19 { grid-column: 1 / span 12; grid-row: 19; height: 350px; }
    .agz-gallery .s20 { grid-column: 1 / span 12; grid-row: 20; height: 350px; }
    .agz-gallery .s21 { grid-column: 1 / span 12; grid-row: 21; height: 350px; }
    .agz-gallery .s22 { grid-column: 1 / span 12; grid-row: 22; height: 350px; }
    .agz-gallery .s23 { grid-column: 1 / span 12; grid-row: 23; height: 350px; }
    .agz-gallery .s24 { grid-column: 1 / span 12; grid-row: 24; height: 350px; }
    .agz-gallery .s25 { grid-column: 1 / span 12; grid-row: 25; height: 350px; }
    .agz-gallery .s26 { grid-column: 1 / span 12; grid-row: 26; height: 350px; }
}

@media (max-width: 768px) {
    .agz-gallery .slot {
        width: 100% !important;
        height: 350px !important;
        aspect-ratio: 1 !important;
    }
    
    .agz-gallery .slot img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .logo img, .customer-logo {
        max-width: 400px;
        height: auto;
        max-height: 150px;
        margin-top: 20px;
    }
    
    .agz-gallery {
        padding: 10px;
        gap: 5px;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Tüm görseller büyük kare - mobilde tek sütun */
    .agz-gallery .s01 { grid-column: 1 / span 12; grid-row: 1; height: 350px; }
    .agz-gallery .s02 { grid-column: 1 / span 12; grid-row: 2; height: 350px; }
    .agz-gallery .s03 { grid-column: 1 / span 12; grid-row: 3; height: 350px; }
    .agz-gallery .s04 { grid-column: 1 / span 12; grid-row: 4; height: 350px; }
    .agz-gallery .s05 { grid-column: 1 / span 12; grid-row: 5; height: 350px; }
    .agz-gallery .s06 { grid-column: 1 / span 12; grid-row: 6; height: 350px; }
    .agz-gallery .s07 { grid-column: 1 / span 12; grid-row: 7; height: 350px; }
    .agz-gallery .s08 { grid-column: 1 / span 12; grid-row: 8; height: 350px; }
    .agz-gallery .s09 { grid-column: 1 / span 12; grid-row: 9; height: 350px; }
    .agz-gallery .s10 { grid-column: 1 / span 12; grid-row: 10; height: 350px; }
    .agz-gallery .s11 { grid-column: 1 / span 12; grid-row: 11; height: 350px; }
    .agz-gallery .s12 { grid-column: 1 / span 12; grid-row: 12; height: 350px; }
    .agz-gallery .s13 { grid-column: 1 / span 12; grid-row: 13; height: 350px; }
    .agz-gallery .s14 { grid-column: 1 / span 12; grid-row: 14; height: 350px; }
    .agz-gallery .s15 { grid-column: 1 / span 12; grid-row: 15; height: 350px; }
    .agz-gallery .s16 { grid-column: 1 / span 12; grid-row: 16; height: 350px; }
    .agz-gallery .s17 { grid-column: 1 / span 12; grid-row: 17; height: 350px; }
    .agz-gallery .s18 { grid-column: 1 / span 12; grid-row: 18; height: 350px; }
    .agz-gallery .s19 { grid-column: 1 / span 12; grid-row: 19; height: 350px; }
    .agz-gallery .s20 { grid-column: 1 / span 12; grid-row: 20; height: 350px; }
    .agz-gallery .s21 { grid-column: 1 / span 12; grid-row: 21; height: 350px; }
    .agz-gallery .s22 { grid-column: 1 / span 12; grid-row: 22; height: 350px; }
    .agz-gallery .s23 { grid-column: 1 / span 12; grid-row: 23; height: 350px; }
    .agz-gallery .s24 { grid-column: 1 / span 12; grid-row: 24; height: 350px; }
    .agz-gallery .s25 { grid-column: 1 / span 12; grid-row: 25; height: 350px; }
    .agz-gallery .s26 { grid-column: 1 / span 12; grid-row: 26; height: 350px; }
}

@media (max-width: 480px) {
    .agz-gallery .slot {
        width: 100% !important;
        height: 350px !important;
        aspect-ratio: 1 !important;
    }
    
    .agz-gallery .slot img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .logo img, .customer-logo {
        max-width: 400px;
        height: auto;
        max-height: 150px;
        margin-top: 20px;
    }
    
    .agz-gallery {
        padding: 8px;
        gap: 4px;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* Tüm görseller büyük kare - mobilde tek sütun */
    .agz-gallery .s01 { grid-column: 1 / span 12; grid-row: 1; height: 350px; }
    .agz-gallery .s02 { grid-column: 1 / span 12; grid-row: 2; height: 350px; }
    .agz-gallery .s03 { grid-column: 1 / span 12; grid-row: 3; height: 350px; }
    .agz-gallery .s04 { grid-column: 1 / span 12; grid-row: 4; height: 350px; }
    .agz-gallery .s05 { grid-column: 1 / span 12; grid-row: 5; height: 350px; }
    .agz-gallery .s06 { grid-column: 1 / span 12; grid-row: 6; height: 350px; }
    .agz-gallery .s07 { grid-column: 1 / span 12; grid-row: 7; height: 350px; }
    .agz-gallery .s08 { grid-column: 1 / span 12; grid-row: 8; height: 350px; }
    .agz-gallery .s09 { grid-column: 1 / span 12; grid-row: 9; height: 350px; }
    .agz-gallery .s10 { grid-column: 1 / span 12; grid-row: 10; height: 350px; }
    .agz-gallery .s11 { grid-column: 1 / span 12; grid-row: 11; height: 350px; }
    .agz-gallery .s12 { grid-column: 1 / span 12; grid-row: 12; height: 350px; }
    .agz-gallery .s13 { grid-column: 1 / span 12; grid-row: 13; height: 350px; }
    .agz-gallery .s14 { grid-column: 1 / span 12; grid-row: 14; height: 350px; }
    .agz-gallery .s15 { grid-column: 1 / span 12; grid-row: 15; height: 350px; }
    .agz-gallery .s16 { grid-column: 1 / span 12; grid-row: 16; height: 350px; }
    .agz-gallery .s17 { grid-column: 1 / span 12; grid-row: 17; height: 350px; }
    .agz-gallery .s18 { grid-column: 1 / span 12; grid-row: 18; height: 350px; }
    .agz-gallery .s19 { grid-column: 1 / span 12; grid-row: 19; height: 350px; }
    .agz-gallery .s20 { grid-column: 1 / span 12; grid-row: 20; height: 350px; }
    .agz-gallery .s21 { grid-column: 1 / span 12; grid-row: 21; height: 350px; }
    .agz-gallery .s22 { grid-column: 1 / span 12; grid-row: 22; height: 350px; }
    .agz-gallery .s23 { grid-column: 1 / span 12; grid-row: 23; height: 350px; }
    .agz-gallery .s24 { grid-column: 1 / span 12; grid-row: 24; height: 350px; }
    .agz-gallery .s25 { grid-column: 1 / span 12; grid-row: 25; height: 350px; }
    .agz-gallery .s26 { grid-column: 1 / span 12; grid-row: 26; height: 350px; }
}

