/* 
	KZN
	File: /css/main.css

 */

/* =========================================
   Resetare si Variabile
   ========================================= */

/* Variabile globale de culori si tipografie */
:root {
	
	--max-width: 1200px;
	--max-width-medium: 960px;
	--max-width-small: 768px;
	
	--padding-inline: 1rem;
	
	--color-text: #333333;
	--color-bg: #ffffff;
	--color-accent: #12a052;
	--font-main: 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

/* Resetare de baza (Box Sizing) */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* =========================================
   Stiluri Generale
========================================= */

/* Stiluri pentru body */
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-main);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.5;
}

/* Stiluri pentru imagini responsive */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

main.main-content {
	width: 100%;
	padding-inline: var(--padding-inline);
}

.container {
	width: 100%;
}

.center-wrap {
	max-width: var(--max-width);
	margin-inline: auto;
}

.max-medium {
	max-width: var(--max-width-medium);
	/* margin-inline: auto; */
}

.max-small {
	max-width: var(--max-width-small);
	/* margin-inline: auto; */
}

/* =========================================
   Top Nav
========================================= */
   
/* Top Nav */

.site-header {
	padding: var(--padding-inline);
}

.top-navigation {
	max-width: var(--max-width);
	margin-inline: auto;
}

.top-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

/* Branding */

.site-branding a,
.site-branding p {
	text-decoration: none;
	margin: 0;
	line-height: 1;
}

a.site-title {
	font-size: 1.7rem;
	line-height: 1.1;
	letter-spacing: -1px;
	font-weight: bold;
	color: var(--text-color);
}

.site-description {
	font-size: 0.9rem;
	color: #666;
	margin: 0;
}

/* Main Nav */

.main-navigation ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

ul.nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.nav a {
	color: inherit;
	text-decoration: none;
	transition: all .3s;
}

.nav .current-menu-item a,
.nav a:hover, .nav a:focus {
	color: var(--accent-color);
}

/* Ham Icon */

.ham-icon {
	display: none;
	text-indent: -9999px;
	width: 32px;
	height: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='40' width='40' fill='%23414141'%3E%3Cpath d='M4.792 30.292v-3.125h30.416v3.125Zm0-8.709v-3.166h30.416v3.166Zm0-8.75V9.667h30.416v3.166Z'/%3E%3C/svg%3E");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	transform: scale(1, 1);
	transition: all .3s;
}

.ham-icon:hover {
	transform: scale(1.1, 1.1);
}

.ham-icon.close {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='40' width='40' fill='%23414141'%3E%3Cpath d='M10.458 31.75 8.25 29.542 17.792 20 8.25 10.458l2.208-2.208L20 17.792l9.542-9.542 2.208 2.208L22.208 20l9.542 9.542-2.208 2.208L20 22.208Z'/%3E%3C/svg%3E");
}

/* .ham-icon {display: none;} */

@media only screen and (max-width: 800px) {
	
	.main-navigation {
		width: 100%;
		display: none;
	}
	
	.main-navigation.menu-visible {
		display: block;
		margin-top: 1rem;
	}
	
	.ham-icon {
		display: block;
	}
	
	ul.nav {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.nav a {
		display: block;
		width: 100%;
	}
	
	.nav a:hover {
		padding-left: 10px;
	}
	
}/* 800px */

/* =========================================
   TYPOGRAPHY
========================================= */
   
h1 {
	font-size: clamp(2.2rem, 1.545rem + 3.273vw, 4rem);
	line-height: 1;
	letter-spacing: -2px;
	margin: 1em 0 1em 0;
}

h2, h3 {
	font-weight: 600;
	letter-spacing: -1px;
	margin: 1em 0 1em 0;
	line-height: 1.2;
}

h2 {
	font-size: clamp(2rem, 1.636rem + 1.818vw, 3rem);
	letter-spacing: -2px;
}

h3{
	font-size: clamp(1.6rem, 1.382rem + 1.091vw, 2.2rem);
	color: var(--accent-color);
}
   
/* =========================================
   FOOTER
========================================= */

.footer-top-space {
	width: 100%;
	height: 100px;
}

footer.site-footer {
	background: #222;
	color: #A3A3A3;
	padding: 1rem var(--padding-inline) 1rem;
}

footer.site-footer a {
	color: #fff;
	text-decoration: none;
}

footer.site-footer a:hover {
	text-decoration: underline;
}

footer.site-footer ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.footer-wrap {
	max-width: var(--max-width);
	margin-inline: auto;
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin-top: 1.5rem;
	font-size: .9rem;
	opacity: .8;
}

.footer-widgets {
	display: grid;
	gap: 2rem;
	margin-block: 3rem;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	line-height: 1.7;
}

.footer-widget {
	max-inline-size: 200px;
}

.widget-title {
	margin: 0 0 1rem 0;
	font-size: 1.1rem;
	color: inherit;
}
   
/* =========================================
   SWIPER
========================================= */
   
.swiper {
	--swiper-theme-color:#fff1f1;
	--swiper-navigation-size: 36px;
	--swiper-pagination-bullet-size: 10px;
	width: 100%;
	height: 80vh;
}
		
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #444;
	color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
}
		
.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
   
   