/*
Theme Name: Tshiamo Modisane
Theme URI: https://tshiamomodisane.com
Author: Blaek Group (PTY)LTD
Author URI: https://lumxnari.co.za
Description: Tshiamo Modisane wordpress theme.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 8
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Jost:ital,wght@0,100..900;1,100..900&family=Tenor+Sans&family=Voltaire&display=swap');

@font-face {
	font-family: "Garet";
	src: url('./fonts/garet.ttf');
}

:root {
	--color-black: #000;
	--color-white: #FFF;
	--color-brown: #9C442C;
	--color-pink: #EF88B5;
	--color-grey: #8B8D99;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	font-family: "Garet", sans-serif;
	font-family: "Jost", sans-serif;
	font-family: "Tenor Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	text-decoration: underline;
	color: inherit;
}

img {
	width: 100%;
}


/* Header ---------- ---------- ---------- */

header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1rem;
	width: 100%;
	color: #fff;
	background-color: #000;
	font-size: 2rem;
	/* font-family: "Garet"; */
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
	z-index: 100;
}

header .logo {
	pointer-events: auto;
}

header .cta {
	position: relative;
	transition: 0.3s all ease-in-out;
}

header .cta::before {
	content: "";
	display: block;
	position: absolute;
	top: calc(100%);
	right: 100%;
	width: 100%;
	height: 300%;
	border-right: 1px solid transparent;
	border-top: 1px solid transparent;
	background: transparent;
	background-position: right;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
	transition: 0.3s all ease-in-out;
}

header .cta:hover::before {
	border-right: 1px solid transparent;
	border-top: 1px solid transparent;
	background-image: url('./img/book_cover.png');
}

header .small {
	position: relative;
	font-size: 1rem;
	padding: 0.8rem 1rem;
	border: 1px solid #ffffff80;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

header .small:hover {
	background-color: #fff;
	color: #000;
}

/* header .small::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    width: 15px;
    height: 15px;
    border-top: 1px solid #ffffff80;
    border-left: 1px solid #ffffff80;
    z-index: 1000;
}

header .small::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 100%;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid #ffffff80;
    border-right: 1px solid #ffffff80;
    z-index: 1000;
} */


/* Hero Section ---------- ---------- ---------- */

.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 70vh;
	background: #000;
	color: #fff;
	transition: 0.3s all ease-in-out;
}

@media screen and (max-width: 1124px) {
	.hero {
		height: 50vh;
	}
}

.hero_heading {
	display: block;
	margin: 0;
	padding: 2rem 0;
	font-size: clamp(3rem, 10vw, 12rem);
	font-weight: 200;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

.hero_descriptions {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	gap: 2rem;
	padding: 0rem 1rem;
	font-size: clamp(1rem, 2vw, 2rem);
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}



/* Gallery Section ---------- ---------- ---------- */

.gallery .container {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 35vh;
}

.gallery .container .item {
	flex: 1;
	height: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: flex 0.8s ease-in-out;
}

.gallery .container .item:hover{
	flex: 2;
}

.item-1 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_1.webp');
}

.item-2 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_2.webp');
}

.item-3 { 
	display: none;
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_3.webp');
}

.item-4 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_4.webp');
}

.item-5 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_5.webp');
}

.item-6 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_6.webp');
}

.item-7 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_7-1.webp');
}

.item-8 { 
  	background-image: url('https://www.tshiamomodisane.com/wp-content/uploads/2025/02/item_8.webp');
}

@media screen and (max-width: 1024px) {
	.item-1, .item-8 { 
		display: none !important;
	}
}

@media screen and (max-width: 768px) {
	.item-1, .item-2, .item-7, .item-8 { 
		display: none !important;
	}
}


/* Book Section ---------- ---------- ---------- */

.book {
	background: #9C442C;
	background: url('./img/left_half_bg.png');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.poster_area {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	width: 100%;
	min-height: 100vh;
	perspective: 1000px;
}

.poster {
	width: clamp(280px, 100%, 600px);
	height: auto;
}

.poster:hover {
	outline: auto;
}

.poster img {
	width: clamp(280px, 100%, 600px);
	height: auto;
}


/* Links Section ---------- ---------- ---------- */

.links_section {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	background-color: #FFF;
}

.purchase_links {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	background-color: #fff;
	/* box-shadow: 0 35px 35px -15px #00000080; */
}

.buy_btn {
	position: relative;
	padding: 0.8rem 1.2rem;
	height: fit-content;
	color: #fff;
	font-family: "Tenor Sans", sans-serif !important;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	border: 1px solid #9C442C;
	background: #9C442C;
	transition: all 0.3s ease;
	cursor: pointer;
	z-index: 100;
}

.buy_btn:hover {
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
}


/* .buy_btn::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    width: 15px;
    height: 15px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    z-index: 1000;
}

.buy_btn::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 100%;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    z-index: 1000;
} */


/* Foundation ---------- ---------- ---------- */

.foundation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0;
    min-height: 0;
    background-color: #b15275;
    background-image: none;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
	.foundation {
		flex-direction: column-reverse;
	}
}

.foundation .profile img {
	display: block;
	width: clamp(100px, 450px, 550px);
}

.foundation .right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 3rem 3rem;
}

.foundation .logo img {
	display: none;
	width: 100%;
	min-width: 100px;
	height: max-content;
	max-height: 200px;
}

.foundation .heading {
	margin: 0;
	font-size: clamp(2rem, 5vw, 5rem);
	font-weight: 400;
	color: var(--color-white);
}

.foundation .btn {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	position: relative;
	font-size: 1rem;
	width: fit-content;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

.foundation .btn:hover {
	background-color: #fff;
	color: #000;
}

.foundation .btn .action {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-black);
	color: var(--color-white);
	transition: 0.3s all ease-in-out;
}

.foundation .btn:hover .action {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-white);
	color: var(--color-black);
}

.foundation .btn .email {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-white);
	color: var(--color-black);
	transition: 0.3s all ease-in-out;
}

.foundation .btn:hover .email {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-white);
	background-color: var(--color-black);
	color: var(--color-white);
}


/* Contacts ---------- ---------- ---------- */

.contacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	padding: 0;
	background: #fff;
}

.contacts .booking_form {
    padding: 3rem;
    background: #fff;
    color: #000;
}

.contacts .contact_info {
    padding: 3rem 2rem 6rem;
    background-color: #9c442c;
	background-image: url('./img/contacts_bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
    color: #fff;
	font-size: 1.2rem;
}

.contacts h2 {
	font-size: 3rem;
}

.contacts h3 {
	font-size: 2rem;
}

.contacts label {
	font-weight: bold !important;
}

.contacts i {
	font-size: 1.2rem;
}


/* Footer ---------- ---------- ---------- */

footer {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: start;
	gap: 2.5rem;
	padding: 3rem 3rem 5rem;
	width: 100%;
	color: #fff;
	background-color: #000;
}

footer .links {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

footer .small {
	position: relative;
	font-size: 1rem;
	padding: 0.8rem 1rem;
	width: fit-content;
	border: 1px solid #ffffff80;
	color: #fff;
	pointer-events: auto;
	transition: 0.3s all ease-in-out;
}

footer .small:hover {
	background-color: #fff;
	color: #000;
}

footer .info {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	font-size: 0.8rem;
}