/* ===================================
   GÜLTEK İNŞAAT — Scroll-Driven Video
   Premium Dark Theme + Golden Accents
   =================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0a;
    --bg-alt: #0f0f0f;
    --bg-card: #151515;
    --gold: #BD9979;
    --gold-light: #E1CAB5;
    --gold-dark: #8C6D52;
    --text: #ffffff;
    --text-muted: #888888;
    --text-dim: #444444;
    --border: rgba(255,255,255,0.07);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --container: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); overflow-x: hidden; width: 100%; position: relative; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem,4vw,3rem); }

/* ===================================
   PRELOADER
   =================================== */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-logo-img {
    height: clamp(120px, 25vw, 220px);
    width: auto;
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(189,153,121,0.3));
    mix-blend-mode: lighten;
}
.preloader-bar { width: 180px; height: 2px; background: var(--border); margin: 2rem auto 0; overflow: hidden; border-radius: 2px; }
.preloader-progress { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); animation: loadBar 2.2s var(--ease) forwards; }

/* Logo Images */
.header-logo-img {
    height: 110px;
    width: auto;
    transition: all .3s var(--ease);
    filter: drop-shadow(0 0 10px rgba(189,153,121,0.15));
    mix-blend-mode: lighten;
}
#header.scrolled .header-logo-img {
    height: 75px;
}
.footer-logo-img {
    height: 90px;
    width: auto;
    margin-bottom: .5rem;
    filter: drop-shadow(0 0 10px rgba(189,153,121,0.15));
    mix-blend-mode: lighten;
}

@keyframes pulse { 0%,100%{ opacity:.4 } 50%{ opacity:1 } }
@keyframes loadBar { 0%{ width:0 } 100%{ width:100% } }

/* ===================================
   HEADER
   =================================== */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 0;
    transition: all .4s var(--ease);
}
#header.scrolled {
    background: rgba(10,10,10,.95);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}
.header-container {
    max-width: var(--container); margin: 0 auto;
    padding: 0 clamp(1.5rem,4vw,3rem);
    display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: .5rem; }
.logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: .2em; color: var(--gold); }
.logo-sep { width: 1px; height: 20px; background: var(--text-dim); }
.logo-sub { font-size: .6rem; letter-spacing: .3em; color: var(--text-muted); text-transform: uppercase; }

.nav { display: flex; gap: 2rem; }
.nav-link {
    font-size: .82rem; color: var(--text-muted); font-weight: 400;
    letter-spacing: .04em; transition: color .3s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-cta {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem 1.2rem; font-size: .78rem; font-weight: 600;
    border: 1px solid var(--gold); color: var(--gold);
    letter-spacing: .03em; transition: all .3s var(--ease);
}
.header-cta:hover { background: var(--gold); color: var(--bg); }
.cta-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: ctaPulse 2s ease infinite; }
@keyframes ctaPulse { 0%,100%{ opacity:1;transform:scale(1) } 50%{ opacity:.4;transform:scale(.7) } }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger span { width: 22px; height: 1.5px; background: var(--text); transition: all .3s var(--ease); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,10,10,.98); backdrop-filter: blur(40px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
    opacity: 0; visibility: hidden; transition: all .5s var(--ease);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-link { font-family: var(--font-display); font-size: clamp(1.5rem,5vw,2.5rem); font-weight: 600; color: var(--text-muted); transition: color .3s; }
.mobile-link:hover { color: var(--gold); }
.mobile-divider { width: 40px; height: 1px; background: var(--gold); margin: 1rem 0; }
.mobile-phone { color: var(--gold); font-size: .9rem; letter-spacing: .1em; }

/* ===================================
   HERO — SCROLL-DRIVEN VIDEO
   =================================== */
.hero-video-section {
    position: relative;
    height: 100vh;
}

.video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,.7) 0%,
        rgba(10,10,10,.4) 30%,
        rgba(10,10,10,.4) 70%,
        rgba(10,10,10,.8) 100%
    );
    pointer-events: none;
}
.video-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='4' height='4' fill='none'/%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Video üstündeki caption'lar */
.video-captions {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.caption {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    pointer-events: auto;
    padding: 0 2rem;
}

.caption.active {
    opacity: 1;
    transform: translateY(0);
}

.caption-badge {
    display: inline-block;
    padding: .4rem 1.2rem;
    border: 1px solid var(--gold);
    font-size: .65rem; letter-spacing: .4em; font-weight: 500;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.caption h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem,8vw,6.5rem);
    font-weight: 900; line-height: 1;
    text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.caption h1 span { color: var(--gold); }

.caption h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem,5vw,4rem);
    font-weight: 700; line-height: 1.1;
    text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.caption h2 span { color: var(--gold); }

