/* --- TEMEL --- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    color: #1a1a1a; 
    background-color: #000; 
    overflow-x: hidden; 
}
html.no-scroll, body.loading { overflow: hidden; height: 100%; }
body.loading .morph-wrapper { display: none !important; }

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease-in-out;
}
.loader-container { width: 70vw; max-width: 800px; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 100000; }
.loader-logo { width: 100%; height: auto; display: block; margin-bottom: 40px; animation: logoEntrance 1s ease-out forwards; }
@keyframes logoEntrance { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
.loader-track { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.loader-bar { width: 0%; height: 100%; background: #C5A059; animation: fillBar 2.5s ease-in-out forwards; }
@keyframes fillBar { to { width: 100%; } }

/* --- SCROLL SNAP --- */
html { scroll-snap-type: y mandatory; }

/* --- NAVBAR --- */
nav {
    position: fixed; top: 0; width: 100%; height: 90px; padding: 0 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; color: #fff; transition: 0.4s ease;
}
nav.scrolled { background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
nav.scrolled a { color: #000; }
nav.scrolled .logo-center img { filter: none; }
nav.scrolled .btn-enquire { border-color: #000; color: #000; }
nav.scrolled .hamburger .bar { background-color: #000; }

nav a { color: #fff; text-decoration: none; margin: 0 15px; font-size: 0.75rem; letter-spacing: 2px; font-weight: 500; transition: 0.3s; position: relative; cursor: pointer; }
nav a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; background-color: #C5A059; transition: width 0.3s ease; }
nav a:hover::after { width: 100%; }
nav a:hover { color: #C5A059; }
nav .btn-enquire::after { display: none; }

.logo-center img { height: 42px; filter: brightness(0) invert(1); transition: 0.3s; }
.btn-enquire { border: 1px solid rgba(255,255,255,0.5); padding: 10px 25px; border-radius: 30px; transition: 0.3s ease; }
.btn-enquire:hover { background-color: #C5A059 !important; border-color: #C5A059 !important; color: #fff !important; }
nav.scrolled .btn-enquire:hover { background-color: #C5A059 !important; border-color: #C5A059 !important; color: #fff !important; }

/* --- HAMBURGER MENU --- */
.hamburger { display: none; cursor: pointer; z-index: 1002; }
.bar { width: 25px; height: 2px; background-color: #fff; margin: 6px 0; transition: 0.4s; }
.hamburger.active .bar1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: #fff !important; }
.hamburger.active .bar2 { opacity: 0; }
.hamburger.active .bar3 { transform: rotate(45deg) translate(-5px, -6px); background-color: #fff !important; }

/* --- MOBİL MENÜ (APPLE STYLE - FİNAL TASARIM) --- */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* Buzlu Cam Efekti: Yarı saydam siyah + Blur */
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.5s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-links { display: flex; flex-direction: column; text-align: center; gap: 30px; }

/* Standart Linkler: İNCE, BÜYÜK HARF, ARALIKLI */
.mobile-links a:not(.apple-btn) { 
    text-decoration: none !important; 
    border-bottom: none !important;
    color: #fff; 
    font-size: 1.2rem; 
    letter-spacing: 3px; /* Minimalist aralık */
    font-family: 'Montserrat', sans-serif; 
    font-weight: 200; /* Apple Thin */
    text-transform: uppercase;
    transition: 0.3s;
}
.mobile-links a:not(.apple-btn):hover { color: #C5A059; letter-spacing: 4px; }

/* Buton Konteyneri */
.mobile-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    align-items: center;
}

/* Genel Buton Stili (Apple Style) */
.apple-btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 50px;
    border-radius: 5px; /* Hafif köşe */
    display: inline-block;
    transition: 0.3s;
    text-align: center;
    min-width: 250px; /* Standart genişlik */
}

/* Teklif Al Butonu: Altın Çerçeve */
.btn-offer {
    border: 1px solid #C5A059 !important;
    color: #C5A059 !important;
    background: transparent;
}
.btn-offer:hover {
    background: #C5A059 !important;
    color: #000 !important;
}

/* Katalog Butonu: Beyaz Çerçeve */
.btn-catalog {
    border: 1px solid rgba(255,255,255,0.3) !important;
    color: #fff !important;
    background: transparent;
}
.btn-catalog:hover {
    background: #fff !important;
    color: #000 !important;
}

/* --- HERO --- */
.fixed-hero { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 0; display: flex; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; animation: breathe 20s infinite alternate ease-in-out; }
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
@keyframes breathe { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
.hero-label { display: block; font-size: 0.8rem; letter-spacing: 4px; color: #C5A059; margin-bottom: 20px; font-weight: 600; }
.hero-content { color: #fff; margin-top: -50px; z-index: 2; position: relative; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 5.5rem; letter-spacing: 2px; line-height: 1; margin-bottom: 20px; font-weight: 400; opacity: 0; animation: fadeUp 1.5s forwards 0.5s paused; }
.hero-sub { font-size: 0.8rem; letter-spacing: 8px; font-weight: 300; opacity: 0; animation: fadeUp 1.5s forwards 1s paused; }
.hero-animate .hero-title, .hero-animate .hero-sub { animation-play-state: running; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- SCROLL INDICATORS --- */
.scroll-downs { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 34px; height: 55px; opacity: 0.8; }
.mousey { width: 3px; padding: 10px 12px; height: 35px; border: 2px solid #fff; border-radius: 25px; opacity: 0.75; box-sizing: content-box; }
.scroller { width: 3px; height: 10px; border-radius: 25%; background-color: #fff; animation-name: scroll; animation-duration: 2.2s; animation-timing-function: cubic-bezier(.15,.41,.69,.94); animation-iteration-count: infinite; }
@keyframes scroll { 0% { opacity: 0; } 10% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(15px); opacity: 0;} }
.mobile-scroll { display: none; } 
.finger-swipe { text-align: center; color: #fff; opacity: 0.8; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.finger-swipe i { font-size: 1.5rem; animation: handMove 2s infinite ease-in-out; }
.swipe-arrow { font-size: 0.8rem; opacity: 0; animation: arrowFade 2s infinite ease-in-out; }
@keyframes handMove { 0% { transform: translateY(10px); opacity: 0; } 30% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-20px); opacity: 0; } }
@keyframes arrowFade { 0% { opacity: 0; transform: translateY(5px); } 50% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-5px); } }

/* --- MORPH KUTUSU --- */
.morph-wrapper { position: relative; z-index: 10; margin-top: 100vh; min-height: 100vh; display: flex; justify-content: center; pointer-events: none; }
.morph-box { background-color: #fff; width: 20%; border-radius: 500px 500px 0 0; padding-top: 100px; padding-bottom: 0; box-shadow: 0 -20px 50px rgba(0,0,0,0.5); position: relative; pointer-events: auto; overflow: hidden; }

/* --- BÖLÜMLER --- */
.intro-section { padding: 120px 10%; position: relative; }
.intro-flex { display: flex; align-items: center; gap: 80px; }
.intro-text { flex: 1; }
.intro-img { flex: 1.2; overflow: hidden; border-radius: 20px; box-shadow: 20px 20px 60px rgba(0,0,0,0.15); }
.intro-img img { width: 100%; height: 600px; object-fit: cover; }
.mag-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; color: #111; font-weight: 400; font-style: normal; }
.gold-italic { color: #C5A059; font-style: italic; font-weight: 400; font-size: 4.5rem; }
.mag-desc { font-size: 1rem; line-height: 1.8; color: #555; margin-bottom: 40px; font-weight: 300; }
.link-underline { color: #000; text-decoration: none; border-bottom: 1px solid #C5A059; padding-bottom: 5px; letter-spacing: 1px; font-size: 0.9rem; }

.pdf-download-section { padding: 60px 10%; background: #fdfdfd; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.pdf-container { display: flex; align-items: center; justify-content: space-between; }
.pdf-left { display: flex; align-items: center; gap: 20px; }
.pdf-icon { font-size: 3rem; color: #C5A059; }
.pdf-info h4 { font-family: 'Playfair Display'; font-size: 1.2rem; color: #111; margin-bottom: 5px; }
.pdf-info p { color: #777; font-size: 0.9rem; }
.btn-pdf { text-decoration: none; color: #000; border: 1px solid #000; padding: 12px 30px; border-radius: 30px; font-size: 0.8rem; font-weight: 600; transition: 0.3s; }
.btn-pdf:hover { background: #000; color: #fff; }

.process-section { padding: 120px 8%; background: #fff; }
.sec-head { text-align: center; margin-bottom: 80px; padding-top: 50px; }
.sec-head h3 { font-family: 'Playfair Display', serif; font-size: 3rem; color: #111; font-weight: 400; }
.sec-head p { color: #888; margin-top: 15px; font-style: italic; font-family: 'Playfair Display'; font-size: 1.1rem; }
.staggered-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.proc-card { background: #fff; border: 1px solid #eee; transition: 0.4s; height: 550px; display: flex; flex-direction: column; overflow: hidden; }
.down-shift { margin-top: 80px; }
.proc-img-box { width: 100%; height: 220px; overflow: hidden; }
.proc-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.proc-card:hover .proc-img-box img { transform: scale(1.1); }
.proc-content { padding: 25px; flex: 1; }
.proc-num { font-family: 'Playfair Display'; font-size: 3rem; color: #C5A059; opacity: 0.8; margin-bottom: 10px; line-height: 1; }
.proc-card h4 { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; margin-bottom: 15px; line-height: 1.3; font-weight: 600; color: #000; }
.fancy-amp { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; color: #C5A059; font-size: 1.3rem; margin: 0 5px; }
.fancy-amp-sm { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; color: inherit; font-size: 1.3rem; margin: 0 2px; }
.proc-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }

.fullscreen-split { display: flex; height: 100vh; width: 100%; overflow: hidden; scroll-snap-align: start; margin-bottom: 20px; background: #fff; }
.fullscreen-split.reverse { flex-direction: row-reverse; }
.fs-image { flex: 1; height: 100%; overflow: hidden; }
.fs-image img { width: 100%; height: 100%; object-fit: cover; transition: 1s; }
.fullscreen-split:hover .fs-image img { transform: scale(1.05); }
.fs-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 8%; background: #fff; }
.fs-tag { font-size: 0.8rem; letter-spacing: 3px; color: #C5A059; font-weight: 600; margin-bottom: 30px; display: block; }
.fs-title { font-family: 'Playfair Display'; font-size: 4rem; line-height: 1.1; margin-bottom: 40px; color: #111; }
.fs-desc { font-size: 1.1rem; line-height: 1.8; color: #555; max-width: 600px; font-weight: 300; }

.services-section { padding: 120px 10%; background: #fff; scroll-snap-align: start; }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.serv-item { text-align: center; padding: 50px 30px; border: 1px solid transparent; transition: 0.4s; border-radius: 10px; }
.serv-item:hover { background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-5px); }
.serv-item i { font-size: 4.5rem; margin-bottom: 30px; transition: 0.4s; }
.item-arch i { color: #C5A059; }
.item-eng i { color: #1e3799; }
.item-cons i { color: #ffca00; }
.serv-item h5 { font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 15px; font-weight: 700; color: #222; }

.projects-section { padding: 120px 5%; background: #f8f8f8; scroll-snap-align: start; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.p-card { position: relative; cursor: pointer; }
.p-img { overflow: hidden; height: 500px; border-radius: 4px; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.7s; filter: none; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-info { margin-top: 25px; text-align: center; }
.p-info h4 { font-family: 'Playfair Display'; font-size: 1.8rem; margin-bottom: 5px; color: #000; }
.p-info span { font-size: 0.85rem; color: #C5A059; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }

.gallery-section { padding: 50px 0; background: #fff; overflow: hidden; }
.marquee-wrapper { width: 100%; overflow: hidden; display: flex; }
.marquee-content { display: flex; gap: 30px; animation: scrollSlides 60s linear infinite; }
.g-item { min-width: auto; height: 75vh; flex-shrink: 0; cursor: zoom-in; position: relative; border-radius: 12px; overflow: hidden; }
.g-item img { height: 100%; width: auto; object-fit: cover; transition: 0.3s; display: block; }
.g-item:hover img { transform: scale(1.02); }
@keyframes scrollSlides { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.pre-contact-section { padding: 120px 5%; background-color: #111; color: #fff; text-align: center; position: relative; scroll-margin-top: 30vh; }
.mag-title-white { font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; color: #fff; font-weight: 400; }
.gold-italic-light { color: #C5A059; font-style: italic; font-weight: 400; }
.pre-desc { font-size: 1.1rem; color: #aaa; max-width: 700px; margin: 0 auto 60px auto; font-weight: 300; line-height: 1.8; }
.contact-actions { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.action-btn { display: flex; align-items: center; gap: 15px; padding: 15px 30px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; text-decoration: none; color: #fff; font-size: 0.9rem; letter-spacing: 1px; transition: 0.4s ease; }
.action-btn i { font-size: 1.2rem; color: #C5A059; transition: 0.4s; }
.action-btn:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-5px); }
.action-btn:hover i { color: #000; }

.cta-section { padding: 150px 10%; background: #fff; text-align: center; border-top: 1px solid #f0f0f0; }
.cta-header h2 { font-family: 'Playfair Display'; font-size: 3.5rem; margin-bottom: 20px; color: #111; }
.cta-header p { color: #666; margin-bottom: 50px; font-size: 1.1rem; }
.form-wrapper-large { max-width: 900px; margin: 0 auto; }
.input-group { display: flex; gap: 30px; margin-bottom: 30px; }
.big-input { flex: 1; border: none; border-bottom: 2px solid #ddd; padding: 20px; font-size: 1rem; font-family: 'Montserrat'; outline: none; background: transparent; }
.big-input:focus { border-bottom-color: #C5A059; }
.btn-gold-large { background: #000; color: #fff; border: none; padding: 20px 60px; cursor: pointer; font-family: 'Montserrat'; letter-spacing: 2px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; margin-top: 20px; }
.btn-gold-large:hover { background: #C5A059; }

footer { background: #111; color: #fff; padding: 100px 5% 30px; margin-top: 0; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; border-bottom: 1px solid #333; padding-bottom: 60px; }
.f-col-wide { flex: 2; min-width: 300px; }
.f-logo { height: 40px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.f-desc { color: #888; line-height: 1.8; max-width: 400px; }
.f-col { flex: 1; min-width: 150px; }
.f-col h4 { color: #fff; margin-bottom: 25px; font-size: 0.9rem; letter-spacing: 2px; }
.f-col a { display: block; color: #888; text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.f-col a:hover { color: #C5A059; padding-left: 5px; }
.f-col p { color: #888; margin-bottom: 10px; line-height: 1.6; }
.social-links a { display: inline-block; margin-right: 15px; font-size: 1.2rem; }
.footer-bottom { text-align: center; margin-top: 40px; color: #555; font-size: 0.8rem; }

.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; justify-content: center; align-items: center; }
.lightbox-content { max-width: 90%; max-height: 90vh; }
.close { position: absolute; top: 30px; right: 50px; color: #fff; font-size: 40px; cursor: pointer; }

/* ------------------------------------------------------------------ */
/* --- MOBİL UYUMLULUK (MEDIA QUERIES) --- */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    nav { justify-content: space-between; padding: 0 20px; }
    .hamburger { display: block; }
    .logo-center { position: absolute; left: 50%; transform: translateX(-50%); }

    .desktop-scroll { display: none !important; }
    .mobile-scroll { display: flex !important; }

    .hero-title { font-size: 2.5rem; line-height: 1.2; }
    .hero-sub { font-size: 0.7rem; }
    .morph-box { width: 95% !important; border-radius: 40px 40px 0 0 !important; }
    .morph-wrapper { margin-top: 100vh; }

    /* HİZMETLER (3 KUTU ALT ALTA GÖRÜNMESİ İÇİN DÜZELTME) */
    .serv-grid { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 30px; 
        height: auto !important; /* Yükseklik sınırını kaldır */
    }
    .serv-item {
        /* İçeriklerin rahat sığması için */
        height: auto; 
    }

    .intro-flex, .pdf-container, .staggered-grid, .proj-grid, 
    .fullscreen-split, .fullscreen-split.reverse, .footer-container, 
    .input-group, .edit-row { flex-direction: column !important; }

    .fullscreen-split { height: auto; display: block; scroll-snap-align: none; }
    .fs-image { height: 400px; width: 100%; }
    .fs-content { padding: 60px 20px; }
    .fs-title { font-size: 2.5rem; }
    .gold-italic { font-size: 3rem; }

    .staggered-grid { display: flex; flex-direction: column; gap: 30px; }
    .down-shift { margin-top: 0; }
    .proc-card { height: auto; }
    .proc-img-box { height: 250px; }

    .intro-img img { height: 300px; }
    .g-item { height: 30vh; }
    .mag-title { font-size: 2.5rem; }
    .contact-actions { flex-direction: column; align-items: center; gap: 20px; }
    .action-btn { width: 100%; justify-content: center; }
    
    .loader-container { width: 80vw; }
}

/* ANIMATIONS (Aynı) */
.reveal-up { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: 1s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: 1s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-clip { clip-path: inset(0 100% 0 0); transition: 1.5s cubic-bezier(0.77, 0, 0.175, 1); }
.reveal-clip.active { clip-path: inset(0 0 0 0); }
.reveal-clip-left { clip-path: inset(0 100% 0 0); transition: 1.5s cubic-bezier(0.77, 0, 0.175, 1); }
.reveal-clip-left.active { clip-path: inset(0 0 0 0); }
.reveal-clip-right { clip-path: inset(0 0 0 100%); transition: 1.5s cubic-bezier(0.77, 0, 0.175, 1); }
.reveal-clip-right.active { clip-path: inset(0 0 0 0); }
