/* ===========================
   DESIGN SYSTEM — ARCHITECTURAL PRESTIGE
   AND YAPI MİMARLIK
   =========================== */
:root {
    --cream:       #F8F5F0;
    --cream-mid:   #EDE9E3;
    --warm-white:  #FDFCFA;
    --charcoal:    #1C1C1C;
    --charcoal-2:  #2E2E2E;
    --mid-gray:    #6B6B6B;
    --light-gray:  #B0A9A0;
    --border:      #E0D9D0;
    --accent:      #8B6914;
    --accent-light:#C9A84C;
    --green-ok:    #3A7A3A;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

    --section-pad: 8rem 0;
    --radius:      4px;
}

/* ========================= RESET ========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background-color: var(--warm-white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; font-family: inherit; cursor: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); }

/* ========================= CUSTOM CURSOR ========================= */
#cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.06s, width 0.25s var(--ease-expo), height 0.25s var(--ease-expo);
}
#cursor-outline {
    position: fixed;
    width: 40px; height: 40px;
    border: 1px solid rgba(139,105,20,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-smooth), width 0.4s var(--ease-expo), height 0.4s var(--ease-expo), border-color 0.3s, background 0.3s;
}
body:has(a:hover) #cursor-dot,
body:has(button:hover) #cursor-dot {
    width: 0; height: 0;
}
body:has(a:hover) #cursor-outline,
body:has(button:hover) #cursor-outline {
    width: 64px; height: 64px;
    border-color: var(--accent);
    background: rgba(139,105,20,0.07);
}

/* ========================= PAGE LOADER ========================= */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo-img {
    height: 450px; /* Büyük ve gösterişli (Büyütüldü) */
    width: auto;
    object-fit: contain;
    margin-bottom: 2.5rem;
    animation: loaderPulse 1.6s ease-in-out infinite;
    filter: brightness(1.25); /* Koyu arkaplanda parlaması için */
}
@keyframes loaderPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.loader-bar {
    width: 220px; height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto;
    overflow: hidden;
}
.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    animation: loaderFill 2s var(--ease-expo) forwards;
}
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }

/* ========================= UTILITIES ========================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--charcoal);
    margin-bottom: 1.75rem;
    letter-spacing: -0.5px;
}
.section-heading em { font-style: italic; color: var(--accent); }
.body-text { color: var(--mid-gray); font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }

/* ========================= BUTTONS ========================= */
.btn-dark, .btn-ghost, .btn-white, .btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.btn-dark {
    background: var(--charcoal);
    color: var(--cream);
}
.btn-dark::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-expo);
}
.btn-dark:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(28,28,28,0.25); }
.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); transform: translateY(-2px); }
.btn-white {
    background: var(--warm-white);
    color: var(--charcoal);
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.btn-ghost-light {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-full { width: 100%; justify-content: center; }

/* ========================= NAVBAR ========================= */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-smooth);
}
.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    opacity: 1;
    transition: all 0.5s var(--ease-smooth);
    z-index: -1;
}
.navbar.scrolled::after { opacity: 1; }
.navbar.scrolled { padding: 0.6rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 170px;
    width: auto;
    object-fit: contain;
    transition: all 0.5s var(--ease-smooth);
}
.logo-img:hover { transform: scale(1.03); }
.navbar.scrolled .logo-img { height: 110px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem; /* Increased from 1.5rem for better spacing */
}
.nav-item {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--charcoal);
    position: relative;
    padding: 4px 0;
    white-space: nowrap; /* Prevents text wrapping */
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 1px;
    background: var(--accent);
    transition: all 0.4s var(--ease-expo);
    transform: translateX(-50%);
}
.nav-item:hover::after, .nav-item.active::after { width: 100%; }
.nav-item:hover, .nav-item.active { color: var(--accent); }

/* Transparent navbar rules for home page */
.home-page .navbar:not(.scrolled)::after {
    opacity: 0;
}
.home-page .navbar:not(.scrolled) .nav-item {
    color: #ffffff;
}
.home-page .navbar:not(.scrolled) .nav-item.active {
    color: var(--accent);
}
.home-page .navbar:not(.scrolled) .nav-item::after {
    background: #ffffff;
}
.home-page .navbar:not(.scrolled) .nav-item.active::after {
    background: var(--accent);
}
.home-page .navbar:not(.scrolled) .nav-cta {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}
.home-page .navbar:not(.scrolled) .nav-cta:hover {
    background: #ffffff;
    color: var(--charcoal);
}
.home-page .navbar:not(.scrolled) .hamburger span {
    background: #ffffff;
}