.hero-cta {
    display: inline-flex; align-items: center; gap: .75rem;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: var(--gold); color: var(--bg);
    font-size: .85rem; font-weight: 700;
    letter-spacing: .05em;
    transition: all .3s var(--ease);
    pointer-events: auto;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(189,153,121,.35); }

/* Scroll Progress Bar */
.scroll-progress {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: rgba(255,255,255,.05);
    z-index: 10;
}
.scroll-progress-bar {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width .1s linear;
}

/* Scroll Hint */
.scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    z-index: 10;
    transition: opacity .4s;
}
.scroll-hint span { font-size: .6rem; letter-spacing: .4em; color: var(--gold); }
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
.scroll-arrow { animation: arrowBounce 1.5s ease infinite; color: var(--gold); }
@keyframes arrowBounce { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(6px) } }

/* ===================================
   DISCOVER TRANSITION (Fırat KEŞFET)
   =================================== */
.discover-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.discover-content {
    display: flex; align-items: center; justify-content: center; gap: 2rem;
}
.discover-line { width: 80px; height: 1px; background: var(--gold); }
.discover-text {
    font-family: var(--font-display);
    font-size: clamp(.8rem,1.5vw,1rem);
    letter-spacing: .5em; color: var(--gold); font-weight: 600;
}

/* ===================================
   SECTION COMMONS
   =================================== */
.section { padding: clamp(5rem,10vw,8rem) 0; }
.section-label {
    display: flex; align-items: center; gap: .75rem;
    font-size: .7rem; letter-spacing: .3em; color: var(--gold); font-weight: 500;
    margin-bottom: 1rem;
}
.section-label.center { justify-content: center; }
.label-line { width: 35px; height: 1px; background: var(--gold); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem,4vw,3rem); font-weight: 700; line-height: 1.15;
    margin-bottom: 1rem;
}
.section-title.center { text-align: center; }
.gold { color: var(--gold); }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,5rem); align-items: center; }

.about-img-wrap { position: relative; border-radius: 4px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; transition: transform .8s var(--ease); }
.about-img-wrap:hover img { transform: scale(1.05); }

.about-badge {
    position: absolute; bottom: 0; right: 0;
    background: var(--gold); color: var(--bg);
    padding: 1.25rem 1.75rem;
    display: flex; align-items: center; gap: .6rem;
}
.badge-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.badge-txt { font-size: .65rem; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .05em; }

.about-right p { color: var(--text-muted); line-height: 1.8; margin-bottom: .75rem; font-size: .92rem; }
.about-right strong { color: var(--gold); }

.about-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
@media (min-width: 900px) { .about-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.circle-stat { position: relative; width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(212,175,55,0.4); background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(0,0,0,0.5)); margin: 0 auto; }
.circle-stat::before { content:''; position:absolute; top:-6px; left:-6px; right:-6px; bottom:-6px; border-radius:50%; border: 1px solid rgba(255,255,255,0.1); }
.stat-bg-number { position: absolute; left: -25px; font-family: var(--font-display); font-size: 6rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.15); z-index: 0; line-height: 1; }
.circle-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.circle-top { display: flex; align-items: baseline; justify-content: center; margin-bottom: 2px; }
.circle-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: #fff; }
.circle-suffix { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; margin-left: 2px; }
.circle-label { font-size: 0.7rem; font-weight: 700; color: var(--gold-light); letter-spacing: 0.05em; text-transform: uppercase; }

