/*
Theme CSS - Uğur Tatlıdil
*/

:root {
	/* Original Theme Colors */
	--color-primary: #166487;
	--color-primary-dark: #0f465e;
	--color-primary-light: #2a8ab5;
	--color-accent: #166487;
	--color-accent-light: #2a8ab5;
	
	--color-text-dark: #373737;
	--color-text: #666666;
	--color-text-muted: #888888;
	--color-text-body: #666666;
	
	--color-bg-light: #f7f7f7;
	--color-bg-white: #ffffff;
	--color-bg-sage: #e8f4f8;
	--color-bg-sage-light: #f2f9fc;
	
	--color-border: #e0e0e0;
	
	--shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
	--shadow-md: 0 4px 15px rgba(0,0,0,0.08);
	--shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
	
	--radius-sm: 5px;
	--radius-md: 10px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	
	--font-main: 'Inter', sans-serif;
	
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--spacing-xl: 6rem;
}

/* Reset & Base */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px; /* Sticky header için boşluk bırakır */
}

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

body {
	font-family: var(--font-main);
	color: var(--color-text-body);
	background-color: var(--color-bg-white);
	line-height: 1.6;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--color-text-dark);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: var(--spacing-sm);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-primary-dark);
}

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

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: var(--color-bg-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-gradient {
	background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}
.text-white { color: white; }

.section {
	padding: var(--spacing-xl) 0;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}
.section-subtitle {
	font-size: 1.1rem;
	color: var(--color-text-body);
	margin-bottom: var(--spacing-lg);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid transparent;
}

.btn-primary {
	background-color: var(--color-primary);
	color: white;
}
.btn-primary:hover {
	background-color: var(--color-primary-dark);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

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

/* Header */
.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	z-index: 1000;
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 80px;
	padding: 10px 0;
	gap: 15px;
}

.site-title {
	margin-bottom: 0;
}

.site-title a {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary-dark);
}

.custom-logo {
	max-height: 50px;
	width: auto;
}

.main-navigation ul {
	display: flex;
	list-style: none;
	gap: 15px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	color: var(--color-text-dark);
	font-weight: 500;
	display: block;
	padding: 10px 0;
	white-space: nowrap;
}

.main-navigation a:hover {
	color: var(--color-primary);
}

/* Dropdown Sub-menu */
.main-navigation ul.sub-menu,
.main-navigation ul.children {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background: white;
	min-width: 240px;
	box-shadow: var(--shadow-md);
	padding: 10px 0;
	border-radius: var(--radius-sm);
	gap: 0;
	z-index: 1010;
}

.main-navigation li:hover > ul.sub-menu,
.main-navigation li:hover > ul.children {
	display: flex;
}

.main-navigation ul.sub-menu li,
.main-navigation ul.children li {
	width: 100%;
}

.main-navigation ul.sub-menu a,
.main-navigation ul.children a {
	padding: 10px 20px;
	font-size: 0.95rem;
}

.main-navigation ul.sub-menu a:hover,
.main-navigation ul.children a:hover {
	background: var(--color-bg-light);
}

.menu-toggle {
	display: none;
}

/* Hero Section */
.hero-section {
	padding: 180px 0 100px;
	color: white;
	text-align: center;
	min-height: 80vh;
	display: flex;
	align-items: center;
}

.hero-title {
	font-size: 3.5rem;
	color: white;
	margin-bottom: 20px;
}

.hero-subtitle {
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto 40px;
	opacity: 0.9;
}

.hero-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background: white;
	padding: 40px 30px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 20px;
}

.service-title {
	font-size: 1.3rem;
}

/* About Grid */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.image-placeholder {
	width: 100%;
	height: 400px;
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
}

/* Process Grid */
.process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	text-align: center;
}

.process-card h4 {
	color: white;
}
.process-card p {
	color: rgba(255,255,255,0.8);
}

.process-icon {
	width: 60px;
	height: 60px;
	background: white;
	color: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 auto 20px;
}

/* Testimonials */
.testimonials-slider {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	padding-bottom: 20px;
	scroll-snap-type: x mandatory;
}

.testimonial-card {
	min-width: 300px;
	flex: 1;
	background: white;
	padding: 30px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	scroll-snap-align: start;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
}

/* Blog Grid */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.blog-card {
	background: white;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s ease;
}

.blog-card:hover {
	box-shadow: var(--shadow-md);
}

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

.blog-content {
	padding: 25px;
}

.blog-meta {
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 10px;
}

.blog-title {
	font-size: 1.2rem;
	margin-bottom: 15px;
}

.read-more {
	font-weight: 600;
	font-size: 0.9rem;
}

/* Footer */
.site-footer {
	background-color: var(--color-text-dark);
	color: rgba(255,255,255,0.7);
}

.footer-top {
	padding: var(--spacing-lg) 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.widget-title {
	color: white;
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.footer-logo {
	max-height: 60px;
	margin-bottom: 20px;
	filter: brightness(0) invert(1);
}

.contact-info-list, .working-hours-list, .widget_nav_menu ul {
	list-style: none;
}

.contact-info-list li, .working-hours-list li, .widget_nav_menu li {
	margin-bottom: 10px;
}

.widget_nav_menu a {
	color: rgba(255,255,255,0.7);
}
.widget_nav_menu a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 20px 0;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-links a {
	color: rgba(255,255,255,0.7);
}
.social-links a:hover {
	color: white;
}

/* Page Header for Inner Pages */
.page-header {
	padding: 150px 0 80px;
	color: white;
	text-align: center;
}

.page-title {
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.header-inner {
		padding: 0;
	}
	
	.main-navigation ul {
		display: none; /* simple mobile hide for now, requires JS toggle */
	}
	
	.menu-toggle {
		display: block;
		background: none;
		border: none;
		cursor: pointer;
		padding: 10px;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-actions {
		flex-direction: column;
	}
	
	.about-grid {
		grid-template-columns: 1fr;
	}
	
	.footer-bottom-inner {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
}
/* NASIL ÇALIŞIYORUZ RAKAM RENKLERİ */
/* 1. Normal durumda rakamın rengini tam beyaz yapıyoruz */
.process-step-number {
    color: #ffffff !important; 
}
/* 2. Fare ile üzerine gelince olacaklar (Hover) */
.process-step:hover .process-step-number {
    background: rgba(255,255,255,0.08) !important; /* Arka planı doldurma, aynı bırak */
    border-color: rgba(255,255,255,0.15) !important; /* Çerçeve rengini aynı bırak */
    color: #D4A853 !important; /* SADECE RAKAMIN RENGİNİ DEĞİŞTİR (Örn: Altın Sarısı) */
    }
}

/* --- MOBİL GÖRÜNÜM DÜZELTMELERİ (EKSİKSİZ VE HATASIZ) --- */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
    }
    .hero-container, .hero-content {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
        margin: 0 !important;
        transform: none !important;
        left: 0 !important;
    }
    .hero-title, .hero-subtitle, .hero-actions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: 0 !important;
        text-align: center !important;
    }
}
