/* ===================================
   Ahmet Yum Avukatlık Bürosu - Modern Minimal Design
   Inspired by Solsars Style 2026
   =================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=DM+Sans:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables / Design Tokens */
:root {
    /* Colors - Clean Minimal */
    --color-black: #0a0a0a;
    --color-dark: #1a1a1a;
    --color-gray-900: #1f1f1f;
    --color-gray-800: #2d2d2d;
    --color-gray-700: #404040;
    --color-gray-600: #525252;
    --color-gray-500: #6b6b6b;
    --color-gray-400: #8a8a8a;
    --color-gray-300: #b3b3b3;
    --color-gray-200: #e5e5e5;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;
    --color-off-white: #fafafa;

    /* Typography */
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --space-6xl: 100px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Container */
    --container-max: 1440px;
    --container-padding: 2.5rem;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    margin-bottom: var(--space-md);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-primary:hover {
    background-color: var(--color-gray-800);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-gray-300);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-gray-800);
}

/* ===================================
   Header / Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    background-color: var(--color-white);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: var(--space-md) 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.logo-img {
    height: 38px;/*70*/
    width: auto;
}

/* Supernotes Style Logo Text */
.logo-text {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.logo-text-bold {
    font-weight: 800;
    color: #9d3535;
}

.logo-text-light {
    font-weight: 400;
    color: var(--color-gray-600);
    margin-left: 0.35em;
}

.logo-main {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-black);
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
}

.nav-list {
    display: flex;
    gap: var(--space-2xl);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-600);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-black);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--color-gray-800);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 1100; /* Overlay'in üstünde kalmalı */
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-normal);
}

/* Hamburger → X animasyonu (menü açıkken) */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobil menü açıkken subpage header'ın toggle ikonları da beyaz kalır */
.subpage .header .menu-toggle.active span {
    background-color: #fff;
}

/* Mobil menü arka plan overlay'i — JS ile oluşturulur */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    /*display: block;*/
    opacity: 1;
}

/* Sayfa scroll kilidi — menü açıkken body'e eklenir */
body.menu-open {
    overflow: hidden;
}

/* ===================================
   Hero Section - Solsars Style
   =================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: var(--space-md);
    margin-top: 100px;
    border-radius: var(--radius-xl);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: var(--space-4xl);
    width: 100%;
}

.hero-content {
    color: var(--color-white);
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
    font-family: var(--font-heading);
}

.hero-title .highlight {
    display: block;
    color: rgba(255, 255, 255, 0.6);
}

.hero-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xl);
    max-width: 380px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-hero-primary:hover {
    background-color: var(--color-gray-100);
    transform: translateY(-2px);
}

.btn-hero-primary svg {
    width: 16px;
    height: 16px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: transparent;
    color: var(--color-white);
    border: none;
    transition: var(--transition-normal);
}

.btn-hero-secondary:hover {
    opacity: 0.8;
}

.btn-hero-secondary .play-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary svg {
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

/* Hero Floating Card */
.hero-floating-card {
    background: rgba(45, 45, 45, 0.85);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 300px;
}

.hero-floating-card img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.floating-content {
    flex: 1;
}

.floating-content h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.floating-content p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: var(--space-6xl) 0;
}

.section-header {
    max-width: 600px;
    margin-bottom: 3rem;/*var(--space-4xl);*/
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.section-badge::before {
    content: '•';
    margin-right: var(--space-xs);
}

.section-title {
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.section-title span {
    color: var(--color-gray-400);
}

.section-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ===================================
   About Preview Section
   =================================== */
.about-preview {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-5xl);
    align-items: start;
}

.about-image-wrapper {
    position: relative;
}

.about-team-avatars {
    display: flex;
    margin-bottom: var(--space-xl);
}

.about-team-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    margin-left: -12px;
    object-fit: cover;
}

.about-team-avatars img:first-child {
    margin-left: 0;
}

.about-team-count {
    margin-top: var(--space-md);
}

.about-team-count strong {
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
}

.about-team-count span {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: none;
}

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

.about-experience {
    display: none;
}

.about-content {
    padding-left: 0;
}

.about-content p {
    color: var(--color-gray-500);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.about-features {
    display: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-outline svg {
    width: 14px;
    height: 14px;
}

/* ===================================
   Featured Product Section
   =================================== */
.featured-product {
    background-color: var(--color-gray-100);
    padding: var(--space-5xl) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.featured-content .section-badge {
    margin-bottom: var(--space-lg);
}

.featured-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-xl);
}

.featured-content h2 span {
    color: var(--color-gray-400);
}

.featured-description {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.specs-list {
    margin-bottom: var(--space-2xl);
}

.specs-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.spec-item span:first-child {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.spec-item span:last-child {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-black);
}

.featured-buttons {
    display: flex;
    gap: var(--space-md);
}

.featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Process Section
   =================================== */
.process-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin: var(--space-md);
    border-radius: var(--radius-xl);
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.process-section .container {
    position: relative;
    z-index: 3;
    padding-bottom: var(--space-4xl);
    width: 100%;
}

.process-content {
    color: var(--color-white);
    max-width: 550px;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    margin-bottom: var(--space-xl);
}

.process-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-family: var(--font-heading);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.process-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.process-title span {
    color: rgba(255, 255, 255, 0.5);
}

.process-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

.process-nav {
    position: absolute;
    bottom: var(--space-4xl);
    right: var(--container-padding);
    display: flex;
    gap: var(--space-sm);
    z-index: 3;
}

.process-nav button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.process-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.process-nav button svg {
    width: 16px;
    height: 16px;
}

/* Process Slider */
.process-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.process-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.process-slide.active {
    opacity: 1;
}

.process-slide .process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.process-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-white);
}

