/* ========================================================
   TEZCAN GROUP - ARKE EXACT MATCH STYLE
======================================================== */

:root {
    /* Color Palette Arcke Style */
    --clr-bg-dark: #12141b;
    /* Very dark blue/gray */
    --clr-bg-darker: #0d0f14;
    --clr-bg-card: #1a1d24;
    --clr-gold: #cca150;
    /* Logo Gold */
    --clr-gold-light: #e6c581;
    --clr-white: #ffffff;
    --clr-text: #a1a1a8;

    /* Typography */
    --font-primary: 'Jost', sans-serif;

    /* Transitions */
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease-in-out;

    /* Premium Gold Gradient (Logo Matching) */
    --clr-gold-gradient: linear-gradient(180deg, #7c5f33 0%, #e1cc82 50%, #8a6a39 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--clr-white);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 30px;
}

/* ========================================================
   TOP BAR
======================================================== */
.top-bar {
    background-color: #0d0f14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    font-size: 13px;
    color: #888;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-item {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
}

.top-item .icon {
    color: var(--clr-gold);
    margin-right: 8px;
    font-style: normal;
}

/* ========================================================
   MAIN NAVBAR (ARCKE CLONE)
======================================================== */
.navbar {
    background-color: #12141b;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 0;
}

.nav-container {
    max-width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Branding */
.logo-area {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.logo-box img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Logo text logic removed - Using unified logo-2 */

/* Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--clr-white);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--clr-gold);
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Premium Lang Switcher */
.premium-lang {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 4px;
    margin-right: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-lang .lang-icon {
    color: var(--clr-gold);
    margin-right: 8px;
    font-size: 16px;
}

.premium-lang select {
    background: transparent;
    color: var(--clr-white);
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.premium-lang select option {
    background: var(--clr-bg-dark);
    color: var(--clr-white);
}

/* Get a quote button */
.nav-quote-btn {
    background: var(--clr-gold-gradient);
    color: var(--clr-white);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-slow);
}

/* .nav-quote-btn {
    color: #070d1a;
    border: 1px solid rgba(217, 187, 115, 0.45);
    background: linear-gradient(180deg, #7c5f33 0%, #e1cc82 50%, #8a6a39 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.35s ease;
} */

.nav-quote-btn:hover {
    background-color: var(--clr-white);
    color: var(--clr-bg-dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--clr-white);
    margin: 3px 0;
}

/* ========================================================
   HERO SCROLL-EXPANSION SECTION
======================================================== */
.hero-scroll {
    height: 150vh;
    position: relative;
    background-color: var(--clr-bg-dark);
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expand-media-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.4);
    will-change: width, height, border-radius;
    z-index: 5;
}

.expand-media-box .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 20, 27, 0.3);
    z-index: 10;
    transition: background 0.5s;
}

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-text-split {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.split-left,
.split-right {
    position: absolute;
    will-change: transform, opacity;
    white-space: nowrap;
    text-align: center;
}

.split-left {
    transform: translateY(-37vh);
}

.split-right {
    transform: translateY(37vh);
}

.hero-bottom-content {
    position: absolute;
    bottom: 5%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    pointer-events: auto;
    padding-bottom: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
    will-change: opacity, transform;
}

.scroll-indicator p {
    font-size: 11px;
    color: var(--clr-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--clr-gold), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-15px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.subtitle {
    color: var(--clr-gold);
    font-size: 16px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 0px;
    display: block;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.location {
    font-size: 18px;
    color: var(--clr-white);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--clr-gold-gradient);
    color: var(--clr-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-slow);
}

.btn-primary:hover {
    background-color: var(--clr-white);
    color: var(--clr-bg-dark);
}

.btn-outline {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--clr-white);
    border: 1px solid var(--clr-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-slow);
}

.btn-outline:hover {
    background: var(--clr-gold-gradient);
    border-color: #e1cc82;
}

/* ========================================================
   SECTIONS GENERAL (Arcke Style matching)
======================================================== */
.section-subtitle {
    color: var(--clr-gold);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
    display: inline-block;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--clr-gold);
}

.text-center .section-subtitle {
    padding-left: 0;
}

.text-center .section-subtitle::before,
.text-center .section-subtitle::after {
    display: none;
}

.map-subtitle {
    padding-left: 0;
    text-align: center;
    margin-bottom: 25px;
}

.map-subtitle::before {
    display: none;
}

.section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* ========================================================
   ABOUT SECTION
======================================================== */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--clr-gold-gradient);
    padding: 40px 30px;
    text-align: center;
    color: var(--clr-white);
}

.experience-badge h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.about-list {
    list-style: none;
    margin-top: 25px;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--clr-white);
    display: flex;
    align-items: center;
}

.list-icon {
    color: var(--clr-gold);
    margin-right: 15px;
    font-style: normal;
    font-weight: bold;
}

