/* Custom Portfolio CSS - Navy & White Theme */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--navy: #001f3f;
	--dark-navy: #000f1f;
	--white: #ffffff;
	--light-gray: #f5f5f5;
	--text-dark: #333333;
	--border-color: #ddd;
	--accent: #0066cc;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--white);
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: var(--navy);
	color: var(--white);
	padding: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
}

.nav-logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--white);
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-menu a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

.nav-menu a:hover {
	color: #b3d9ff;
	text-decoration: underline;
}

/* Hero Section */
.hero {
	margin-top: 60px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
	color: var(--white);
	padding: 6rem 2rem;
	text-align: center;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-content {
	max-width: 800px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.subtitle {
	font-size: 1.5rem;
	color: #b3d9ff;
	margin-bottom: 0.5rem;
}

.tagline {
	font-size: 1.1rem;
	color: #ccc;
	margin-bottom: 2rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.btn {
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--white);
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	display: inline-block;
}

.btn-primary {
	background-color: var(--white);
	color: var(--navy);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--white);
}

.btn-secondary {
	background-color: transparent;
	color: var(--white);
}

.btn-secondary:hover {
	background-color: var(--white);
	color: var(--navy);
}

/* Sections */
section {
	padding: 4rem 2rem;
	width: 100%;
	display: block;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

#about {
	background-color: var(--light-gray);
}

#projects {
	background-color: var(--white);
}

#experience {
	background-color: var(--light-gray);
}

#contact {
	background-color: var(--navy);
	color: var(--white);
}

h2 {
	color: var(--navy);
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

#contact h2,
#contact h3 {
	color: var(--white);
}

p {
	margin-bottom: 1rem;
	line-height: 1.8;
}

/* About Section */
.about-text {
	font-size: 1.1rem;
	color: var(--text-dark);
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.9;
}

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

.skill-category {
	background-color: var(--white);
	padding: 1.5rem;
	border-left: 4px solid var(--navy);
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
	color: var(--navy);
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.skill-category ul {
	list-style: none;
}

.skill-category li {
	padding: 0.5rem 0;
	color: var(--text-dark);
}

.skill-category li:before {
	content: "→ ";
	color: var(--navy);
	font-weight: bold;
	margin-right: 0.5rem;
}

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

.project-card {
	background-color: var(--white);
	border: 2px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
	border-color: var(--navy);
	box-shadow: 0 8px 20px rgba(0, 31, 63, 0.15);
	transform: translateY(-5px);
}

.project-header {
	background-color: var(--navy);
	color: var(--white);
	padding: 1.5rem;
}

.project-header h3 {
	color: var(--white);
	font-size: 1.3rem;
	margin: 0;
}

.project-header a {
	color: var(--white);
	text-decoration: none;
}

.project-header a:hover {
	text-decoration: underline;
}

.project-body {
	padding: 1.5rem;
}

.tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.tech-tag {
	background-color: var(--light-gray);
	color: var(--navy);
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	border: 1px solid var(--navy);
}

.highlights {
	background-color: var(--light-gray);
	padding: 1rem;
	border-radius: 5px;
	margin-top: 1rem;
	border-left: 3px solid var(--accent);
}

.highlights ul {
	margin: 0;
	padding-left: 1.5rem;
}

.highlights li {
	margin-bottom: 0.5rem;
	color: var(--text-dark);
}

/* Experience Section */
.timeline {
	position: relative;
	max-width: 900px;
	margin: 2rem auto;
}

.timeline:before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 3px;
	height: 100%;
	background-color: var(--navy);
	border-radius: 3px;
}

.timeline-item {
	margin-bottom: 3rem;
	width: 50%;
	position: relative;
}

.timeline-item:nth-child(odd) {
	margin-left: 0;
	text-align: right;
	padding-right: 3rem;
}

.timeline-item:nth-child(even) {
	margin-left: 50%;
	text-align: left;
	padding-left: 3rem;
}

.timeline-dot {
	position: absolute;
	top: 0;
	width: 20px;
	height: 20px;
	background-color: var(--white);
	border: 3px solid var(--navy);
	border-radius: 50%;
	right: -40px;
}

.timeline-item:nth-child(even) .timeline-dot {
	right: auto;
	left: -40px;
}

.timeline-content {
	background-color: var(--white);
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.timeline-content:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: var(--navy);
}

.timeline-content h3 {
	color: var(--navy);
	margin-top: 0;
	font-size: 1.2rem;
}

.timeline-content p {
	margin: 0.5rem 0;
	font-style: italic;
	color: var(--accent);
	font-weight: 600;
}

.timeline-content ul {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.timeline-content li {
	margin-bottom: 0.5rem;
}

.timeline-content a {
	color: var(--accent);
	text-decoration: none;
}

.timeline-content a:hover {
	text-decoration: underline;
}

/* Contact Section */
.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
	text-align: center;
}

.contact-item h3 {
	margin-bottom: 0.5rem;
	color: var(--white);
	font-size: 1.1rem;
}

.contact-item a,
.contact-item p {
	color: #b3d9ff;
	text-decoration: none;
	font-size: 1rem;
}

.contact-item a:hover {
	text-decoration: underline;
	color: var(--white);
}

.social-icons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.social-icons a {
	color: var(--white);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	color: #b3d9ff;
	transform: scale(1.2);
}

/* Footer */
.footer {
	background-color: var(--dark-navy);
	color: var(--white);
	padding: 2rem;
	text-align: center;
	border-top: 3px solid var(--navy);
	width: 100%;
}

.footer p {
	margin: 0;
	color: #b3d9ff;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		flex-direction: column;
		gap: 1rem;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background-color: var(--navy);
		padding: 1rem 2rem;
		display: none;
	}

	.nav-menu.active {
		display: flex;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.subtitle {
		font-size: 1.2rem;
	}

	h2 {
		font-size: 2rem;
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.timeline:before {
		left: 0;
	}

	.timeline-item {
		width: 100%;
		padding-left: 60px !important;
		text-align: left !important;
	}

	.timeline-item:nth-child(even) {
		margin-left: 0;
	}

	.timeline-dot {
		left: -40px !important;
		right: auto !important;
	}

	.cta-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.contact-info {
		grid-template-columns: 1fr;
	}

	section {
		padding: 3rem 1rem;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 4rem 1rem;
		margin-top: 60px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.subtitle {
		font-size: 1rem;
	}

	.tagline {
		font-size: 0.95rem;
	}

	.nav-logo {
		font-size: 1.2rem;
	}

	.nav-menu {
		gap: 0.5rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.skills-grid {
		grid-template-columns: 1fr;
	}

	.social-icons {
		gap: 1rem;
	}

	.social-icons a {
		font-size: 1.2rem;
	}
}

/* Utility Classes */
a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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