


/* Custom Styles for İskilip OSB Tema */

/* Smooth Scroll */
html {
	scroll-behavior: smooth;
}

/* Navbar Fix for Content */
body {
	padding-top: 0;
}

.navbar-spacer {
	height: 80px;
}

/* Dropdown Menu Animation */
.dropdown-menu {
	border: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 10px 0;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dropdown-item {
	padding: 8px 20px;
	color: #333;
	transition: all 0.3s;
}

.dropdown-item:hover {
	background: var(--osb-primary);
	color: #fff;
}

/* Loading Animation */
.loading {
	opacity: 0;
	transition: opacity 0.5s;
}

.loaded {
	opacity: 1;
}

/* Form Styles */
.contact-form .btn-primary {
	font-size: 1.1rem;
	padding: 14px 40px;
}

/* Success/Error Messages */
.alert {
	border-radius: 8px;
	padding: 15px 20px;
}

.alert-success {
	background-color: #d4edda;
	border-color: #c3e6cb;
	color: #155724;
}

.alert-danger {
	background-color: #f8d7da;
	border-color: #f5c6cb;
	color: #721c24;
}

.alert-info {
	background-color: #d1ecf1;
	border-color: #bee5eb;
	color: #0c5460;
}

/* Card Hover Effect */
.card {
	transition: all 0.3s ease;
}

.card:hover {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image Loading */
img {
	transition: opacity 0.3s;
}

img.loading {
	opacity: 0.5;
}

/* Back to Top Button (if needed) */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--osb-primary);
	color: #fff;
	border: none;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
	transition: all 0.3s;
	z-index: 1000;
}

.back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.back-to-top.show {
	display: flex;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: var(--osb-primary);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: #d35400;
}

/* Text Selection */
::selection {
	background: var(--osb-primary);
	color: #fff;
}

::-moz-selection {
	background: var(--osb-primary);
	color: #fff;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
	outline: 2px solid var(--osb-primary);
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.navbar,
	.footer,
	.sidebar,
	.btn {
		display: none;
	}
	
	body {
		color: #000;
		background: #fff;
	}
}

/* Additional Utility Classes */
.text-shadow {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.box-shadow-sm {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.box-shadow-md {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Gradient Overlay */
.gradient-overlay {
	position: relative;
}

.gradient-overlay::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
	pointer-events: none;
}

/* Fade In Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Card Hover Effects */
.card-img-top {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Loading Spinner */
.spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--osb-primary);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 20px auto;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Smooth Transitions for All Interactive Elements */
a, button, input, select, textarea {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Scroll Effect */
.navbar {
	transition: all 0.3s ease;
}

.navbar.scrolled {
	padding: 0.5rem 0;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Info Box Hover Effect */
.info-box {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-box:hover {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Feature Card Pulse on Hover */
.feature-card {
	transition: all 0.4s ease;
}

.feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Button Press Effect */
.btn:active {
	transform: scale(0.98);
}

/* Form Input Focus Animation */
.form-control:focus {
	transform: scale(1.02);
}

/* Image Zoom Effect */
img {
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
	transform: scale(1.03);
}

/* Social Media Icons Hover */
.social-icons a {
	transition: all 0.3s ease;
	display: inline-block;
}

.social-icons a:hover {
	transform: translateY(-3px) scale(1.1);
}

/* Table Hover Effect */
table tbody tr {
	transition: background-color 0.2s;
}

table tbody tr:hover {
	background-color: rgba(230, 126, 34, 0.05);
}

/* Accordion Animation */
.accordion-button:not(.collapsed) {
	transform: scale(1.02);
	transition: transform 0.3s ease;
}

/* Modal Animation */
.modal.fade .modal-dialog {
	transition: transform 0.3s ease-out;
	transform: translate(0, -50px);
}

.modal.show .modal-dialog {
	transform: translate(0, 0);
}

/* Page Load Animation */
.page-content {
	animation: fadeInUp 0.6s ease-out;
}

/* Tooltip Enhancement */
.tooltip {
	animation: fadeIn 0.3s ease;
}

/* Badge Pulse */
.badge {
	transition: all 0.3s ease;
}

.badge:hover {
	transform: scale(1.1);
}

/* Quote Styling with Animation */
blockquote {
	border-left: 4px solid var(--osb-primary);
	padding-left: 20px;
	font-style: italic;
	position: relative;
	animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Progress Bar Animation */
.progress-bar {
	animation: progressAnimation 2s ease-out;
}

@keyframes progressAnimation {
	from {
		width: 0%;
	}
}

/* Scroll to Top Button Enhancement */
.back-to-top {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.show {
	animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
	0% { transform: scale(0); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }
}

/* Brand Logos Section */
.brand-logos-section {
	background: #f7f9fc;
}

.brand-logos-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 2rem;
	align-items: center;
}

.brand-logo-item {
	background: #ffffff;
	border: 1px solid rgba(26, 42, 68, 0.08);
	border-radius: 16px;
	padding: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo-image {
	max-height: 120px;
	width: auto;
	filter: grayscale(20%);
	opacity: 0.85;
	transition: opacity 0.3s ease, filter 0.3s ease;
}

.brand-logo-item:hover .brand-logo-image {
	filter: none;
	opacity: 1;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