/* ===================================
   MARQUEE
   =================================== */
.marquee { padding: 1.5rem 0; background: var(--gold); overflow: hidden; }
.marquee-track { display: flex; animation: marqueeMove 25s linear infinite; }
.marquee-content { display: flex; align-items: center; gap: 2.5rem; white-space: nowrap; padding-right: 2.5rem; }
.marquee-content span { font-family: var(--font-display); font-size: clamp(.85rem,1.5vw,1.15rem); font-weight: 700; letter-spacing: .15em; color: var(--bg); }
.dot { font-size: .5rem !important; opacity: .4; }
@keyframes marqueeMove { 0%{ transform:translateX(0) } 100%{ transform:translateX(-50%) } }

/* ===================================
   SERVICES (Fırat tarzı kartlar)
   =================================== */
.services-section { background: var(--bg-alt); }

.services-carousel {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}

.service-slide {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 2rem; transition: all .5s var(--ease); position: relative; overflow: hidden;
}
.service-slide::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease);
}
.service-slide:hover { border-color: rgba(189,153,121,.3); transform: translateY(-6px); }
.service-slide:hover::after { transform: scaleX(1); }

.slide-title {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem;
}
.slide-line { width: 50px; height: 2px; background: var(--gold); margin-bottom: 1.25rem; }

.slide-media { width: 100%; height: 200px; overflow: hidden; margin-bottom: 1.25rem; border-radius: 2px; }
.slide-media img, .slide-media video {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.service-slide:hover .slide-media img,
.service-slide:hover .slide-media video { transform: scale(1.08); }

.slide-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

.slide-btn {
    display: inline-flex; align-items: center;
    padding: .5rem 1.25rem; font-size: .75rem; font-weight: 600;
    background: var(--gold-light); color: var(--gold-dark);
    letter-spacing: .03em; transition: all .3s var(--ease);
}
.slide-btn:hover { background: var(--gold); color: var(--bg); }

/* ===================================
   QUOTE
   =================================== */
.quote-section {
    position: relative; padding: clamp(6rem,12vw,10rem) 0;
    text-align: center; overflow: hidden;
}
.quote-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; }
.quote-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.88); }
.quote-content { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; padding: 0 2rem; }
.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem,3vw,2.3rem); font-weight: 500; line-height: 1.4; margin-bottom: 2rem;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: .8rem; color: var(--text-muted); letter-spacing: .1em; }
.quote-dash { width: 35px; height: 1px; background: var(--gold); }

/* ===================================
   PROJECTS
   =================================== */