.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #000000;
    color: var(--cream);
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.5s var(--ease-spring);
    animation: ctaPulse 2s infinite ease-in-out;
    white-space: nowrap; /* Prevents text wrapping */
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,0.4); transform: scale(1); }
    50% { box-shadow: 0 4px 24px rgba(0,0,0,0.7), 0 0 0 8px rgba(0,0,0,0.15); transform: scale(1.04); }
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 28px; height: 1.5px;
    background: var(--charcoal);
    transition: all 0.4s var(--ease-expo);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========================= HERO ========================= */
.hero {
    position: relative;
    height: 115svh; /* 100svh'den 115svh'ye çıkartıldı (daha uzun) */
    min-height: 1200px; /* 950px'den 1200px'e çıkartıldı */
    display: grid;
    place-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    will-change: transform;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        170deg,
        rgba(0, 0, 0, 0.70) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
}
/* Decorative grid lines on hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(28,28,28,0.03) 49.8%, rgba(28,28,28,0.03) 50.2%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(28,28,28,0.03) 49.8%, rgba(28,28,28,0.03) 50.2%, transparent 50.2%);
    background-size: 25% 25%;
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 2.5rem;
    margin-top: -80px; /* Yazı bloğu daha da yukarı taşındı */
    text-align: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(139,105,20,0.15);
    margin-bottom: 2rem;
}
.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    transform: rotate(45deg);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem); /* Yeni uzun metin için küçültüldü */
    font-weight: 400;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: -1px;
}
.hero-title em { 
    font-style: italic; 
    color: var(--accent); 
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.hero-title .line-reveal { display: block; overflow: hidden; }
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 400;
}
.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 7rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    color: var(--mid-gray);
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2.5s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(253,252,250,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 1.75rem 2.5rem;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3.5rem;
    flex: 1;
    max-width: 260px;
}
.hs-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1;
}
.hs-plus {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--accent);
    margin-left: 2px;
    line-height: 1;
    display: inline;
}
.hs-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-top: 0.4rem;
}
.hs-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* ========================= MARQUEE ========================= */
.marquee-band {
    background: var(--charcoal);
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
    border-bottom: 2px solid var(--accent);
}
.marquee-inner {
    display: inline-flex;
    gap: 2.5rem;
    animation: marqueeScroll 35s linear infinite;
}
.marquee-inner span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.marquee-inner .dot { color: var(--accent-light); font-size: 0.6rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========================= ABOUT ========================= */
.about { padding: var(--section-pad); background: var(--cream); position: relative; }
.about::before {
    content: 'ARCHITECTURE';
    position: absolute;
    top: 50%;
    left: -3rem;
    transform: rotate(-90deg) translateX(-50%);
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 300;
    color: rgba(28,28,28,0.03);
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-img-frame {
    position: relative;
    overflow: visible;
}
.about-img-frame img {
    border-radius: 0;
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: 30px 30px 0 var(--charcoal);
    transition: all 0.7s var(--ease-smooth);
}
.about-img-frame:hover img { 
    box-shadow: 20px 20px 0 var(--accent);
    transform: translate(-5px, -5px);
}
.img-tag {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    background: var(--accent);
    color: var(--charcoal);
    padding: 1.75rem 2rem;
    text-align: center;
    z-index: 2;
}
.img-tag strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}
.img-tag span {
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--charcoal);
}
.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 2.5rem 0;
}
.pillars li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-smooth);
}
.pillars li:hover { padding-left: 0.5rem; color: var(--accent); }
.pillar-icon {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 28px;
}

/* ========================= BLOG ========================= */
.blog-section { position: relative; }
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.blog-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}
.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--charcoal);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    z-index: 2;
}
.blog-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.blog-title a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-title a:hover {
    color: var(--accent);
}
.blog-excerpt {
    font-size: 0.95rem;
    color: var(--mid-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}
.blog-link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}
.blog-link:hover {
    gap: 0.8rem;
}

/* ========================= SERVICES ========================= */
.services { padding: var(--section-pad); background: var(--warm-white); position: relative; }
.section-header { margin-bottom: 4rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.svc-card {
    background: var(--cream);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.6s var(--ease-smooth);
    position: relative;
}
.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-expo);
}
.svc-card:hover { box-shadow: 0 24px 60px rgba(28,28,28,0.12); transform: translateY(-8px); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.svc-img-wrap img {
    transition: transform 0.8s var(--ease-smooth), filter 0.6s;
    filter: saturate(0.9);
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.1); filter: saturate(1.1); }
.svc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,28,0.5), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}
.svc-card:hover .svc-overlay { opacity: 1; }
.svc-body { padding: 2rem; }
.svc-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(139,105,20,0.15);
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1;
}
.svc-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}
.svc-desc { font-size: 0.85rem; color: var(--mid-gray); line-height: 1.75; margin-bottom: 1.25rem; }
.svc-link {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.35s var(--ease-smooth);
}
.svc-link:hover { gap: 1rem; }