/* ===================================
   Services Section
   =================================== */
.services {
    background-color: var(--color-white);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-4xl);
}

.services-header .section-header {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 2;
}

.service-category {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    font-family: var(--font-body);
    margin-bottom: var(--space-xs);
}

.service-card p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.service-card-link {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.service-card:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link svg {
    width: 14px;
    height: 14px;
    color: var(--color-black);
}

/* Old service card styles - hidden */
.service-icon,
.service-link {
    display: none;
}

/* ===================================
   Team Section
   =================================== */
.team {
    background-color: var(--color-gray-100);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.team-social-link:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.team-info {
    padding: var(--space-lg);
}

.team-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    font-family: var(--font-body);
}

.team-info p {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin: 0;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: var(--space-6xl) 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.cta-content h2 span {
    color: var(--color-gray-500);
}

.cta-content p {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
}

/* ===================================
   Publications Section
   =================================== */
.publications {
    background-color: var(--color-white);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.publication-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
}

.publication-card:hover {
    border-color: var(--color-gray-300);
    box-shadow: var(--shadow-lg);
}

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

.publication-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.publication-category {
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-black);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.publication-content {
    padding: var(--space-xl);
}

.publication-date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-400);
    margin-bottom: var(--space-xs);
}

.publication-author {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.publication-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    line-height: 1.4;
    font-family: var(--font-body);
}

.publication-content p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.publication-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-black);
}

.publication-link svg {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.publication-link:hover svg {
    transform: translateX(4px);
}

/* ===================================
   Contact Section
   =================================== */
.contact-preview {
    background-color: var(--color-gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.contact-item {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--color-white);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-family: var(--font-body);
}

.contact-item p {
    color: var(--color-gray-500);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-black);
    font-weight: 500;
}

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

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo-text {
    color: var(--color-white);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer-brand .logo-text-bold {
    color: var(--color-white);
}

.footer-brand .logo-text-light {
    color: rgba(255, 255, 255, 0.75);
}

.footer-address {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-gray-400);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    text-align: left;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.footer-cta {
    text-align: left;
}

.footer-cta h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.footer-cta h3 span {
    color: var(--color-gray-500);
}

.footer-cta p {
    color: var(--color-gray-400);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-cta-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-400);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--color-white);
}

.footer-contact-info svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--color-gray-500);
    font-size: 0.8125rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-xl);
}

.footer-legal a {
    color: var(--color-gray-500);
    font-size: 0.8125rem;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* ===================================
   Page Header (for sub-pages)
   =================================== */
.page-header {
    background: var(--color-gray-100);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.875rem;
}

.page-header .breadcrumb a {
    color: var(--color-gray-500);
}

.page-header .breadcrumb a:hover {
    color: var(--color-black);
}

.page-header .breadcrumb span {
    color: var(--color-black);
}
 .subpage .footer-contact-info{
        display: none !important;
    }
/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1200px) {
    .hero .container {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2xl);
    }

    .hero-floating-card {
        align-self: flex-start;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 992px) {
    /* Masaüstü nav'ı gizle */
    .nav {
        display: none;
    }

    /* Mobil menü — sağdan kayan panel */
    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(320px, 85vw);
        background: var(--color-white);
        z-index: 1050;
        padding: 100px var(--space-2xl) var(--space-2xl);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        /* Sağdan içeri kayma animasyonu */
        animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        gap: 0;
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Mobil menüdeki nav-list — dikey liste */
    .nav.active .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* Mobil nav link stilleri */
    .nav.active .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .nav.active .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-lg) 0;
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--color-gray-800);
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

    .nav.active .nav-link:hover,
    .nav.active .nav-link.active {
        color: var(--color-black);
        padding-left: var(--space-sm);
    }

    /* Hamburger toggle'ı göster */
    .menu-toggle {
        display: flex;
    }

    /* Subpage (beyaz header) için toggle rengi */
    .subpage .header .menu-toggle span {
        background-color: #fff;
    }

    /* Subpage'de menü AÇIKKEN toggle koyu olmalı (panel beyaz arka planlı) */
    .subpage .header .menu-toggle.active span {
        background-color: var(--color-black);
    }

    /* Subpage'de menü paneli açıkken link renkleri koyu olmalı */
    .subpage .header .nav.active .nav-link {
        color: var(--color-gray-800);
    }

    .subpage .header .nav.active .nav-link:hover,
    .subpage .header .nav.active .nav-link.active {
        color: var(--color-black);
    }

   

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .hero {
        margin: var(--space-sm);
        margin-top: 70px;
        min-height: auto;
        aspect-ratio: auto;
        padding-bottom: var(--space-3xl);
    }

    .hero .container {
        padding-bottom: var(--space-2xl);
    }

    .hero-floating-card {
        display: none;
    }

    .process-section {
        margin: var(--space-sm);
        min-height: auto;
        aspect-ratio: auto;
        padding-bottom: var(--space-3xl);
    }

    .process-nav {
        position: static;
        margin-top: var(--space-xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-cta {
        grid-column: span 1;
    }

    .footer-cta-buttons {
        justify-content: center;
    }

    .footer-contact-info {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .cta-buttons,
    .featured-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero{
        margin-top: 120px !important;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .logo-text, .subpage .header .logo-text{
        font-size: 1.12rem !important;
    }
    .hero-title{
        font-size: clamp(1.8rem, 5vw, 4rem);
        padding-top: 2rem;
    }
    .footer-cta h3{
        font-size: 16px !important;
    }
}

.footer .logo-img,
.footer-brand .logo-img {
    height: 38px;
}