.projects-section { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

.project-card { 
    overflow: hidden; 
    transition: all .5s var(--ease); 
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.project-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(189,153,121,0.2);
}
.project-img { position: relative; height: 280px; overflow: hidden; background: var(--bg-alt); }
.project-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-img > img { transform: scale(1.08); }

.project-tag {
    position: absolute; top: 1rem; left: 1rem; z-index: 3;
    padding: .35rem .8rem; background: var(--gold); color: var(--bg);
    font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(189,153,121,0.3);
}
.tag-green { background: #27ae60; box-shadow: 0 4px 15px rgba(39,174,96,0.3); }
.project-cat-badge {
    position: absolute; top: 1rem; right: 1rem; z-index: 3;
    padding: .35rem .8rem; background: rgba(10,10,10,.65); color: #fff;
    font-size: .65rem; font-weight: 600; letter-spacing: .1em; 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
}

.project-info {
    padding: 1.5rem; background: transparent;
    display: flex; flex-direction: column; gap: .5rem;
}
.project-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0; letter-spacing: 0.02em; }
.project-location-text { font-size: .8rem; color: var(--text-muted); font-weight: 400; }

/* Detay butonu */
.project-detail-btn {
    margin-top: .8rem; align-self: flex-start;
    background: rgba(189,153,121,0.1); border: 1px solid rgba(189,153,121,0.3);
    color: var(--gold); font-size: .75rem; font-weight: 700;
    padding: .5rem 1.2rem; cursor: pointer; letter-spacing: .08em;
    border-radius: 30px; text-transform: uppercase;
    transition: all .3s var(--ease);
}
.project-detail-btn:hover {
    background: var(--gold); color: var(--bg); 
    box-shadow: 0 5px 15px rgba(189,153,121,0.25);
}
.project-detail-btn span { transition: transform .3s; display: inline-block; margin-left: 0.3rem; }
.project-detail-btn:hover span { transform: translateX(5px); }

/* Kart Galerisi (çoklu foto mini-carousel) */
.project-gallery {
    position: relative; width: 100%; height: 100%;
}
.gal-track { position: relative; width: 100%; height: 100%; }
.gal-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .4s ease;
}
.gal-slide.active { opacity: 1; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-prev, .gal-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.5); color: #fff; border: none;
    width: 28px; height: 36px; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 4; opacity: 0; transition: opacity .3s;
}
.project-card:hover .gal-prev,
.project-card:hover .gal-next { opacity: 1; }
.gal-prev { left: 0; }
.gal-next { right: 0; }
.gal-dots {
    position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .3rem; z-index: 4;
}
.gal-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer;
    transition: background .3s;
}
.gal-dot.active { background: var(--gold); }
.gal-counter {
    position: absolute; bottom: .4rem; right: .6rem;
    font-size: .6rem; color: rgba(255,255,255,.8); z-index: 4;
    background: rgba(0,0,0,.4); padding: .1rem .4rem;
}


/* ===================================
   CONTACT
   =================================== */
.contact-section { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,5rem); align-items: start; }

