/* global.css */

/* ======= Base ======= */
/* --primary-light: #FFD6E0; */

:root {
	--primary: #e39f00;
	--primary-light: #e2ffd6;

	
	--secondary: #d6c26c;

	--text: #ffffff;

	--background: #171818;
	--footer-background: #0d0d0d;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--text);
	background-color: var(--background);
	margin: 0;
	padding: 0;
}

h1, h2, h3 {
	font-family: 'Poppins', sans-serif;
	margin: 0 0 0.5em;
	color: var(--primary);
}

p {
	margin: 0 0 1em;
	line-height: 1.6;
}

main {
	margin-top: 80px;
	min-height: 80vh; /* Ensure main takes up at least 80% of viewport height */
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

section {
	padding: 4rem 0;
}

section h1{
	text-align: center;
}

section h2{
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--primary);
}

section p{
	text-align: center;
	font-size: 1.2rem;
	color: var(--text);
}

/* ======= Hero Section ======= */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 90vh;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.hero-content {
	z-index: 2;
	position: relative;
}

.hero h1 {
	font-size: 3rem;
	color: #fff;
	animation: fadeDown 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin: 1.5rem 0;
	animation: fadeUp 1.5s ease;
}

.highlight {
	color: var(--secondary);
	font-weight: bold;
}

@keyframes fadeDown {
	from {opacity: 0; transform: translateY(-30px);}
	to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeUp {
	from {opacity: 0; transform: translateY(30px);}
	to {opacity: 1; transform: translateY(0);}
}

/* ======= About Section ======= */
.about {
	text-align: center;
	padding: 4rem 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.feature-card {
	background: #1f1f1f;
	padding: 2rem;
	border-radius: 1rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.icon-block {
	width: 60px;
	height: 60px;
	margin: 0 auto 1rem;
	background: var(--primary);
	border-radius: 50%;
}

/* ======= Projects Section (using your portfolio-grid styles) ======= */
.mock-image {
	width: 100%;
	height: 200px;
	display: block;
}

.bg1 { background: #ff6b6b; }
.bg2 { background: #4ecdc4; }
.bg3 { background: #ffe66d; }

/* ======= Call to Action ======= */
.cta {
	background: var(--primary);
	text-align: center;
	padding: 3rem 1rem;
}

.cta h2 {
	color: #000;
}

.cta p {
	color: #000;
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.cta .btn {
	background: #000;
	color: var(--primary);
}



/* ======= Portfolio Section ======= */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.portfolio-item {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	transition: transform 0.3s ease;
}

.portfolio-item:hover {
	transform: translateY(-8px);
}

.portfolio-image {
	position: relative;
}

.portfolio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.portfolio-item:hover img {
	transform: scale(1.1);
}

.portfolio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(23, 24, 24, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	opacity: 0;
	transition: opacity 0.4s ease;
	padding: 1.5rem;
	box-sizing: border-box;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

.portfolio-overlay h3 {
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.portfolio-overlay p {
	font-size: 1rem;
	color: var(--text);
	margin-bottom: 1rem;
}

.btn {
	display: inline-block;
	padding: 0.5rem 1rem;
	/* inbox sizing */

	background: var(--primary);
	color: #000;
	font-weight: bold;
	text-decoration: none;
	border-radius: 0.5rem;
	transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
	background: rgb(255, 255, 255);
	transform: scale(1.05);
}


.btn-cta {
	width: 50px;
	margin-bottom: 5px;
}