/* @override 
	https://gorelkine.com/KOLAB/REUSE/css/style.css */

/* ----- Font Faces ----- */
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Light.woff2") format("woff2"),
        url("../fonts/TCCC-UnityText-Light.woff") format("woff"),
        url("../fonts/TCCC-UnityText-Light.ttf") format("truetype");
    font-style:normal;
    font-weight:300;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Regular.woff2") format("woff2"),
        url("../fonts/TCCC-UnityText-Regular.woff") format("woff"),
        url("../fonts/TCCC-UnityText-Regular.ttf") format("truetype");
    font-style:normal;
    font-weight:400;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Medium.woff2") format("woff2"),
        url("../fonts/TCCC-UnityText-Medium.woff") format("woff"),
        url("../fonts/TCCC-UnityText-Medium.ttf") format("truetype");
    font-style:normal;
    font-weight:500;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Bold.woff2") format("woff2"),
        url("../fonts/TCCC-UnityText-Bold.woff") format("woff"),
        url("../fonts/TCCC-UnityText-Bold.ttf") format("truetype");
    font-style:normal;
    font-weight:700;
}

/* ----- Basic Reset & Body Styles ----- */
html {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: TCCC-UnityText, Arial, sans-serif;
    background: url('../images/reuse-back.jpg') left bottom no-repeat #98d0a6;
	background-size: 100vw;
	height: 100%;
}

.arm {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 40%;
	background: url('../images/reuse-arm.png') right top no-repeat;
	background-size: contain;
}

.hand {
	position: absolute;
	right: 0;
	bottom: 17%;
	width: 280px;
	height: 160px;
	max-width: 16%;
	background: url('../images/reuse-hand.webp') right top no-repeat;
	background-size: contain;
	
}

/* ----- Hero / Home Screen ----- */
/* Centrer contenu hero verticalement */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 85vh;
    padding: 60px 20px;
	padding-left: 20%;
}

.hero h1 {
    font-size: 2em;
    margin-bottom: 20px;
	  color: #fff;
}

body div.hero img.title-img {
	width: 50%;
	margin-bottom: 20px;	
}

/* ----- 2x2 Grid Layout ----- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
	  color: #fff;
}

.grid-item {
    padding: 20px;
    border-radius: 8px;
    text-align: center;	
	text-transform: uppercase;
	font-weight: 500;
}
.grid-item p {
	margin: 0;
}

.grid-item img {
    max-width: 100%;
    height: auto;
	max-height: 35px;
	margin-bottom: 10px;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    margin: 0 10px;
    padding: 15px 60px;
    background-color: #e4002b;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    font-weight: bold;
    cursor: pointer;
	text-transform: uppercase;
	font-size: 16px;
	transition: all 0.2s ease-out 0s;
	margin-bottom: 20px;
	min-width: 130px;
}

.btn.learn-more {
	background: #fff;
	color: #e4002b;
}

.btn:hover {
	color: #fff;
    background-color: #000; /* Slightly darker on hover */
	transition: all 0.3s ease-out 0s;
}

/* ----- Lightbox (Modal) ----- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* Ensure it’s above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Semi-transparent overlay */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
}

/* ----- Close Button (using SVG) ----- */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 20px; /* Adjust size as needed */
    height: 20px;
}

/* ----- Image Inside Lightbox ----- */
.lightbox-content img:not(.close-btn) {
    max-width: 100%;
    height: auto;
	max-height: 300px;
}

/* ---------------- Responsive Styles ---------------- */

/* For tablets and smaller devices */
@media (max-width: 768px) {
    .hero {
        padding-left: 0;
        min-height: 75vh;
    }
    
    .grid-container {
        grid-template-columns: 1fr;  /* Stack grid items in one column */
        max-width: 90%;
    }
    
    .btn {
        padding: 12px 40px;
        font-size: 14px;
        min-width: auto;
    }
    
    .arm, .hand {
        /* Optionally adjust or hide decorative images on tablets */
        display: none;
    }
	.grid-item img {
	max-height: 20px;
}

}

/* For mobile devices */
@media (max-width: 480px) {
	body div.hero img.title-img {
	width: 80%;
	margin-bottom: 30px;
}
    .hero h1 {
        font-size: 1.5em;
    }
    
    .grid-item {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}