/* ========================================================
   SERVICES SECTION (ARCKE BOXES)
======================================================== */
.services {
    padding: 120px 0;
    background-color: var(--clr-bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-curtain-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 480px;
    background: var(--clr-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.curtain-body {
    flex: 1;
    position: relative;
    padding: 35px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.curtain-title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    transform: translateY(110px);
    transition: transform 0.4s cubic-bezier(0.25, 1.5, 0.5, 1);
    margin: auto;
}

.service-curtain-card:hover .curtain-title,
.service-curtain-card.mobile-active .curtain-title {
    transform: translateY(0);
}

.curtain-description {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--clr-text);
    transform: translateY(110px);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1.5, 0.5, 1);
    margin-bottom: auto;
}

.service-curtain-card:hover .curtain-description,
.service-curtain-card.mobile-active .curtain-description {
    transform: translateY(0);
    opacity: 1;
}

.curtain-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--clr-white);
    font-size: 20px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
}

.service-curtain-card:hover .curtain-btn,
.service-curtain-card.mobile-active .curtain-btn {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 0.4s cubic-bezier(0.25, 1.5, 0.5, 1) 0.1s;
}

.curtain-btn:hover {
    background: var(--clr-gold);
}

.curtain-blend {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Changed from pure white to a softer silver/grey to make the difference effect less stark */
    background: #cccccc; 
    mix-blend-mode: difference;
    pointer-events: none;
    clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
    transition: clip-path 0.4s cubic-bezier(0.25, 1.5, 0.5, 1);
    z-index: 10;
}

.service-curtain-card:hover .curtain-blend,
.service-curtain-card.mobile-active .curtain-blend {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.curtain-footer {
    height: 220px;
    width: 100%;
    clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
    transition: clip-path 0.4s cubic-bezier(0.25, 1.5, 0.5, 1);
    margin-top: auto;
}

.service-curtain-card:hover .curtain-footer,
.service-curtain-card.mobile-active .curtain-footer {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.curtain-footer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================
   PROJECTS SECTION
======================================================== */
.projects {
    padding: 120px 0;
}

/* ========================================================
   3D CARD STACK (PROJECTS)
======================================================== */
.card-stack-container {
    width: 100%;
    position: relative;
    padding: 30px 0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stack-glow-top {
    position: absolute;
    top: 20px;
    width: 70%;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
}

.card-stack-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    perspective: 1100px;
    outline: none;
}

.card-item {
    position: absolute;
    bottom: 50px;
    width: 520px;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--clr-bg-darker);
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    user-select: none;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
    will-change: transform, opacity, z-index;
    cursor: pointer;
    opacity: 0;
    /* JS will explicitly set opacity for visible cards */
    pointer-events: none;
}

.card-item.visible {
    pointer-events: auto;
}

.card-item.active {
    cursor: grab;
    border-color: rgba(204, 161, 80, 0.4);
    /* Gold tint border */
}

.card-item.active:active {
    cursor: grabbing;
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 10;
    pointer-events: none;
}

.card-content h3 {
    font-size: 24px;
    color: var(--clr-white);
    margin-bottom: 8px;
    font-weight: 600;
}

.card-content p {
    font-size: 15px;
    color: var(--clr-text);
}

.stack-dots {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.stack-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition-fast);
}

.stack-dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.stack-dot.active {
    background-color: var(--clr-gold);
    transform: scale(1.2);
}

/* ========================================================
   FOOTER
======================================================== */
.footer {
    background-color: var(--clr-bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 60px;
}

.footer-brand .logo-area {
    height: 80px;
    /* Navbarda 100% olan height, footerde patlamaması için sabitlendi */
}

.footer-title {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--clr-white);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
    font-size: 16px;
}

.contact-list li i {
    font-style: normal;
    background: var(--clr-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.contact-list li a:hover {
    color: var(--clr-gold);
}

.footer-bottom {
    font-size: 14px;
    color: #666;
}

/* ========================================================
   FLOATING SOCIAL MEDIA BUTTONS
======================================================== */
.floating-socials {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.social-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 29, 36, 0.85);
    border: 1px solid rgba(204, 161, 80, 0.35);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.social-float-btn i {
    font-size: 20px;
    background: var(--clr-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.35s ease;
}

.social-float-btn:hover {
    background: var(--clr-gold-gradient);
    border-color: transparent;
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(204, 161, 80, 0.35);
}

.social-float-btn:hover i {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--clr-bg-dark);
    background-clip: unset;
    color: var(--clr-bg-dark);
}

/* ========================================================
   INTERACTIVE LOCATION MAP
======================================================== */
.location-map-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    background-color: var(--clr-bg-darker);
}

.location-map-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.location-map-card {
    position: relative;
    cursor: pointer;
    user-select: none;
    perspective: 1000px;
    width: 340px;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--clr-bg-card);
    border: 1px solid rgba(204, 161, 80, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

.location-map-card:hover {
    box-shadow: 0 15px 40px rgba(204, 161, 80, 0.15);
    border-color: rgba(204, 161, 80, 0.3);
}

.location-map-card.expanded {
    width: 500px;
    height: 380px;
}

/* Grid pattern */
.map-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.location-map-card.expanded .map-grid-pattern {
    opacity: 0;
}

/* Expanded map content */
.map-expanded-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.1s;
}

.location-map-card.expanded .map-expanded-content {
    opacity: 1;
}

.map-bg {
    position: absolute;
    inset: 0;
    background: var(--clr-bg-darker);
}

.map-roads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-building {
    position: absolute;
    border-radius: 3px;
    background: rgba(204, 161, 80, 0.12);
    border: 1px solid rgba(204, 161, 80, 0.08);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s;
}

.location-map-card.expanded .map-building {
    opacity: 1;
    transform: scale(1);
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    filter: drop-shadow(0 0 10px rgba(204, 161, 80, 0.5));
}

.location-map-card.expanded .map-pin {
    transform: translate(-50%, -50%) scale(1);
}

.map-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--clr-bg-card), transparent, transparent);
    opacity: 0.6;
}

