/* ============================================
   NİF MÜHENDİSLİK - PROFESSIONAL WEBSITE STYLES
   Designer: Professional Web Designer
   ============================================ */

/* CSS Variables */
:root {
    --navy-primary: #0a2540;
    --navy-secondary: #1a3a52;
    --navy-light: #2d5a7b;
    --orange-primary: #ff6b35;
    --orange-secondary: #ff8c42;
    --orange-light: #ffa45c;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animated Background */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.bg-animated::before,
.bg-animated::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.bg-animated::before {
    background: var(--orange-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-animated::after {
    background: var(--navy-primary);
    bottom: -200px;
    left: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, -100px) rotate(120deg); }
    66% { transform: translate(-100px, 100px) rotate(240deg); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--orange-primary);
    transition: transform var(--transition-base);
}

.logo:hover .logo-icon {
    transform: rotate(180deg) scale(1.1);
}

.logo-text .logo-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    position: relative;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--orange-primary);
    transition: transform var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.08);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 50%, var(--navy-light) 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--orange-primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-line:last-child {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--orange-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.5);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-secondary), var(--orange-primary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(255, 107, 53, 0.6);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Hero Visual Elements */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-card svg {
    width: 48px;
    height: 48px;
    color: var(--orange-primary);
}

.floating-card span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    font-family: 'Poppins', sans-serif;
}

.floating-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.card-1 {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 25%;
    animation-delay: 4s;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
    padding: 4rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all var(--transition-base);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--orange-primary), var(--orange-secondary));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-primary);
}

.stat-card:hover::before {
    transform: scaleY(1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.4);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.stat-content {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-secondary));
    animation: fillBar 2s ease-out forwards;
}

.stat-card:nth-child(1) .stat-bar::after { animation-delay: 0.2s; }
.stat-card:nth-child(2) .stat-bar::after { animation-delay: 0.4s; }
.stat-card:nth-child(3) .stat-bar::after { animation-delay: 0.6s; }
.stat-card:nth-child(4) .stat-bar::after { animation-delay: 0.8s; }

@keyframes fillBar {
    to { width: 100%; }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    padding: 6rem 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--orange-primary);
}

.project-image {
    position: relative;
    height: 260px;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.95) 0%, rgba(45, 90, 123, 0.95) 100%);
    transition: all var(--transition-base);
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(255, 140, 66, 0.95) 100%);
}

.project-svg {
    width: 180px;
    height: 180px;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-slow);
}

.project-card:hover .project-svg {
    transform: scale(1.15) rotate(5deg);
}

.project-content {
    padding: 2rem;
}

.project-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.project-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.project-meta svg {
    width: 16px;
    height: 16px;
    color: var(--orange-primary);
}

/* ============================================
   VISION & MISSION SECTION
   ============================================ */

.vision-mission {
    padding: 6rem 0;
    background: var(--navy-primary);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.vision-mission .section-header {
    margin-bottom: 4rem;
}

.vision-mission .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.vision-mission .section-title {
    color: var(--white);
}

.vision-mission .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
}

.vm-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.vm-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.5);
}

.vm-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.vm-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

/* ============================================
   REFERENCES SECTION
   ============================================ */

.references {
    padding: 4rem 0;
    background: var(--white);
    overflow: hidden;
}

.references h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.references-slider {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reference-track {
    display: flex;
    gap: 3rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.reference-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reference-logo {
    min-width: 220px;
    height: 110px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.reference-logo:hover {
    background: var(--white);
    border-color: var(--orange-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.reference-logo span {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--navy-primary);
    text-align: center;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--navy-primary);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--orange-primary) 100%);
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.contact-hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-main {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 3rem;
}

/* About Section */
.about-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.about-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--orange-primary);
    margin-bottom: 2rem;
}

.profile-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.4);
}

.profile-image svg {
    width: 48px;
    height: 48px;
    color: var(--white);
}

.profile-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.title-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--orange-primary);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 100px;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1rem;
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.info-block h3 svg {
    width: 24px;
    height: 24px;
    color: var(--orange-primary);
}

.expertise-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expertise-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.expertise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--orange-primary);
    border-radius: 50%;
}

