/* Component styles - nav, projects, team, footer */

/* Navigation Components */
.navbar-toggle {
	border: none;
	padding: 10px;
	margin-top: 40px;
	background: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: var(--color-text-light);
	height: 3px;
	width: 25px;
	margin: 4px 0;
	display: block;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
	background-color: transparent;
}

.navbar-default .navbar-toggle:focus .icon-bar {
	background-color: var(--color-bg-darker);
}

.navbar-default .navbar-collapse {
	border: none;
}

.navbar-default .navbar-nav li a {
	color: var(--color-text-light);
	margin-top: 53px;
	padding: 14px 15px;
	font-size: 18px;
	line-height: 18px;
	font-family: "Aller_Display", Arial, Helvetica, sans-serif;
	transition: color 0.3s ease;
}

.navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:visited,
.navbar-default .navbar-nav li a:active {
	color: var(--color-text-light);
}

/* Project Cards - 3D Box Art */
.img-container {
	padding: 0;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	background: transparent;
	border: none;
	perspective: 1000px;
}

.box-art-3d {
	transform-style: preserve-3d;
	transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
	transform-origin: center center;
	box-shadow: 
		0 10px 30px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(255, 255, 255, 0.1) inset,
		0 2px 4px rgba(0, 0, 0, 0.3);
	margin-top: 0;
	margin-bottom: 40px;
	position: relative;
}

.box-art-3d::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.15) 45%,
		rgba(255, 255, 255, 0) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
	z-index: 10;
	pointer-events: none;
	transform: translateX(-100%) skewX(-25deg);
	border-radius: 8px;
	overflow: hidden;
}

.box-art-3d::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.15) 0%,
		rgba(255, 255, 255, 0) 30%,
		rgba(0, 0, 0, 0) 70%,
		rgba(0, 0, 0, 0.2) 100%
	);
	opacity: 0.3;
	z-index: 2;
	pointer-events: none;
	border-radius: 8px;
}

.box-art-3d:hover {
	transform: perspective(1000px) rotateY(-8deg) rotateX(5deg) translateY(-15px) scale(1.05);
	box-shadow: 
		0 20px 50px rgba(0, 0, 0, 0.6),
		0 0 0 1px rgba(255, 255, 255, 0.2) inset,
		0 4px 8px rgba(0, 0, 0, 0.4),
		0 0 30px rgba(255, 79, 174, 0.3);
}

.box-art-3d:hover::before {
	opacity: 1;
	transform: translateX(200%) skewX(-25deg);
}

.img-container img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 
		0 4px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.imglist img {
	cursor: pointer;
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.img-hover:hover img.img-responsive {
	transform: scale(1.02);
}

/* Team Section */
.founders-header {
	min-height: 80pt;
	font-size: 30pt;
	font-family: 'Aller_Display', Arial, Helvetica, sans-serif;
	text-align: center;
	color: var(--color-heading);
	padding-top: 20pt;
	padding-bottom: 20pt;
	margin: 0;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-bg-darker) 0%, #1a0f14 50%, var(--color-bg-darker) 100%);
}

.founders-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 79, 174, 0.1), transparent);
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0% { left: -100%; }
	100% { left: 100%; }
}

.founders-header h2 {
	margin: 0;
	position: relative;
	z-index: 1;
	text-shadow: 0 0 20px rgba(249, 235, 199, 0.5);
	letter-spacing: 4px;
}

@media (max-width: 768px) {
	.founders-header {
		font-size: 20pt;
		padding-top: 15pt;
		min-height: 60pt;
	}
	
	.founders-header h2 {
		letter-spacing: 2px;
	}
	
	.person-img {
		width: 180px;
	}
	
	.person-name p {
		font-size: large;
	}
	
	.person-bio {
		min-height: auto;
	}
	
	.person-bio p {
		font-size: 16px;
		line-height: 28px;
	}
}

.person-img {
	width: 210px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

.person-img img {
	border-radius: 50%;
	border: 4px solid transparent;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.person-name {
	margin-bottom: 10px;
}

.person-name p {
	color: var(--color-text-dark);
	font-family: "Aller_Display", Arial, Helvetica, sans-serif;
	font-size: x-large;
	margin: 0;
	font-weight: bold;
}

.person-bio {
	padding-top: 10px;
	min-height: 125px;
	margin-bottom: 20px;
}

.person-bio p {
	text-align: center;
	line-height: 36px;
}

.person-contact {
	margin-top: 20px;
}

/* Buttons */
.btn {
	width: auto;
	min-width: 200px;
	max-width: 280px;
	background: var(--gradient-primary);
	border: none;
	font-family: "Aller_Display", Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	padding: 16px 32px;
	color: #ffffff;
	min-height: auto;
	white-space: nowrap;
	margin: 0;
	text-transform: uppercase;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 8px 20px rgba(255, 79, 174, 0.4), var(--shadow-glow);
	display: inline-block;
	text-align: center;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
	width: 400px;
	height: 400px;
}

.btn:hover {
	background: var(--gradient-secondary);
	color: #ffffff;
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 12px 30px rgba(255, 79, 174, 0.5), 0 0 30px rgba(255, 79, 174, 0.4);
}

.btn span {
	position: relative;
	z-index: 1;
}

.btn:focus {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(255, 79, 174, 0.3);
}

.btn-default.focus,
.btn-default:focus {
	background: linear-gradient(135deg, #ff4fae 0%, #f9b6da 100%);
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

@media (max-width: 1140px) {
	.person-contact .btn {
		min-width: 160px;
		max-width: 220px;
		font-size: 18px;
		padding: 14px 24px;
	}
}

@media (max-width: 768px) {
	.person-contact .btn {
		width: auto;
		min-width: 140px;
		max-width: 200px;
		font-size: 16px;
		padding: 12px 20px;
	}
}

/* Footer Components */
.footer-row p {
	color: var(--color-text-light);
	text-align: right;
	font-size: 14px;
	font-weight: normal;
	font-family: "Aller_Lt", Arial, Helvetica, sans-serif;
	line-height: 14px;
	margin: 8px 0;
}

.footer-row p a {
	color: var(--color-text-light);
	font-family: "Aller_Display", Arial, Helvetica, sans-serif;
	padding: 0 5px;
	transition: color 0.3s ease;
}

.footer-row p a:hover {
	color: var(--color-accent);
}

.footer-row p img {
	width: 23px;
	height: auto;
	vertical-align: middle;
	margin-left: 8px;
	transition: transform 0.3s ease;
}

.footer-row p img:hover {
	transform: scale(1.1);
}

@media (max-width: 768px) {
	.footer-row p {
		text-align: center;
		font-size: 12px;
	}
	
	.footer-row {
		padding: 20px 0;
	}
	
	.img-container {
		border-radius: 12px;
	}
	
	.img-container:hover {
		transform: translateY(-6px) scale(1.01);
	}
}