.contact-desc { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; font-size: .92rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.c-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon { font-size: 1.2rem; min-width: 2rem; }
.c-item div { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
.c-item strong { color: var(--text); display: block; margin-bottom: .2rem; }
.c-item a { color: var(--text-muted); transition: color .3s; }
.c-item a:hover { color: var(--gold); }

.contact-right {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: clamp(2rem,4vw,2.5rem);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-field { position: relative; }
.form-field input, .form-field textarea {
    width: 100%; padding: .9rem 1rem;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text); font-size: .88rem; outline: none;
    transition: border-color .3s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field label {
    position: absolute; left: 1rem; top: .9rem;
    font-size: .88rem; color: var(--text-dim);
    pointer-events: none; transition: all .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label {
    top: -.45rem; left: .7rem; font-size: .65rem; color: var(--gold);
    background: var(--bg-card); padding: 0 .3rem;
}

.submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: 1rem; background: var(--gold); color: var(--bg);
    font-size: .85rem; font-weight: 700; border: none; cursor: pointer;
    letter-spacing: .04em; transition: all .3s var(--ease);
}
.submit-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(189,153,121,.3); }

/* ===================================
   FOOTER
   =================================== */
.footer { padding: 3rem 0 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 2.5rem; }
.footer-brand p { color: var(--text-muted); font-size: .8rem; margin-top: .75rem; max-width: 280px; line-height: 1.6; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-size: .82rem; color: var(--text-muted); transition: color .3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 0; text-align: center; }
.footer-bottom span { font-size: .7rem; color: var(--text-dim); }

/* ===================================
   WHATSAPP
   =================================== */
.wa-btn {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
    width: 54px; height: 54px; background: #25d366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all .3s; animation: waPulse 2s ease infinite;
}
.wa-btn:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100%{ box-shadow:0 4px 20px rgba(37,211,102,.4) } 50%{ box-shadow:0 4px 30px rgba(37,211,102,.6) } }

/* ===================================
   REVEAL ANIMATIONS
   =================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===================================
   RESPONSIVE
   =================================== */
@media(max-width:1024px) {
    .nav, .header-cta { display: none; }
    .hamburger { display: flex; }
    .services-carousel { grid-template-columns: repeat(2,1fr); }
    .projects-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-img-wrap img { height: 280px; }
    .contact-grid { grid-template-columns: 1fr; }
    .services-carousel { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .about-stats-row { gap: 1.5rem; }
    .footer-top { flex-direction: column; gap: 2rem; }
    .footer-nav { flex-wrap: wrap; gap: 1rem; }
    .quote-bg { background-attachment: scroll; }
}
@media(max-width:480px) {
    .about-stats-row { flex-direction: column; gap: 1rem; }
}

/* ===================================
   ADMIN MODAL
   =================================== */
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}
.admin-modal.active {
    opacity: 1;
    visibility: visible;
}
.admin-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 6px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}
.admin-modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
}
.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.close-btn:hover {
    color: var(--gold);
}
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.admin-submit-btn {
    background: var(--gold);
    color: var(--bg);
    padding: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
}
.admin-submit-btn:hover {
    background: var(--gold-light);
}
.admin-projects-list-container {
    margin-top: 2rem;
}
.admin-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}
.admin-project-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
    color: var(--text);
}
.admin-project-item-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.admin-project-actions {
    display: flex;
    gap: 0.5rem;
}
.admin-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 2px;
}
.admin-btn-edit {
    background: #3498db;
    color: white;
}
.admin-btn-delete {
    background: #e74c3c;
    color: white;
}

/* Footer logo click styling */
.footer-logo-img {
    cursor: pointer;
}

/* Segmented Control */
.admin-segmented-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.segmented-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.segmented-options {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.segmented-btn {
    flex: 1;
    cursor: pointer;
}
.segmented-btn input[type="radio"] {
    display: none;
}
.segmented-btn span {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    transition: all 0.3s;
}
.segmented-btn input[type="radio"]:checked + span {
    background: var(--gold);
    color: var(--bg);
    font-weight: 700;
}
.segmented-btn:not(:last-child) span {
    border-right: 1px solid var(--border);
}

/* Photo Upload Area */
.photo-upload-area {
    border: 2px dashed var(--border);
    border-radius: 6px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    overflow: hidden;
    position: relative;
    background: var(--bg);
}
.photo-upload-area:hover,
.photo-upload-area.drag-over {
    border-color: var(--gold);
    background: rgba(189, 153, 121, 0.05);
}
.photo-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    pointer-events: none;
}
.upload-icon {
    font-size: 2.5rem;
}
.photo-upload-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}
.photo-upload-placeholder span {
    color: var(--text-dim);
    font-size: 0.75rem;
}
.photo-preview-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.photo-remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    z-index: 5;
}
.photo-remove-btn:hover {
    background: #e74c3c;
}
/* ===================================
   ADMIN — Yeni Form Stilleri
   =================================== */
