/*
Theme Name: Mechanika Theme
Theme URI: https://mechanika.agencjaluna.pl
Author: GitHub Copilot
Description: Custom theme based on the old site design.
Version: 1.0
*/

/* Import old styles */
@import url('assets/css/index.css');
@import url('assets/css/screen.css');

/* Custom WordPress Styles */
body {
	background-color: #fff697;
	/* Fallback */
	margin: 0;
	padding: 0;
	font-family: "Georgia", Times, serif;
}

/* Fix paths for images in CSS */
#top,
#top_centro {
	background-image: url('assets/images/top_tlo.jpg');
}

#container {
	background-image: url('assets/images/contain_tlo1.jpg');
}

/* Grid for Tiles */
.tiles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	padding: 10px 0;
	text-align: center;
	clear: both;
}

.tiles-grid>* {
	margin-bottom: 0 !important;
}

.tile-item {
	background: transparent;
	padding: 0;
	border: none;
	border-radius: 0;
	transition: transform 0.2s;
}

.tile-item:hover {
	transform: scale(1.02);
	box-shadow: none;
}

.tile-item img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 0 10px 10px 10px;
}

.tile-item h3 {
	display: none;
}

.tile-item a {
	text-decoration: none;
	color: inherit;
}

/* Content Wrapper */
.content-wrapper {
	width: 900px;
	margin: 0 auto;
	background: #fff;
	padding: 20px;
	box-sizing: border-box;
}

/* Footer Fixes */
#foot {
	clear: both;
}