/* ===============================================
   PROJECTS (MASONRY GALLERY)
   =============================================== */
.projects {
    padding: 8rem 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.projects-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
}

.project-item:nth-child(even) {
    aspect-ratio: 1 / 1;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,28,0.9) 0%, rgba(28,28,28,0) 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-item:hover img {
    transform: scale(1.08);
}

.project-item:hover::before {
    opacity: 1;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay span {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===============================================
   REFERENCES (REFERANSLARIMIZ)
   =============================================== */
.references {
    padding: 8rem 0;
    background: var(--charcoal);
    color: var(--cream);
    position: relative;
}

.references .section-title {
    color: var(--cream);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.reference-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.reference-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.reference-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.reference-card:hover::after {
    width: 100%;
}

.ref-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.ref-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--cream);
}

.ref-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.projects::before {
    content: 'PORTFOLIO';
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: rotate(90deg) translateX(50%);
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 300;
    color: rgba(28,28,28,0.03);
    letter-spacing: 12px;
    white-space: nowrap;
    pointer-events: none;
}
.projects-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-auto-rows: auto;
    gap: 1.5rem;
}
.proj-item {
    position: relative;
    overflow: hidden;
    cursor: none;
}
.proj-item img {
    aspect-ratio: 4/3;
    transition: transform 0.9s var(--ease-smooth), filter 0.6s;
    filter: saturate(0.85);
}
.proj-large { grid-row: span 2; }
.proj-large img { aspect-ratio: auto; height: 100%; }
.proj-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.proj-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(28,28,28,0.85) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-expo);
}
.proj-item:hover .proj-info { transform: translateY(0); opacity: 1; }
.proj-cat {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 0.25rem;
}
.proj-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    letter-spacing: 0.5px;
}

/* ========================= CTA BAND ========================= */
.cta-band {
    position: relative;
    padding: 7rem 0;
    text-align: center;
    overflow: hidden;
}
.cta-band-bg {
    position: absolute;
    inset: 0;
}
.cta-band-bg img { object-fit: cover; filter: saturate(0.4) brightness(0.7); }
.cta-band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,28,28,0.75);
    backdrop-filter: blur(2px);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.cta-eyebrow::before, .cta-eyebrow::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--accent-light);
}
.cta-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}
.cta-heading em { font-style: italic; color: var(--accent-light); }
.cta-sub { color: rgba(255,255,255,0.55); margin-bottom: 3rem; font-size: 1rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* ========================= CONTACT ========================= */
.contact { padding: var(--section-pad); background: var(--warm-white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.contact-detail-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.4s var(--ease-expo);
}
.contact-detail-item:hover::before { transform: scaleY(1); }
.contact-detail-item:hover { border-color: var(--accent); transform: translateX(6px); }

/* Minimal Ara Butonu */
a.contact-detail-item[href^="tel:"]::after {
    content: 'ARA';
    margin-left: auto;
    background: var(--charcoal);
    color: var(--cream);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
a.contact-detail-item[href^="tel:"]:hover::after {
    background: var(--accent);
    transform: scale(1.05);
}
.cdi-icon {
    width: 48px; height: 48px;
    background: var(--charcoal);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cdi-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 0.2rem;
}
.cdi-value { font-size: 0.9rem; font-weight: 500; color: var(--charcoal); }

/* Contact Form */
.contact-form {
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 0.6rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    background: var(--warm-white);
    border: 1px solid var(--border);
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: all 0.35s var(--ease-smooth);
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139,105,20,0.08);
}
.form-group textarea { resize: vertical; }
.form-success {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(58,122,58,0.08);
    border: 1px solid rgba(58,122,58,0.2);
    color: var(--green-ok);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================= FOOTER ========================= */
.footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 5rem 0 2rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { margin-bottom: 1.5rem; }
.footer-logo-img {
    height: 320px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.15);
}
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.8; max-width: 280px; margin-bottom: 1.75rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all 0.4s var(--ease-smooth);
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-3px); }
.footer-socials a[aria-label="Instagram"] i {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-socials a[aria-label="Facebook"] i { color: #1877F2; }
.footer-socials a[aria-label="WhatsApp"] i { color: #25D366; }

.footer-socials a:hover i {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}
.footer-nav h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a, .footer-contact a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    transition: all 0.3s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cream); padding-left: 4px; }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.seo-footer-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1rem;
}
.seo-footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}
.seo-footer-section p {
    font-size: 0.75rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.35);
}
.seo-footer-section strong {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

/* ========================= WHATSAPP ========================= */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.35);
    color: white;
    transition: all 0.5s var(--ease-spring);
    animation: waPulse 3s ease-in-out infinite;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 6px 24px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.1); }
}
.wa-float:hover { transform: scale(1.15) translateY(-3px); animation: none; box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-float .wa-tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    background: var(--charcoal);
    color: var(--cream);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.4s var(--ease-smooth);
    pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ========================= SCROLL ANIMATIONS ========================= */
.reveal-fade, .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}
.reveal-fade { opacity: 0; }
.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-fade.visible { opacity: 1; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }
.delay-3 { transition-delay: 0.5s !important; }
.delay-4 { transition-delay: 0.7s !important; }