.about-quote {
    position: relative;
    padding: 1.5rem;
    background: var(--gray-50);
    border-left: 4px solid var(--orange-primary);
    border-radius: var(--radius-lg);
}

.about-quote svg {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 32px;
    height: 32px;
    color: var(--orange-primary);
    opacity: 0.3;
}

.about-quote p {
    padding-left: 2.5rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
}

/* Contact Methods */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-methods-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-methods-card h2 {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.contact-intro {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    cursor: pointer;
}

.contact-method:hover {
    background: var(--white);
    border-color: var(--orange-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.phone-icon {
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
}

.email-icon {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.location-icon {
    background: linear-gradient(135deg, var(--navy-light), var(--orange-primary));
}

.method-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.375rem;
    font-family: 'Poppins', sans-serif;
}

.method-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.method-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group label svg {
    width: 18px;
    height: 18px;
    color: var(--orange-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-800);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn-primary {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-card {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem;
    }

    /* Mobil menu kurallari dosyanin sonundaki
       "MOBIL GEZINME" bolumunde toplandi. */

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.125rem;
    }

    .about-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .reference-logo {
        min-width: 180px;
        height: 80px;
    }

    .contact-methods-card,
    .contact-form-card,
    .about-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-text .logo-name {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.625rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .project-content h3 {
        font-size: 1.25rem;
    }

    .vm-card h3 {
        font-size: 1.5rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .about-card,
    .contact-methods-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .profile-info h2 {
        font-size: 1.5rem;
    }

    .contact-method {
        padding: 1.25rem;
    }

    .method-icon {
        width: 52px;
        height: 52px;
    }

    .method-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-form,
    .references,
    footer {
        display: none;
    }

    .hero,
    .contact-hero {
        background: var(--white);
        color: var(--gray-800);
        padding: 2rem 0;
    }

    .hero-title,
    .contact-hero h1,
    .section-title {
        color: var(--navy-primary);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment if you want dark mode support
    :root {
        --white: #0f172a;
        --gray-50: #1e293b;
        --gray-800: #f1f5f9;
    }
    */
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Selection */
::selection {
    background: var(--orange-primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--orange-primary);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 6rem 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    cursor: default;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--orange-primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 53, 0.4);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* Logo Placeholder */
.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-300);
    font-size: 0.875rem;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.reference-logo:hover .logo-placeholder {
    color: var(--orange-primary);
    border-color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.05);
}

/* Settings Button */
.settings-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--orange-primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-left: 1rem;
}

.settings-btn svg {
    width: 22px;
    height: 22px;
    color: var(--orange-primary);
    transition: transform var(--transition-slow);
}

.settings-btn:hover {
    background: var(--orange-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.settings-btn:hover svg {
    color: var(--white);
    transform: rotate(90deg);
}

/* Settings Modal */
.settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;  /* Başlangıçta gizli */
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.settings-modal.active {
    display: flex;  /* Active olunca göster */
}

.settings-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.settings-header h2 {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
}

.close-modal {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.close-modal:hover {
    background: var(--orange-primary);
}

.close-modal svg {
    width: 20px;
    height: 20px;
    color: var(--gray-700);
}

.close-modal:hover svg {
    color: var(--white);
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.settings-info {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange-primary);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-page {
    padding: 6rem 0;
    background: var(--white);
}

.about-intro-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.intro-text .lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--orange-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.intro-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-lg);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* ============================================
   REFERENCES PAGE
   ============================================ */

.references-page {
    padding: 6rem 0;
    background: var(--gray-50);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.reference-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--orange-primary), var(--orange-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.reference-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-xl);
}

.reference-card:hover::before {
    transform: scaleX(1);
}

.reference-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.reference-empty {
    border-style: dashed;
    cursor: pointer;
}

.reference-empty:hover {
    background: rgba(255, 107, 53, 0.05);
}

.upload-prompt {
    text-align: center;
    color: var(--gray-400);
}

.upload-prompt svg {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    color: var(--gray-300);
}

.upload-prompt p {
    font-size: 0.875rem;
    font-weight: 600;
}

.reference-empty:hover .upload-prompt svg,
.reference-empty:hover .upload-prompt p {
    color: var(--orange-primary);
}

/* Add Reference Button */
.add-reference-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 999;
}

.add-reference-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.6);
}

.add-reference-btn svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

/* Responsive for About & References */
@media (max-width: 1024px) {
    .about-intro-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-num {
        font-size: 2.5rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .add-reference-btn {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ============================================
   PASSWORD DIALOG & ADMIN PANEL
   ============================================ */

.password-dialog {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.password-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.password-header svg:first-child {
    width: 64px;
    height: 64px;
    color: var(--orange-primary);
    margin-bottom: 1rem;
}

.password-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
}

.password-header .close-modal {
    position: absolute;
    top: 0;
    right: 0;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.password-form input {
    width: 100%;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.password-form input:focus {
    outline: none;
    border-color: var(--orange-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.password-error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #fee;
    border: 2px solid #fcc;
    border-radius: var(--radius-lg);
    color: #c33;
    margin-top: 1rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.password-error svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Admin Panel */
.admin-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 900px;
    width: 95%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.admin-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
}

.admin-header h2 svg {
    width: 32px;
    height: 32px;
    color: var(--orange-primary);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.admin-tab:hover {
    background: var(--white);
    color: var(--navy-primary);
}

.admin-tab.active {
    background: var(--white);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.admin-panels {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.admin-form textarea {
    resize: vertical;
    min-height: 100px;
}

.reference-upload {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--gray-300);
}

.reference-upload p {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.reference-upload ol {
    margin-left: 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.reference-upload ol li {
    margin-bottom: 0.5rem;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .password-dialog,
    .admin-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .password-dialog {
        padding: 2rem;
    }
    
    .admin-header,
    .admin-panels {
        padding: 1.5rem;
    }
    
    .admin-tabs {
        padding: 1rem 1.5rem;
    }
    
    .admin-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   AYARLAR MODULU (admin.js) UYUMLULUK
   ============================================ */

/* hidden ozniteligi her zaman kazanmali */
[hidden] {
    display: none !important;
}

/* Kapatma butonu metin (x) olarak kullaniliyor */
.close-modal {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--white);
}

/* Panel alt aksiyon butonlari */
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
}

/* btn-secondary koyu hero icin tasarlanmis; panelde beyaz zemin var */
.admin-actions .btn-secondary {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--navy-primary);
    backdrop-filter: none;
}

.admin-actions .btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.password-error {
    font-weight: 600;
}

/* ============================================
   AYARLAR SAYFASI (ayarlar.html)
   ============================================ */

.settings-page {
    padding: 4rem 0 6rem;
    background: var(--gray-50);
    min-height: 60vh;
}

.settings-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 820px;
    margin: 0 auto;
}

.settings-card > h2 {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.settings-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.settings-card-head h2 {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
}

.settings-logout {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--navy-primary);
    backdrop-filter: none;
    padding: 0.75rem 1.5rem;
}

.settings-logout:hover {
    background: var(--gray-100);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.settings-hint {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.settings-warning {
    display: block;
    padding: 1rem 1.25rem;
    background: #fff8ed;
    border-left: 4px solid var(--orange-primary);
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Ayarlar sayfasindaki sekmeler kart icinde durur */
.settings-card .admin-tabs {
    padding: 0 0 1.5rem;
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.settings-card .admin-tab {
    border: 2px solid var(--gray-200);
    background: var(--white);
}

.settings-card .admin-tab.active {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.settings-card .admin-panels {
    padding: 0;
    overflow: visible;
}

@media (max-width: 768px) {
    .settings-card {
        padding: 2rem 1.5rem;
    }

    .settings-page {
        padding: 2.5rem 0 4rem;
    }
}

/* ============================================
   HIZMET SAYFALARI (icerik + SSS + CTA)
   ============================================ */

.service-detail {
    padding: 5rem 0;
    background: var(--white);
}

.service-detail .container {
    max-width: 900px;
}

.prose h2 {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--navy-primary);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 1.75rem 0 0.75rem;
}

.prose p {
    color: var(--gray-700);
    line-height: 1.85;
    margin-bottom: 1.15rem;
}

.prose p.lead {
    font-size: 1.1875rem;
    color: var(--gray-800);
    font-weight: 500;
}

.prose ul {
    list-style: none;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--orange-primary);
    border-radius: 2px;
    transform: rotate(45deg);
}

.prose strong {
    color: var(--navy-primary);
    font-weight: 700;
}

.prose a {
    color: var(--orange-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--navy-primary);
}

/* Sureç adimlari */
.steps {
    counter-reset: step;
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.step {
    position: relative;
    counter-increment: step;
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.step::before {
    content: counter(step);
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    color: var(--white);
    font-weight: 800;
    border-radius: 50%;
}

.step h3 {
    margin: 0 0 0.35rem;
    font-size: 1.0625rem;
    color: var(--navy-primary);
}

.step p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* SSS */
.faq {
    padding: 5rem 0;
    background: var(--gray-50);
}

.faq .container {
    max-width: 900px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.35rem 1.75rem;
    font-weight: 700;
    color: var(--navy-primary);
    font-size: 1.0625rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color var(--transition-base);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--orange-primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--orange-primary);
}

.faq-answer {
    padding: 0 1.75rem 1.5rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* Cagri bloklari */
.cta-band {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    text-align: center;
}

.cta-band h2 {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.cta-band .hero-buttons {
    justify-content: center;
}

/* Ic baglanti kartlari */
.related-services {
    padding: 4rem 0;
    background: var(--white);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.related-card {
    display: block;
    padding: 1.5rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
}

.related-card:hover {
    background: var(--white);
    border-color: var(--orange-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card strong {
    display: block;
    color: var(--navy-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1.0625rem;
    margin-bottom: 0.35rem;
}

.related-card span {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Hizmet kartlarindaki basliklar link oldu */
.service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: var(--orange-primary);
}

/* Ekmek kirintisi */
.breadcrumb {
    padding: 1.25rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--orange-primary);
}

.breadcrumb [aria-current="page"] {
    color: var(--navy-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .prose h2 { font-size: 1.625rem; }
    .service-detail, .faq { padding: 3rem 0; }
}

/* ============================================
   YUKLENEN LOGO
   ============================================ */

/* Yuklenen logo genis oranli olabilir (orn. 2000x400) ve icinde firma adi
   yazili olabilir. Bu yuzden yuksekligi sabitleyip genisligi serbest
   birakiyoruz; boylece oran korunur ve yazi okunur kalir. */
.logo .logo-img {
    height: 52px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

/* Logo tek basina duruyorsa yanindaki bosluga gerek yok */
.logo--image {
    gap: 0;
}

@media (max-width: 1024px) {
    .logo .logo-img {
        height: 44px;
        max-width: 260px;
    }
}

@media (max-width: 640px) {
    .logo .logo-img {
        height: 38px;
        max-width: 200px;
    }
}

/* ============================================
   REFERANS LOGOLARI
   ============================================ */

/* Logo, kutunun ic alanini tamamen doldurur (orani korunarak).
   max-width/max-height kucuk dosyalari buyutmedigi icin width/height
   kullaniliyor; object-fit: contain esnemeyi onler. */
.reference-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Gri tonda dursun, uzerine gelince renklensin */
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter var(--transition-base), opacity var(--transition-base);
}

/* Dokunmatik cihazda hover yok; logolar bastan renkli ve net dursun */
@media (hover: none) {
    .reference-logo img {
        filter: none;
        opacity: 1;
    }
}

.reference-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.logo-placeholder {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--gray-400);
    font-family: 'Poppins', sans-serif;
}

/* Referanslar sayfasi izgarasi */
.references-page {
    padding: 5rem 0;
    background: var(--white);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.references-grid.is-empty {
    display: block;
}

.reference-card {
    height: 150px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all var(--transition-base);
}

.reference-card:hover {
    background: var(--white);
    border-color: var(--orange-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.reference-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.references-empty {
    text-align: center;
    color: var(--gray-500);
    padding: 3rem 1rem;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
}

/* ============================================
   HIZMET KARUSELI (ana sayfa)
   ============================================ */

.services-carousel {
    position: relative;
}

.services-viewport {
    overflow: hidden;
}

.services-track {
    display: flex;
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Her slayt bir kart. Kartlar arasi bosluk, slaytin ic boslugu ile
   verilir; boylece yuzde genislik hesabi bozulmaz.
   Kartin gorsel cercevesi ::before ile cizilir. */
.services-track > .service-card {
    position: relative;
    display: block;
    flex: 0 0 calc(100% / 3);
    box-sizing: border-box;
    margin: 0;
    padding: 2.5rem 2.25rem;
    background: transparent;
    border: none;
    box-shadow: none;
    /* script.js reveal animasyonu bu kartlari atlar; yine de guvence */
    opacity: 1 !important;
    transform: none !important;
}

.services-track > .service-card::before {
    content: '';
    position: absolute;
    inset: 0 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    z-index: 0;
}

.services-track > .service-card:hover::before {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-xl);
}

/* Icerik cercevenin uzerinde kalsin */
.services-track > .service-card > * {
    position: relative;
    z-index: 1;
}

/* Gezinme dugmeleri */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--navy-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.carousel-nav svg {
    width: 22px;
    height: 22px;
}

.carousel-nav:hover {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    color: var(--white);
}

.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

/* Sayfa noktalari */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--orange-primary);
    width: 28px;
    border-radius: 100px;
}

@media (max-width: 1024px) {
    .services-track > .service-card { flex-basis: 50%; }
    .carousel-prev { left: -12px; }
    .carousel-next { right: -12px; }
}

@media (max-width: 640px) {
    .services-track > .service-card { flex-basis: 100%; }
    .carousel-nav { display: none; }
}

/* ============================================
   HIZMETLER SAYFASI: UZERINE GELINCE BILGI
   ============================================ */

.all-services {
    padding: 5rem 0;
    background: var(--gray-50);
}

.hover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.hover-card {
    position: relative;
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 2.25rem 2rem;
    text-decoration: none;
    overflow: hidden;
    min-height: 230px;
    transition: all var(--transition-base);
}

.hover-card:hover,
.hover-card:focus-visible {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    outline: none;
}

.hover-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px -10px rgba(255, 107, 53, 0.45);
    transition: transform var(--transition-base);
}

.hover-card-icon svg {
    width: 34px;
    height: 34px;
    color: var(--white);
}

.hover-card:hover .hover-card-icon {
    transform: scale(1.06) rotate(-4deg);
}

.hover-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.35;
}

/* Bilgi katmani: normalde gizli, uzerine gelince acilir */
.hover-card-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 2rem 1.75rem;
    background: linear-gradient(to top, var(--navy-primary) 70%, rgba(10, 37, 64, 0.92));
    transform: translateY(101%);
    transition: transform var(--transition-base);
}

.hover-card:hover .hover-card-info,
.hover-card:focus-visible .hover-card-info,
.hover-card:focus-within .hover-card-info {
    transform: translateY(0);
}

.hover-card-info p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

.hover-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.85rem;
    color: var(--orange-light);
    font-weight: 700;
    font-size: 0.875rem;
}

.hover-card-link::after {
    content: '\2192';
}

/* Ayri sayfasi olmayan hizmetler */
.hover-card.is-static {
    cursor: default;
}

.hover-card.is-static:hover {
    transform: none;
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

/* Dokunmatik cihazda hover yok: bilgi hep gorunur */
@media (hover: none) {
    .hover-card {
        min-height: 0;
        padding-bottom: 0;
    }

    .hover-card-info {
        position: static;
        transform: none;
        margin: 1.25rem -2rem 0;
        padding: 1.25rem 2rem 1.5rem;
        background: var(--navy-primary);
    }
}

/* ============================================
   AYARLAR: MEDYA YONETIMI
   ============================================ */

.media-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1.25rem;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.media-preview img {
    max-width: 220px;
    max-height: 90px;
    object-fit: contain;
}

.media-empty {
    color: var(--gray-500);
    font-size: 0.9375rem;
    text-align: center;
}

.ref-manager {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.ref-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.ref-item img {
    width: 84px;
    height: 48px;
    object-fit: contain;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.ref-item .ref-name {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.85rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: inherit;
}

.ref-item .ref-name:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.ref-delete {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    background: var(--white);
    border: 2px solid #fca5a5;
    border-radius: var(--radius-md);
    color: #dc2626;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.ref-delete:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: var(--white);
}

/* Dosya secme alani */
.admin-form input[type="file"] {
    width: 100%;
    padding: 0.85rem;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Sifirlama bloku */
.settings-reset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-xl);
}

.settings-reset strong {
    display: block;
    color: #991b1b;
    font-family: 'Poppins', sans-serif;
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.settings-reset p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}

.btn-danger {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: #dc2626;
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(220, 38, 38, 0.5);
}

/* ============================================
   PROFIL FOTOGRAFI (iletisim sayfasi)
   ============================================ */

/* Fotograf varsa turuncu gradyan zemine gerek yok; kare kutuyu
   fotograf doldurur, tasan kisim kirpilir. */
.profile-image--photo {
    background: var(--gray-100);
    padding: 0;
    overflow: hidden;
}

.profile-image--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   AYARLAR: MEDYA BOLUMLERI
   ============================================ */

.media-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.35rem;
}

.media-sep {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 1rem 0 0.5rem;
}

/* Kare gorseller (favicon, portre) icin daha kucuk onizleme */
.media-preview--square img {
    max-width: 110px;
    max-height: 110px;
    border-radius: var(--radius-lg);
}

/* ============================================
   MOBIL GEZINME (hamburger menu)
   ============================================

   Onemli: JavaScript panele .is-open, dugmeye .is-active ekler.
   Bu iki sinifin karsiligi olmadigi surece hamburger'a basmak
   hicbir sey yapmaz. Kurallar burada toplandi.                */

/* Panel acikken arkaya serilen karartma. z-index header'in (1000)
   altinda kalir; boylece panel ve dugme ustte gorunur. */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 37, 64, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.nav-overlay[hidden] {
    display: none;
}

/* Panel acikken arkadaki sayfa kaymasin */
body.nav-locked {
    overflow: hidden;
}

/* Hamburger dugmesi: masaustunde gizli */
.mobile-menu-toggle {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}

@media (min-width: 769px) {
    .nav-overlay {
        display: none;
    }
}

@media (max-width: 768px) {

    /* ---- Acilir panel ---- */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: block;
        gap: 0;
        margin: 0;
        padding: 0.5rem;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        /* Kapali durum */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li + li {
        border-top: 1px solid var(--gray-100);
    }

    /* Parmakla rahat basilacak genislikte satirlar */
    .nav-links a {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.0625rem;
        border-radius: var(--radius-lg);
    }

    .nav-links a::before {
        display: none;
    }

    /* ---- Hamburger / kapat ikonu ---- */
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-toggle span {
        position: absolute;
        left: 9px;
        width: 26px;
        height: 3px;
        background: var(--navy-primary);
        border-radius: 2px;
        transition: top 0.22s ease, transform 0.22s ease, opacity 0.15s ease;
    }

    .mobile-menu-toggle span:nth-child(1) { top: 13px; }
    .mobile-menu-toggle span:nth-child(2) { top: 20.5px; }
    .mobile-menu-toggle span:nth-child(3) { top: 28px; }

    /* Acikken uc cizgi X'e doner */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        top: 20.5px;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.3);
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        top: 20.5px;
        transform: rotate(-45deg);
    }

    /* Ayarlar dugmesi de parmak boyutunda olsun */
    .settings-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   HIZMET KARUSELI: TELEFON KONTROLLERI
   ============================================ */

/* Parmakla surukleme JavaScript'te; tarayicinin kendi yatay
   kaydirma jestini devralmasini engelliyoruz. */
.services-viewport {
    touch-action: pan-y;
}

@media (max-width: 640px) {
    /* Oklar kartin ustunu kapatmasin: noktalarin iki yanina alindi */
    .carousel-nav {
        display: flex;
        top: auto;
        bottom: 0;
        transform: none;
        width: 42px;
        height: 42px;
    }

    .carousel-prev { left: 0; }
    .carousel-next { right: 0; }

    /* 10 hizmet = 10 nokta. Oklarla ayni satirda cakismasin diye
       iki yana ok genisligi kadar bosluk birakilip sarmasi acildi. */
    .carousel-dots {
        margin-top: 1.5rem;
        min-height: 42px;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 0.375rem;
        gap: 0.375rem;
        padding: 0 48px;
    }

    /* Gorunur nokta 10px kalir, dokunma alani 20px'e cikar */
    .carousel-dot {
        width: 20px;
        height: 20px;
        min-width: 0;
        min-height: 0;
        padding: 5px;
        box-sizing: border-box;
        background-clip: content-box;
    }

    .carousel-dot.active {
        width: 34px;
    }

    .services-track > .service-card {
        padding: 2rem 1.5rem;
    }

    .services-track > .service-card::before {
        inset: 0 0.375rem;
    }
}

/* ============================================
   REFERANS LOGOLARI: TELEFON
   ============================================ */

@media (max-width: 768px) {
    /* Kutular kucultulurken logolar da kuculmesin diye
       ic bosluk daraltildi. */
    .reference-logo {
        min-width: 190px;
        height: 96px;
        padding: 0.75rem 1rem;
    }

    .reference-track {
        gap: 1.5rem;
    }

    .references h3 {
        font-size: 1.625rem;
        margin-bottom: 2rem;
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .reference-card {
        height: 120px;
        padding: 0.85rem;
    }
}

@media (max-width: 380px) {
    .references-grid {
        grid-template-columns: 1fr;
    }

    .reference-card {
        height: 130px;
    }
}

/* ============================================
   GENEL TELEFON ROTUSLARI
   ============================================ */

/* Gorseller kutusundan tasip yatay kaydirma yaratmasin */
img,
svg,
video,
iframe {
    max-width: 100%;
}

/* iOS'ta yatay cevirince yazilarin buyumesini engeller */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 768px) {
    /* iOS, 16px'ten kucuk yazili alana odaklanildiginda sayfayi
       zorla yakinlastirir. 16px bunu onler. */
    input,
    select,
    textarea {
        font-size: 16px;
    }

    /* Uzun kelimeler (e-posta, adres) satira sigmadiginda bolunsun */
    .prose p,
    .method-value,
    footer p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* Dokunma hedefleri */
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .tab-btn {
        min-height: 44px;
    }

    footer {
        padding: 2rem 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar .container {
        padding: 0.75rem 1rem;
    }

    .references {
        padding: 3rem 0;
    }

    .hover-card {
        padding: 1.75rem 1.5rem;
    }

    /* Dokunmatik cihazda bilgi katmani akista duruyor ve kartin ic
       boslugunu negatif margin ile asiyor. Kart padding'i degistigi
       icin bu iki deger birlikte guncellenmeli, yoksa yatay tasma olur. */
    @media (hover: none) {
        .hover-card-info {
            margin-left: -1.5rem;
            margin-right: -1.5rem;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
    }

    .hover-card-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 1rem;
    }

    .hover-card-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   PROFIL UNVANLARI (iletisim sayfasi)
   ============================================ */

.profile-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.625rem;
}

.profile-titles .title-badge {
    margin: 0;
}

/* ============================================
   KONUM HARITASI (iletisim sayfasi)
   ============================================ */

.map-section {
    padding: 0 0 6rem;
    background: var(--gray-50);
}

.map-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.map-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin: 0.75rem 0 0.5rem;
}

.map-head p {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

.map-head .btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Harita cercevesi. iframe'e yuzde yukseklik verilemedigi icin
   sabit yukseklik kullaniliyor; telefonda kucultulur. */
.map-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
    line-height: 0;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
}

@media (max-width: 768px) {
    .map-section {
        padding-bottom: 4rem;
    }

    .map-head {
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .map-head h2 {
        font-size: 1.5rem;
    }

    .map-head .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .map-frame iframe {
        height: 320px;
    }

    /* .about-header telefonda ortalaniyor; unvanlar da ortada dursun */
    .profile-titles {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .map-frame iframe {
        height: 260px;
    }
}
