/* Post Architecture | Real Estate - Tüm stiller tek dosyada */

:root {
    /* Kurumsal palet: modern lacivert & beyaz */
    --color-primary: #1b3055;
    --color-secondary: #1b3055;
    --color-secondary-hover: #142840;
    --color-light: #ffffff;
    --color-dark: #0d1a2e;
    --color-gray: #5a6c7d;
    --font-heading: 'General Sans', sans-serif;
    --font-body: 'General Sans', sans-serif;
}

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

html {
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
    overflow-x: clip;
    font-family: var(--font-body);
    max-width: 100%;
    color: var(--color-primary);
    background-color: #fff;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Navbar - üstteyken şeffaf, aşağıda lacivert arka plan */
.navbar {
    padding: 1.25rem 0;
    background: transparent !important;
    transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.navbar.scrolled {
    background: var(--color-primary) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.75rem 0;
}

/* Üstteyken (hero üzerinde): beyaz metin */
.navbar .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar .navbar-brand span {
    color: rgba(255,255,255,0.95);
    transition: color 0.3s ease;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: rgba(255,255,255,0.9) !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar .lang-switch {
    border: 1px solid rgba(255,255,255,0.8);
    color: #fff !important;
    padding: 0.4rem 1rem !important;
    border-radius: 6px;
    margin-left: 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar .lang-switch:hover {
    background: #fff !important;
    color: var(--color-dark) !important;
    border-color: #fff;
}

.navbar .navbar-toggler {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media (min-width: 992px) {
    .navbar .navbar-toggler {
        display: none !important;
    }
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease, width 0.3s ease;
    transform-origin: center;
    flex-shrink: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Aşağı kaydırıldığında: lacivert arka plan, beyaz metin */
.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-brand span {
    color: #fff !important;
}

.navbar.scrolled .navbar-brand span {
    color: rgba(255,255,255,0.95) !important;
}

.navbar.scrolled .nav-link {
    color: #fff !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: rgba(255,255,255,0.9) !important;
}

.navbar.scrolled .nav-link::after {
    background: #fff;
}

.navbar.scrolled .lang-switch {
    border-color: rgba(255,255,255,0.8);
    color: #fff !important;
}

.navbar.scrolled .lang-switch:hover {
    background: #fff !important;
    color: var(--color-primary) !important;
    border-color: #fff;
}

.navbar.scrolled .navbar-toggler {
    border: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.6)),
                url('../public/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn-custom {
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-custom {
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(27, 48, 85, 0.35);
}

.btn-primary-custom:hover {
    background: var(--color-secondary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 48, 85, 0.45);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--color-dark);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styling */
section {
    padding: 7rem 0;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: var(--color-light);
}

.about-intro {
    margin-bottom: 2.5rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-work-areas-wrap {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.about-block-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.about-work-areas {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2.5rem;
}

.about-work-areas li {
    padding: 0.4rem 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
}

.about-work-areas li strong {
    color: var(--color-dark);
    font-weight: 600;
}

.about-work-areas li span {
    color: #64748b;
    font-weight: 400;
}

.about-team-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.about-team-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    height: 100%;
}

.about-team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.about-team-role {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.about-team-title-small {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

.about-team-divider {
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin: 1.25rem 0;
}

.about-team-bio {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.about-team-bio:last-child {
    margin-bottom: 0;
}

.about-image {
    position: sticky;
    top: 160px;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-secondary);
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: 2rem 3rem;
    margin-top: 0;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.services-section .section-subtitle {
    color: var(--color-primary);
    font-weight: 500;
}

.services-section .section-title {
    color: var(--color-dark);
}

.services-section .section-divider {
    background: var(--color-primary);
}

.service-card {
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.service-card:hover {
    border-color: rgba(27, 48, 85, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 48, 85, 0.12);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(27, 48, 85, 0.06) 0%, rgba(27, 48, 85, 0.02) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: #fff;
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
    font-weight: 500;
}

.service-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.65;
}

/* Projects Section */
.projects-section {
    background: var(--color-light);
}

.project-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card.tall img {
    height: 716px;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.project-card {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    touch-action: manipulation;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    flex-direction: column;
}

.lightbox-content {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 4rem 1rem 5rem;
}

.lightbox-img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.lightbox-info {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    padding: 0 1rem;
    max-width: 100%;
}

.lightbox-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.lightbox-info p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

.lightbox-close {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    right: calc(1rem + env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover,
.lightbox-close:active {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10001;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-prev:hover,
.lightbox-prev:active,
.lightbox-next:hover,
.lightbox-next:active {
    background: rgba(255,255,255,0.25);
}

.lightbox-prev {
    left: calc(0.5rem + env(safe-area-inset-left));
}

.lightbox-next {
    right: calc(0.5rem + env(safe-area-inset-right));
}

.lightbox-counter {
    position: fixed;
    top: calc(1rem + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    z-index: 10001;
}

.portfolio-view-all,
.listings-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-view-all { margin-top: 2rem; }
.listings-view-all { margin-top: 0; }

@media (max-width: 767px) {
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.25rem;
        left: calc(0.5rem + env(safe-area-inset-left));
        right: calc(0.5rem + env(safe-area-inset-right));
    }
    
    .lightbox-content {
        padding: 3.5rem 0.75rem 4.5rem;
    }
    
    .lightbox-img {
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
    }
    
    .lightbox-info h4 {
        font-size: 1rem;
    }
    
    .lightbox-info p {
        font-size: 0.8rem;
    }
}

/* Process Section */
.process-section .container {
    overflow-x: hidden;
}
@supports (overflow-x: clip) {
    .process-section .container { overflow-x: clip; }
}

.process-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-secondary);
}

.process-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

.process-line {
    position: absolute;
    top: 60px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #eee;
    z-index: -1;
}

/* Testimonials */
.testimonials-section {
    background: var(--color-dark);
    color: #fff;
}

.testimonials-section .section-subtitle {
    color: #fff;
}

.testimonials-section .section-divider {
    background: #fff;
}

.testimonial-card {
    padding: 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card .bi-quote {
    font-size: 3rem;
    color: #fff;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #fff;
}

/* Contact Section */
.contact-section {
    background: var(--color-light);
    font-family: var(--font-body);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.contact-info-item p a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-info-item p a:hover {
    text-decoration: underline;
}

.contact-career-block {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.contact-map-wrapper {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    width: 100%;
    height: 280px;
}

.contact-career-block h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
}

.contact-career-text {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
}

.contact-career-text a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-career-text a:hover {
    text-decoration: underline;
}

.form-control {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(27, 48, 85, 0.15);
}

/* KVKK Checkbox */
.kvkk-checkbox-wrapper {
    margin-bottom: 0.25rem;
}

.kvkk-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
}

.kvkk-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.kvkk-custom-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kvkk-custom-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.kvkk-input:checked + .kvkk-custom-box {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.kvkk-input:checked + .kvkk-custom-box::after {
    opacity: 1;
}

.kvkk-label:hover .kvkk-custom-box {
    border-color: var(--color-secondary);
}

.kvkk-input:focus-visible + .kvkk-custom-box {
    outline: 3px solid rgba(27, 48, 85, 0.3);
    outline-offset: 2px;
}

.kvkk-text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}

.kvkk-link {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 500;
}

.kvkk-link:hover {
    color: var(--color-secondary-hover);
}

.kvkk-checkbox-wrapper.has-error .kvkk-custom-box {
    border-color: #dc3545;
}

.kvkk-error {
    font-size: 0.82rem;
    color: #dc3545;
    margin-top: 0.4rem;
    margin-left: 1.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.kvkk-error::before {
    content: '⚠';
    font-size: 0.9em;
}

/* KVKK Modal Overlay */
#kvkkOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

#kvkkOverlay.kvkk-overlay--open {
    opacity: 1;
}

#kvkkModalBox {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

#kvkkOverlay.kvkk-overlay--open #kvkkModalBox {
    transform: translateY(0);
}

.kvkk-modal-header {
    background: var(--color-secondary);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.kvkk-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0;
    color: #fff;
}

.kvkk-modal-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.kvkk-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.kvkk-modal-body {
    padding: 1.75rem 1.5rem;
    overflow-y: auto;
    color: #333;
    line-height: 1.7;
    font-size: 0.9rem;
    flex: 1;
}

.kvkk-intro {
    background: #f4f6fa;
    border-left: 4px solid var(--color-secondary);
    padding: 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.25rem;
    color: #444;
    font-size: 0.88rem;
}

.kvkk-heading {
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.kvkk-list {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.kvkk-list li {
    margin-bottom: 0.3rem;
    color: #555;
}

.kvkk-mail-link {
    color: var(--color-secondary);
    text-decoration: underline;
}

.kvkk-modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Vitrindeki İlanlar / Listings Section */
.listings-section {
    background: #f8f9fa;
}

.listing-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.listing-link:hover {
    color: inherit;
}

.listing-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.listing-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.listing-image {
    position: relative;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.03);
}

.listing-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-secondary);
    color: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

.listing-body {
    padding: 1.5rem;
}

.listing-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.listing-location {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
}

.listing-location i {
    margin-right: 0.35rem;
}

.listing-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.listing-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.listing-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
}

/* Listings animasyon */
.listings-section .section-header,
.listings-section .listing-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.listings-section.in-view .section-header { opacity: 1; transform: translateY(0); }
.listings-section.in-view .listing-card { opacity: 1; transform: translateY(0); }
.listings-section.in-view .row > *:nth-child(1) .listing-card { transition-delay: 0.1s; }
.listings-section.in-view .row > *:nth-child(2) .listing-card { transition-delay: 0.18s; }
.listings-section.in-view .row > *:nth-child(3) .listing-card { transition-delay: 0.26s; }
.listings-section.in-view .row > *:nth-child(4) .listing-card { transition-delay: 0.34s; }
.listings-section.in-view .row > *:nth-child(5) .listing-card { transition-delay: 0.42s; }
.listings-section.in-view .row > *:nth-child(6) .listing-card { transition-delay: 0.5s; }

/* Footer */
footer {
    background: var(--color-dark);
    color: #fff;
    padding: 3rem 0 1.5rem;
    text-align: center;
}

footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.footer-brand span {
    color: #fff;
}

footer .footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

footer .footer-main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem 2.5rem;
}

footer .footer-links-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin: 0;
}

footer .footer-links li:not(:last-child)::after {
    content: '·';
    margin-left: 1rem;
    color: rgba(255,255,255,0.3);
    font-weight: bold;
}

footer .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

footer .footer-inner {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

footer.visible .footer-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Bölüm animasyonları */
.hero-content .hero-subtitle { opacity: 0; animation: fadeUp 0.6s 0.15s ease forwards; }
.hero-content .hero-title { opacity: 0; animation: fadeUp 0.6s 0.3s ease forwards; }
.hero-content .hero-text { opacity: 0; animation: fadeUp 0.6s 0.45s ease forwards; }
.hero-content .d-flex { opacity: 0; animation: fadeUp 0.6s 0.6s ease forwards; }

.about-section .about-image,
.about-section .about-content-block {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-section .about-image { transform: translateX(-50px); }
.about-section .about-content-block { transform: translateX(50px); }
.about-section.in-view .about-image,
.about-section.in-view .about-content-block {
    opacity: 1;
    transform: translateX(0);
}
.about-section.in-view .about-content-block { transition-delay: 0.15s; }

.services-section .section-header,
.services-section .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.services-section.in-view .section-header { opacity: 1; transform: translateY(0); }
.services-section.in-view .service-card { opacity: 1; transform: translateY(0); }
.services-section.in-view .row > *:nth-child(1) .service-card { transition-delay: 0.1s; }
.services-section.in-view .row > *:nth-child(2) .service-card { transition-delay: 0.18s; }
.services-section.in-view .row > *:nth-child(3) .service-card { transition-delay: 0.26s; }
.services-section.in-view .row > *:nth-child(4) .service-card { transition-delay: 0.34s; }
.services-section.in-view .row > *:nth-child(5) .service-card { transition-delay: 0.42s; }
.services-section.in-view .row > *:nth-child(6) .service-card { transition-delay: 0.5s; }

.process-section .section-header,
.process-section .process-item {
    opacity: 0;
    transform: translateY(25px) translateZ(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: transform;
}
.process-section.in-view .section-header { opacity: 1; transform: translateY(0) translateZ(0); will-change: auto; }
.process-section.in-view .process-item { opacity: 1; transform: translateY(0) translateZ(0); will-change: auto; }
.process-section.in-view .row > *:nth-child(1) .process-item { transition-delay: 0.1s; }
.process-section.in-view .row > *:nth-child(2) .process-item { transition-delay: 0.2s; }
.process-section.in-view .row > *:nth-child(3) .process-item { transition-delay: 0.3s; }
.process-section.in-view .row > *:nth-child(4) .process-item { transition-delay: 0.4s; }

.projects-section .section-header,
.projects-section .project-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.projects-section.in-view .section-header { opacity: 1; transform: translateY(0) scale(1); }
.projects-section.in-view .project-card { opacity: 1; transform: translateY(0) scale(1); }
.projects-section.in-view .row .col-lg-4 .project-card { transition-delay: 0.1s; }
.projects-section.in-view .row .col-lg-8 .row .col-md-6:nth-child(1) .project-card { transition-delay: 0.15s; }
.projects-section.in-view .row .col-lg-8 .row .col-md-6:nth-child(2) .project-card { transition-delay: 0.22s; }
.projects-section.in-view .row .col-lg-8 .row .col-md-6:nth-child(3) .project-card { transition-delay: 0.29s; }
.projects-section.in-view .row .col-lg-8 .row .col-md-6:nth-child(4) .project-card { transition-delay: 0.36s; }

.testimonials-section .section-header,
.testimonials-section .testimonial-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.testimonials-section.in-view .section-header { opacity: 1; transform: translateY(0); }
.testimonials-section.in-view .testimonial-card { opacity: 1; transform: translateY(0); }
.testimonials-section.in-view .row > *:nth-child(1) .testimonial-card { transition-delay: 0.1s; }
.testimonials-section.in-view .row > *:nth-child(2) .testimonial-card { transition-delay: 0.2s; }
.testimonials-section.in-view .row > *:nth-child(3) .testimonial-card { transition-delay: 0.3s; }

.contact-section .contact-info-block,
.contact-section .contact-form-block {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact-section .contact-info-block { transform: translateX(-40px); }
.contact-section .contact-form-block { transform: translateX(40px); }
.contact-section.in-view .contact-info-block,
.contact-section.in-view .contact-form-block {
    opacity: 1;
    transform: translateX(0);
}
.contact-section.in-view .contact-form-block { transition-delay: 0.15s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .navbar-brand {
        font-size: 1.15rem;
    }

    .navbar .navbar-toggler {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .navbar-collapse {
        background: var(--color-primary);
        border-radius: 14px;
        padding: 1.25rem 1.5rem;
        margin-top: 0.75rem;
        z-index: 1020;
        box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    }

    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        position: relative;
        z-index: 1020;
    }
    
    .navbar-collapse .navbar-nav {
        align-items: flex-start;
    }
    
    .navbar-collapse .nav-link {
        padding: 0.6rem 0 !important;
    }
    
    .navbar-collapse .lang-switch {
        margin-left: 0;
        margin-top: 0.5rem;
        padding: 0.6rem 1.5rem !important;
        min-width: 3.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .about-image {
        position: relative;
        top: auto;
    }
    
    .about-image::before {
        display: none;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-stats {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }

    .about-work-areas li {
        font-size: 0.9rem;
    }

    .process-line {
        display: none;
    }
    
    .project-card.tall img {
        height: 350px;
    }
    
    .service-card h4 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .btn-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 6rem 0 3rem;
        background-attachment: scroll;
        background-image: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.6)),
                          url('../public/hero-mobile.webp');
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .hero-text {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .about-text {
        font-size: 0.875rem;
    }
    
    .about-work-areas {
        grid-template-columns: 1fr;
    }
    
    .about-work-areas-wrap {
        padding: 1.25rem 1.25rem;
    }
    
    .about-work-areas li {
        font-size: 0.875rem;
    }

    .about-team-card {
        padding: 1.25rem;
    }
    
    .about-team-name {
        font-size: 1rem;
    }
    
    .navbar .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-collapse {
        background: var(--color-primary);
        padding: 1.25rem 1.5rem;
        margin-top: 0.75rem;
    }
    
    .navbar-collapse .lang-switch {
        padding: 0.65rem 1.75rem !important;
        min-width: 4rem;
        font-size: 0.9rem;
    }
    
    .process-item {
        padding: 1.25rem 0.5rem;
    }
    
    .process-item h4 {
        font-size: 1rem;
    }
    
    .process-item p {
        font-size: 0.85rem;
    }
    
    .testimonial-card p {
        font-size: 0.9rem;
    }
    
    .contact-info-item p,
    .contact-career-text {
        font-size: 0.9rem;
    }
    
    footer .footer-inner {
        gap: 1.25rem;
    }
    footer .footer-main {
        flex-direction: column;
        gap: 1rem;
    }
    footer .footer-links li:not(:last-child)::after {
        display: none;
    }
    footer .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   WhatsApp Floating Widget
   ============================================ */
.wa-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-body);
}

/* Chat bubble */
.wa-bubble {
    background: #fff;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
    padding: 12px 16px;
    width: 100%;
    font-size: 0.88rem;
    color: #1a1a1a;
    line-height: 1.4;
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    opacity: 0;
    transform: translateY(8px) scale(0.97);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.wa-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.wa-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 2px solid transparent;
    border-top: 9px solid #fff;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.06));
}
.wa-bubble-text {
    min-height: 1.3em;
    display: block;
}
/* Blinking cursor for typewriter */
.wa-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #25d366;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: wa-blink 0.7s step-end infinite;
}
@keyframes wa-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Main WhatsApp button */
.wa-btn {
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    flex-shrink: 0;
}
.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
.wa-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    transition: transform 0.3s ease;
}
.wa-btn.open svg {
    transform: rotate(45deg) scale(0.8);
}

/* Pulse ring */
.wa-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Number selection panel */
.wa-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 16px;
    width: 100%;
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.wa-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.wa-panel-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.wa-number-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: none;
    background: #f8fffe;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a1a;
    transition: background 0.18s ease, transform 0.15s ease;
    margin-bottom: 8px;
}
.wa-number-btn:last-child {
    margin-bottom: 0;
}
.wa-number-btn:hover {
    background: #e8fdf2;
    transform: translateX(3px);
}
.wa-number-icon {
    width: 36px;
    height: 36px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-number-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}
.wa-number-info {
    text-align: left;
    line-height: 1.25;
}
.wa-number-label {
    font-size: 0.72rem;
    color: #888;
    display: block;
}
.wa-number-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    display: block;
}

@media (max-width: 576px) {
    .wa-widget {
        bottom: 20px;
        right: 16px;
        width: 230px;
    }
    .wa-btn {
        width: 52px;
        height: 52px;
    }
    .wa-btn svg {
        width: 26px;
        height: 26px;
    }
    .wa-bubble {
        font-size: 0.84rem;
    }
}