.svc-card, .proj-item { transition-delay: var(--delay, 0s); }

.line-reveal { overflow: hidden; display: block; }
.line-reveal > * { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease-expo); }
.line-reveal.visible > * { transform: translateY(0); }
.line-reveal { transform: none !important; opacity: 1 !important; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .about::before, .projects::before { display: none; }
}
@media (max-width: 768px) {
    :root { --section-pad: 5rem 0; }
    body { cursor: auto; }
    #cursor-dot, #cursor-outline { display: none; }
    .container { padding: 0 1.5rem; }
    
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.6s var(--ease-expo);
        z-index: 100;
    }
    .nav-links.open { opacity: 1; visibility: visible; transform: translateX(0); }
    .nav-item { font-size: 1.8rem; font-family: var(--font-display); letter-spacing: 1px; }
    .nav-cta { margin-top: 1rem; }

    .hero::before { display: none; }
    .hero-title { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero-stats { flex-wrap: wrap; gap: 1rem; padding: 1.25rem; }
    .hero-stat { padding: 0 1.5rem; }
    .hs-divider { display: none; }
    .hero-scroll-hint { bottom: 5.5rem; }
    
    /* Mobilde video tam ekran uyumu */
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
    .hero-content {
        margin-top: 0;
    }
    
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .about-img-frame img { box-shadow: 15px 15px 0 var(--charcoal); }
    .img-tag { bottom: -1.5rem; right: 1rem; }
    .pillars { grid-template-columns: 1fr; }
    
    .services-grid { grid-template-columns: 1fr; }
    .projects-gallery { grid-template-columns: 1fr; }
    .proj-large { grid-row: span 1; }
    .proj-large img { aspect-ratio: 16/9; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 2rem 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    
    .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-tag { font-size: 0.55rem; padding: 0.5rem 1rem; }
    .section-heading { font-size: 2.2rem; }
}


/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--charcoal);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 0 10px 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-top: 3px solid var(--accent);
}
.dropdown:hover .dropdown-menu,
li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    padding: 12px 25px !important;
    display: block !important;
    color: var(--cream) !important;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease !important;
    text-decoration: none;
}
.dropdown-menu a::after {
    display: none !important; 
}
.dropdown-menu a:last-child,
.dropdown-menu li:last-child a {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent) !important;
    padding-left: 30px !important;
}



/* Hide text overlay on projects images globally as requested */
.project-overlay { display: none !important; }

/* Mobile Logo Fix */
@media (max-width: 991px) {
    .nav-container {
        justify-content: space-between !important;
    }
    .logo {
        margin-right: auto;
    }
    .logo-img {
        height: 125px !important;
    }
    .navbar.scrolled .logo-img {
        height: 95px !important;
    }
    .nav-links.open .nav-item,
    .nav-links.open .dropdown-toggle,
    .nav-links.open i {
        color: #000000 !important;
    }
    .hero-stats {
        flex-wrap: nowrap !important;
        gap: 0 !important;
        padding: 1rem 0 !important;
        transform: translateY(15px);
        justify-content: space-around !important;
        width: 100% !important;
    }
    .hero-stat {
        padding: 0 !important;
        max-width: 33% !important;
        flex: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .hs-num {
        font-size: 1.6rem !important;
    }
    .hs-plus {
        font-size: 1rem !important;
    }
    .hs-label {
        font-size: 0.6rem !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        padding: 0 2px !important;
    }
    .hs-divider {
        display: block !important;
        height: 35px !important;
        margin: 0 !important;
    }
    .marquee-band {
        margin-top: 25px !important;
    }
}

body.no-scroll, html.no-scroll {
    overflow: hidden !important;
}

.hamburger.active span {
    background: #000000 !important;
}
