/*CSS Reset*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Oswald" , sans-serif; 

}

body {
	background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0f0f0f 100%);
	background-attachment: fixed;
	color: #ffffff;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 80%, rgba(74, 158, 255, 0.12) 0%, transparent 40%),
		radial-gradient(circle at 80% 20%, rgba(74, 158, 255, 0.08) 0%, transparent 45%),
		radial-gradient(circle at 40% 40%, rgba(53, 122, 189, 0.06) 0%, transparent 35%),
		radial-gradient(circle at 60% 70%, rgba(74, 158, 255, 0.04) 0%, transparent 30%);
	pointer-events: none;
	z-index: -1;
}

/* Animated floating elements */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		radial-gradient(2px 2px at 20px 30px, rgba(74, 158, 255, 0.3), transparent),
		radial-gradient(2px 2px at 40px 70px, rgba(74, 158, 255, 0.2), transparent),
		radial-gradient(1px 1px at 90px 40px, rgba(74, 158, 255, 0.4), transparent),
		radial-gradient(1px 1px at 130px 80px, rgba(74, 158, 255, 0.2), transparent),
		radial-gradient(2px 2px at 160px 30px, rgba(74, 158, 255, 0.3), transparent);
	background-repeat: repeat;
	background-size: 200px 100px;
	animation: float 20s linear infinite;
	pointer-events: none;
	z-index: -1;
	opacity: 0.6;
}

@keyframes float {
	0% { transform: translateY(0px) translateX(0px); }
	33% { transform: translateY(-10px) translateX(5px); }
	66% { transform: translateY(5px) translateX(-5px); }
	100% { transform: translateY(0px) translateX(0px); }
}

#nav {
	background: rgba(26, 26, 26, 0.95) !important;
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px rgba(0,0,0,0.3);
	border-bottom: 1px solid rgba(74, 158, 255, 0.2);
}

#nav .navbar-brand {
	color: #4a9eff !important;
	font-size: 1.5rem;
	font-weight: 700;
}

#nav .navbar-brand:hover {
	color: #357abd !important;
}

#nav .nav-link {
	color: #ffffff !important;
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

#nav .nav-link:hover {
	color: #4a9eff !important;
}

#nav .nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 50%;
	background-color: #4a9eff;
	transition: all 0.3s ease;
}

#nav .nav-link:hover::after {
	width: 100%;
	left: 0;
}

#side-menu {
	width: 400px;
}

#hello {
	margin-top: 200px;
	background: linear-gradient(45deg, #4a9eff, #357abd);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
}

#home {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(45, 45, 45, 0.4) 100%);
}

#home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(ellipse at center top, rgba(74, 158, 255, 0.15) 0%, transparent 60%),
		linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.3) 100%);
	pointer-events: none;
}

a {
	color: #4a9eff;
	text-decoration: none;
}

a:hover {
	color: #357abd;
	text-decoration: none;
}

.container-bg {
	background-color: transparent;
}

/* Removed #img-home styles as image is no longer used */

					#aboutme > #flex {
						flex: 1 1 0;
						min-width: 0;
						display: flex;
						flex-direction: column;
					}

/* Projects Section Styling */
#projects {
	background: #2d2d2d;
}

#projects .card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 15px;
	background: linear-gradient(145deg, #3a3a3a, #2d2d2d) !important;
	border: 1px solid rgba(74, 158, 255, 0.2) !important;
}

#projects .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(74, 158, 255, 0.2) !important;
	border-color: rgba(74, 158, 255, 0.4) !important;
}

/* Project Image/Placeholder Styling */
.project-image-container {
	transition: transform 0.3s ease;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
}

.project-placeholder {
	background: linear-gradient(145deg, #3a3a3a, #2d2d2d);
	border: 2px solid rgba(74, 158, 255, 0.3);
	transition: all 0.3s ease;
	position: relative;
}

.project-image-container:hover {
	transform: translateY(-5px);
}

.project-image-container:hover .project-placeholder {
	border-color: rgba(74, 158, 255, 0.6);
	box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
	background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
}

.placeholder-icon {
	transition: transform 0.3s ease;
}

.project-image-container:hover .placeholder-icon {
	transform: scale(1.1);
}

/* For when you add actual project images later */
.project-image {
	transition: all 0.3s ease;
	border: 2px solid rgba(74, 158, 255, 0.3) !important;
}

.project-image-container:hover .project-image {
	transform: scale(1.05);
	border-color: rgba(74, 158, 255, 0.6) !important;
	box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3) !important;
}

/* Project Gallery Styling */
.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.gallery-item:hover {
	transform: translateY(-5px);
}

.gallery-image {
	width: 100%;
	height: 120px;
	object-fit: cover;
	transition: all 0.3s ease;
	border: 1px solid rgba(74, 158, 255, 0.2) !important;
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.9) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 10px;
}

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

.gallery-item:hover .gallery-image {
	transform: scale(1.1);
	border-color: rgba(74, 158, 255, 0.5) !important;
}

.gallery-text {
	color: white;
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
	text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Clickable Image Styling */
.clickable-image {
	cursor: pointer;
	position: relative;
}

.zoom-indicator {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(74, 158, 255, 0.9);
	color: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.clickable-image:hover .zoom-indicator {
	opacity: 1;
}

.zoom-icon {
	position: absolute;
	top: 5px;
	right: 5px;
	color: #4a9eff;
	font-size: 0.9rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .zoom-icon {
	opacity: 1;
}

/* Modal Styling */
.modal-content {
	background: #2d2d2d !important;
	border: 1px solid rgba(74, 158, 255, 0.3) !important;
}

.modal-header {
	background: linear-gradient(145deg, #3a3a3a, #2d2d2d);
}

.modal-footer {
	background: linear-gradient(145deg, #2d2d2d, #3a3a3a);
}

#modalImage {
	max-height: 70vh;
	object-fit: contain;
	background: #1a1a1a;
}

/* Enhanced hover effects for clickable images */
.clickable-image:hover {
	transform: translateY(-3px);
}

.clickable-image:active {
	transform: translateY(-1px);
}

.badge {
	margin: 2px;
	padding: 5px 10px;
	font-size: 0.8rem;
	background: linear-gradient(145deg, #4a9eff, #357abd) !important;
	border: none;
	color: white !important;
}

/* Improved spacing for gap utility */
.gap-2 > * {
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
}

.gap-2 > *:last-child {
	margin-right: 0;
}

/* Additional modern styling */
.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(74, 158, 255, 0.3) 50%, transparent 100%);
	margin: 2rem 0;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Enhanced section backgrounds */
section {
	position: relative;
}

section:nth-child(even) {
	background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, rgba(45, 45, 45, 0.3) 100%);
}

/* Subtle animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.card, .carousel, h1, h2 {
	animation: fadeInUp 0.6s ease-out;
}

/* Enhanced carousel styling for dark theme */
.carousel-indicators li {
	background-color: rgba(74, 158, 255, 0.5);
}

.carousel-indicators .active {
	background-color: #4a9eff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	filter: brightness(0) invert(1);
}
