@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/*Responsivitet*/
@media (max-width: 900px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
	}
}

@media (max-width: 500px) {
	.hero {
		height: 50vh;
	}
	
	.hero h1 {
		font-size: 20px;
	}
	
	.product-grid {
		grid-template-columns: 1fr;
	}
}

body {
		font-family: 'Helvetica Neue',Arial, sans-serif; 
		font-size:12pt;
		background: linear-gradient(to bottom, #6B9071 0%, #6B9071 70%, #E3EED4 100%);
		color: white;
	}

nav {
	background:none;
	padding:5px 10px;
}

nav ul {
	list-style:none; 
	display: flex;
	justify-content: center;
	gap: 25px;
	margin:0; 
	padding:0;
}

nav ul li { 
	margin: 7px;
}

nav a {
	position: relative;
	text-decoration: none;
	color: #E3EED4;
	font-weight: 500;
	letter-spacing: 1px;
	padding: 5px 0;
	transition: color 0.3s ease;
}

nav a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -3px;
	width: 0;
	height: 2px;
	background: #6B9071;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

nav a:hover {
	color: #6B9071;
}

nav a:hover::after {
	width: 100%;
}


.hero {
	height: 70vh;
	background: url("Bilder/exemplarH1pic.jpg")center/cover no-repeat;
	position: relative;
}

.hero-overlay {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	
}

.hero-content {
	text-align: center;
}

.hero h1 {
	font-size: 35px;
	letter-spacing: 10px;
	font-weight: 300;
	text-transform: uppercase;
	margin-bottom: 10px;
}

/* Här börjar "korta sammanfattnings" texten */
.intro {
	text-align: center;
	padding: 70px 20px 30px 20px;
}

.intro h2 {
	font-size: 20px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.intro p {
	line-height: 1.8;
	margin-bottom: 15px;
}


.text-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 500;
	font-style: oblique;
	letter-spacing: 1px;
	color: #E3EED4;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.text-link:hover {
	opacity: 0.7;
}

.text-link::after {
	content: " >";
	transition: transform 0.3s ease;
	display: inline-block;
}

.text-link:hover::after {
	transform: translate(4px);
}

/*Här börjar Exemplar Produkter*/
.product-title {
	text-align: center;
	font-size: 20px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 50px;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 80px 20px;
}

.container.narrow {
	max-width: 700px;
	text-align: center;
}

.products {
	text-align: center;
}

.products::before {
	content: "";
	display: block;
	width: 50%;
	height: 1px;
	background: rgba(255,255,255,0.5);
	margin: 0px auto 80px auto;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 80px;
	text-align: center;
}

.product img {
	width: 100%;
	max-width: 195px;
	margin-bottom: 20px;
}

.product h3 {
	font-size: 11px;
	letter-spacing: 2px;
	font-weight: 500;
	margin-bottom: 6px;
}

.product p {
	font-size: 13px;
	color: white;
}

.product img {
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.product:hover img {
	transform: scale(1.05);
	opacity: 0.9;
}

.view-all-btn {
	display: inline-block;
	margin-top: 25px;
	padding: 12px 28px;
	background-color: #6B9071;
	color: white;
	text-decoration: none;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: none;
	border-radius: 0px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.view-all-btn:hover {
	background-color: #5A7A60;
}

.section-line {
	content: "";
	display: block;
	width: 90%;
	height: 1px;
	background: rgba(255,255,255,0.5);
	margin: 50px auto 0 auto;
}

/* Footer delen */

.site-footer {
	padding: 60px 20px 30px 20px;
	position: relative;
}

.footer-socials {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-bottom: 40px;
}

.footer-socials img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	opacity: 0.9;
	transition: all 0.3s ease;
}

.footer-socials a:hover img {
	opacity: 0.6;
	transform: translateY(-2px);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
	font-size: 11px;
	color: black;
}

.admin-icon img {
	width: 18px;
	height: 18px;
	opacity: 0.3;
	transition: opacity 0.3s ease;
}

.admin-icon:hover img {
	opacity: 1;
	transform: scale(1.1);
}




















