/*
Theme Name: Plant Mafia
Author: Klemen Bratec
Author URI: https://bratec.si/
Description: Official Plant Mafia template.
Requires at least: 6.9
Requires PHP: 8.5
Version: 1.0
Text Domain: plantmafia
*/

:root {
	font-size: 16px;
}

body {
	background-color: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--base);
	line-height: 1.375;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	line-height: 1;
}

/* Header */
.site-header {
	display: flex;
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--black);
	background-image: url('/wp-content/themes/plantmafia/assets/images/hero-background.jpg');
	background-position: center 180px;
	background-size: 40%;
	background-repeat: no-repeat;
    min-height: 650px;
    padding-top: 0.5rem;
	justify-content: center;

    .site-header__inner {
        display: flex;
		flex-direction: column;
		align-self: flex-start;
		width: var(--wp--style--global--content-size);

		.site-header__logo,
		.site-header__logo img {
			width: 120px;
		}

		.navigation {
			display: flex;
			flex-direction: row;
			justify-content: center;

			.nav {
				display: flex;
				margin: 2rem 4rem;
			}

			.nav ul {
				display: flex;
				flex: 1;
				flex-wrap: wrap;
				gap: 60px;
				padding: 0;
				list-style-type: none;

				li a {
					color: var(--wp--preset--color--base);
					text-decoration: none;
					text-transform: uppercase;
					font-weight: 400;

					&:hover,
					&:active {
						color: var(--wp--preset--color--primary);
					}
				}
			}

			.nav-left ul {
				justify-items: left;
			}

			.nav-right ul {
				justify-items: right;
			}
		}
    }
}

/* Home (front page) */
.front-hero {
	display: flex;
	flex-direction: column;
	align-content: center;

	.front-hero__title {
		font-size: var(--wp--preset--font-size--x-large);
		font-weight: 900;
		text-shadow: #000000 0 0 50px;
		line-height: 1.15;
		margin-top: 250px;
		margin-bottom: 0;
		text-align: center;
		text-transform: uppercase;

		.front-hero__title_highlight {
			color: var(--wp--preset--color--primary);
		}
	}

	.front-hero__subtitle {
		color: var(--wp--preset--color--primary);
		align-self: center;
		text-align: center;
		max-width: 400px;
		line-height: 1.5;
	}

	.front-hero__buttons {
		padding: 10px 0 60px 0;
		display: flex;
		gap: 20px;
		justify-content: center;

		.button {
			display: block;
			padding: 10px 24px;
			border: 1px solid var(--wp--preset--color--base);
			border-radius: 12px;
			color: var(--wp--preset--color--base);
			font-weight: 400;
			text-decoration: none;

			&:hover {
				background-color: var(--wp--preset--color--base);
				color: var(--wp--preset--color--black);
			}
		}
	}
}

.front-product {
	background-color: #302c32;
	padding: 60px 0;
	display: flex;
	justify-content: center;

	.front-product__inside {
		width: var(--wp--style--global--content-size);
		display: flex;
		gap: 60px;

		.front-product__image_container {
			display: flex;
			border: 2px solid #000;

			img {
				width: 400px;
			}
		}

		.front-product__details {
			display: flex;
			flex-direction: column;
			justify-content: center;

			.front-product__title_pair {
				display: flex;
				flex-direction: column;

				h2 {
					font-size: var(--wp--preset--font-size--large);
					font-weight: 700;
					line-height: 1;
					margin: 0;
				}

				.front-product__subtitle {
					color: var(--wp--preset--color--primary);
					font-family: var(--wp--preset--font-family--lora);
					font-style: italic;
					font-size: 2.2rem;
				}
			}

			.front-product__list {
				display: flex;
				flex-direction: column;
				margin-top: 40px;
				gap: 20px;

				img {
					width: 25px;
				}

				.front-product__list_item {
					display: flex;
					gap: 20px;
					align-items: flex-start;

					.front-product__list_item_text {
						align-self: center;
					}
				}
			}
		}
	}
}

.front-story {
	display: flex;
	padding: 60px;
	text-align: center;
	justify-content: center;
	color: #111;

	.front-story__inner {
		display: flex;
		flex-direction: column;
		width: 450px;

		h2 {
			font-size: var(--wp--preset--font-size--large);
			text-transform: uppercase;
			padding: 20px 0;
		}

		p {

		}
	}
}

.site-footer {
	display: flex;
	justify-content: center;
	background-color: var(--wp--preset--color--black);

	.site-footer__inner {
		display: flex;
		width: var(--wp--style--global--content-size);
		flex-direction: column;
		align-items: center;
		text-align: center;
		font-weight: 100;
		gap: 10px;
		padding: 20px 0 20px;
	}

	.site-footer__links {
		display: flex;
		flex: 1;
		gap: 20px;
		padding: 0 0 20px;

		a {
			display: block;
			font-weight: 600;
			color: var(--wp--preset--color--base);
			text-decoration: none;
		}
	}
}