.admin-section-title {
    font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; padding-bottom: .4rem;
    border-bottom: 1px solid var(--border); margin-bottom: .25rem;
}
.admin-specs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.form-field textarea {
    width: 100%; background: var(--bg); border: 1px solid var(--border);
    color: var(--text); padding: .9rem 1rem 0.5rem; font-family: var(--font-body);
    font-size: .88rem; resize: vertical; outline: none;
    transition: border-color .3s;
}
.form-field textarea:focus { border-color: var(--gold); }
.form-field:has(textarea) label {
    top: .8rem; /* float label for textarea */
}
.three-col { }
.multi-upload-label {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: .4rem;
}
.upload-count-badge {
    background: var(--gold); color: var(--bg);
    font-size: .65rem; font-weight: 700; padding: .2rem .5rem;
    letter-spacing: .05em;
}
.uploaded-photos-grid {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem;
}
.uploaded-thumb-wrap {
    position: relative; width: 80px; height: 65px;
    border: 1px solid var(--border); overflow: hidden;
}
.uploaded-thumb {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.thumb-remove-btn {
    position: absolute; top: 0; right: 0;
    background: rgba(231,76,60,.9); color: #fff;
    border: none; width: 18px; height: 18px;
    font-size: .65rem; cursor: pointer; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.thumb-main-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--gold); color: var(--bg);
    font-size: .55rem; font-weight: 700; text-align: center;
    padding: .1rem; letter-spacing: .04em;
}

/* ===================================
   PROJE DETAY MODALI
   =================================== */
.project-detail-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
    padding: 1rem;
}
.project-detail-modal.active {
    opacity: 1; pointer-events: all;
}
.pdm-content {
    position: relative;
    width: 100%; max-width: 1100px; max-height: 90vh;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    transform: translateY(30px) scale(.95);
    transition: transform .5s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 50px 100px rgba(0,0,0,.8);
}
.project-detail-modal.active .pdm-content {
    transform: translateY(0) scale(1);
}

/* Kapat butonu */
.pdm-close {
    position: absolute; top: 1rem; right: 1rem; z-index: 20;
    background: rgba(0,0,0,.5); color: #fff; border: none;
    width: 38px; height: 38px; border-radius: 50%;
    font-size: 1.4rem; cursor: pointer; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s;
}
.pdm-close:hover { background: var(--gold); color: var(--bg); }

/* Galeri paneli */
.pdm-gallery {
    position: relative; overflow: hidden;
    min-height: 400px; background: var(--bg-alt);
}
.pdm-gallery-track { position: relative; width: 100%; height: 100%; }
.pdm-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity .5s ease;
}
.pdm-slide.active { opacity: 1; }
.pdm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdm-no-img {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; font-size: 3rem; gap: .5rem; color: var(--text-dim);
}
.pdm-prev, .pdm-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.55); color: #fff; border: none;
    width: 42px; height: 54px; cursor: pointer; font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: background .3s;
}
.pdm-prev:hover, .pdm-next:hover { background: var(--gold); }
.pdm-prev { left: 0; }
.pdm-next { right: 0; }
.pdm-dots {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: .4rem; z-index: 5;
}
.pdm-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.35); border: none; cursor: pointer;
    transition: background .3s;
}
.pdm-dot.active { background: var(--gold); width: 20px; border-radius: 4px; }
.pdm-counter {
    position: absolute; bottom: 1rem; right: 1rem; z-index: 5;
    font-size: .7rem; color: rgba(255,255,255,.8);
    background: rgba(0,0,0,.45); padding: .2rem .5rem;
    letter-spacing: .05em;
}