/* Card content */
.map-card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.map-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.map-icon {
    color: var(--clr-gold);
    filter: drop-shadow(0 0 4px rgba(204, 161, 80, 0.3));
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.location-map-card:hover .map-icon {
    filter: drop-shadow(0 0 8px rgba(204, 161, 80, 0.6));
}

.location-map-card.expanded .map-icon {
    opacity: 0;
}

.map-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.location-map-card:hover .map-status {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.map-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-gold);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.map-status span {
    font-size: 10px;
    font-weight: 500;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-location-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-white);
    letter-spacing: -0.3px;
    transition: transform 0.3s ease;
}

.location-map-card:hover .map-location-name {
    transform: translateX(4px);
}

.map-coordinates {
    font-size: 12px;
    font-family: monospace;
    color: var(--clr-text);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.location-map-card.expanded .map-coordinates {
    max-height: 30px;
    opacity: 1;
    margin-top: 4px;
}

.map-underline {
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(to right, rgba(204, 161, 80, 0.5), rgba(204, 161, 80, 0.3), transparent);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.location-map-card:hover .map-underline,
.location-map-card.expanded .map-underline {
    transform: scaleX(1);
}

/* Click hint */
.map-click-hint {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--clr-text);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.location-map-card:hover .map-click-hint {
    opacity: 1;
}

.location-map-card.expanded .map-click-hint {
    opacity: 0;
}

/* ========================================================
   RESPONSIVE DESIGN (MOBILE)
======================================================== */
@media(max-width: 1100px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--clr-bg-darker);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
        margin-right: 20px;
    }

    .nav-quote-btn {
        display: none;
    }

    .premium-lang {
        margin-right: 15px;
        margin-left: auto;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .card-stack-stage {
        height: 400px;
    }

    .card-item {
        width: 320px;
        height: 250px;
    }

    .top-bar {
        display: none;
    }

    /* Header Adjustments */
    .premium-lang {
        padding: 4px 10px;
        margin-right: 15px;
        margin-left: auto;
        /* Ortada kalmayıp sağa, menüye doğru yaslanmasını sağlar, logoyla arasına mesafe koyar */
        height: 30px;
    }

    .premium-lang select {
        font-size: 12px;
    }

    .premium-lang .lang-icon {
        font-size: 13px;
        margin-right: 5px;
    }

    .nav-container {
        height: 75px;
        padding-left: 0;
        padding-right: 20px;
    }

    .logo-box {
        padding: 0 10px 0 25px;
        min-width: unset;
    }

    .logo-box img {
        height: 38px;
    }

    .hero-scroll {
        height: 120vh;
    }

    .scroll-indicator {
        bottom: 100px;
    }

    .expand-media-box {
        width: 250px;
        height: 350px;
    }

    .hero-text-split {
        flex-direction: column;
    }

    .split-left {
        transform: translateY(-30vh);
    }

    .split-right {
        transform: translateY(30vh);
    }

    .hero-text-split .title {
        font-size: 32px;
        white-space: normal;
        text-align: center;
        padding: 0 20px;
    }

    /* Typography Adjustments */
    .title {
        font-size: 28px !important;
        white-space: normal !important;
        width: 100%;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 10px !important;
        white-space: normal !important;
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    /* Margin / Padding Blocks */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .about,
    .services,
    .projects {
        padding: 60px 0;
    }

    .footer {
        padding: 50px 0 20px;
    }

    /* Button Layouts */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Badge Display Adjustments */
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: -10px;
        padding: 25px 20px;
    }

    .experience-badge h2 {
        font-size: 32px;
    }

    /* Mobile specific style overwrites preserved */

    /* Footer Mobile Overlap Fix */
    .footer-brand .logo-area {
        height: 65px;
        margin-bottom: 15px !important;
    }

    /* Floating Socials Mobile */
    .floating-socials {
        right: 15px;
        gap: 10px;
    }

    .social-float-btn {
        width: 42px;
        height: 42px;
    }

    .social-float-btn i {
        font-size: 18px;
    }

    /* Location Map Mobile */
    .location-map-card {
        width: 280px;
        height: 160px;
    }

    .location-map-card.expanded {
        width: 320px;
        height: 280px;
    }

    .map-card-content {
        padding: 15px;
    }

    .map-location-name {
        font-size: 13px;
    }
}