/* Bilgi paneli */
.pdm-info {
    padding: 2.5rem 2rem;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 1rem;
}
.pdm-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.pdm-status-badge {
    padding: .3rem .75rem; font-size: .65rem;
    font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pdm-status-badge.completed { background: rgba(39,174,96,.15); color: #27ae60; border: 1px solid rgba(39,174,96,.3); }
.pdm-status-badge.ongoing   { background: rgba(52,152,219,.15); color: #3498db; border: 1px solid rgba(52,152,219,.3); }
.pdm-cat-badge {
    padding: .3rem .75rem; font-size: .65rem;
    font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(189,153,121,.1); color: var(--gold); border: 1px solid rgba(189,153,121,.25);
}
.pdm-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700; color: var(--text); line-height: 1.2;
}
.pdm-location {
    display: flex; align-items: center; gap: .4rem;
    font-size: .85rem; color: var(--text-muted);
}

/* Teknik bilgiler grid */
.pdm-specs { margin-top: 1rem; }
.pdm-specs-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
}
.pdm-spec-item {
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: .85rem 1.1rem; display: flex; flex-direction: column; gap: .25rem;
    transition: background 0.3s;
}
.pdm-spec-item:hover { background: rgba(255,255,255,0.04); }
.pdm-spec-icon { font-size: 1.3rem; color: var(--gold); opacity: 0.9; margin-bottom: 0.2rem; }
.pdm-spec-label {
    font-size: .65rem; color: var(--text-muted);
    letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.pdm-spec-value {
    font-size: 1rem; font-weight: 700; color: var(--text);
    font-family: var(--font-display); letter-spacing: 0.02em;
}

/* Açıklama */
.pdm-description {
    font-size: .88rem; color: var(--text-muted); line-height: 1.75;
    border-top: 1px solid var(--border); padding-top: 1rem;
}
.pdm-description p { margin: 0; }

/* CTA butonu */
.pdm-cta {
    display: inline-flex; align-items: center; gap: .6rem;
    margin-top: auto; background: var(--gold); color: var(--bg);
    padding: .9rem 1.5rem; font-weight: 700; font-size: .82rem;
    text-decoration: none; letter-spacing: .08em; text-transform: uppercase;
    transition: all .3s var(--ease); align-self: flex-start;
}
.pdm-cta:hover { background: var(--gold-light); transform: translateX(4px); }

/* Responsive */
@media (max-width: 768px) {
    .pdm-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    .pdm-gallery { min-height: 260px; }
    .pdm-info { padding: 1.5rem; }
    .pdm-specs-grid { grid-template-columns: 1fr 1fr; }
    .admin-specs-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .projects-grid { grid-template-columns: 1fr; }
    .pdm-specs-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================
   İLETİŞİM FORMU — WhatsApp Stilleri
   =================================== */
.submit-btn {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.submit-btn svg { flex-shrink: 0; }

/* Giriş hatası */
input.input-error,
textarea.input-error {
    border-color: #e74c3c !important;
    animation: shake .35s ease;
}
@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

/* Başarı mesajı */
.contact-success {
    display: flex; align-items: center; gap: 1rem;
    background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.3);
    padding: 1rem 1.2rem; margin-top: 1rem;
    animation: fadeIn .4s ease;
}
.success-icon { font-size: 1.8rem; }
.contact-success p {
    font-size: .88rem; color: var(--text); line-height: 1.5; margin: 0;
}
.contact-success p span {
    font-size: .78rem; color: var(--text-muted);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================================
   PROJE FİLTRELEME
   =================================== */
.project-filters {
    display: flex; justify-content: center; gap: 0.5rem;
    margin-bottom: 2rem; flex-wrap: wrap;
}
.proj-filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
}
.proj-filter-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}
.proj-filter-btn.active {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

/* ===================================
   MOBILE OPTIMIZATIONS (ADDED)
   =================================== */
@media (max-width: 768px) {
    .header-container { padding: 0 1rem; }
    .header-logo-img { height: 60px; }
    #header.scrolled .header-logo-img { height: 50px; }
    .caption h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .caption h2 { font-size: clamp(1.8rem, 6vw, 3rem); }
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    .contact-left { padding-bottom: 2rem; }
    .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .header-logo-img { height: 50px; }
    #header.scrolled .header-logo-img { height: 45px; }
    .caption h1 { font-size: 2.2rem; }
    .caption h2 { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
    .pdm-info { padding: 1.25rem; }
    .pdm-title { font-size: 1.5rem; }
    .pdm-specs-grid { grid-template-columns: 1fr; }
    .project-img { height: 220px; }
    
    /* Make WhatsApp button slightly smaller on small screens */
    .wa-btn {
        width: 45px; height: 45px;
        bottom: 15px; right: 15px;
    }
    .wa-btn svg { width: 22px; height: 22px; }
}
