@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap");

/*
	Single-Page Scroll Portfolio with Scroll Animations
	Cream Background with Wine Accents
	
	Colors:
	- Cream: #F5E6E0
	- Deep Wine: #6B1F29
	- Soft Rose: #E2B3C2
	- Charcoal: #3A2A2E
*/

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Source Sans Pro', sans-serif;
	background: #F5E6E0;
	color: #3A2A2E;
	line-height: 1.6;
	overflow-x: hidden;
}

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

/* Scroll Reveal Animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.fade-in-right {
	opacity: 0;
	transform: translateX(50px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.fade-in-scale {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scale.visible {
	opacity: 1;
	transform: scale(1);
}

/* Stagger delays for sequential animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Navigation */
#nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(245, 230, 224, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	padding: 1rem 0;
	transition: all 0.3s ease;
	border-bottom: 1px solid rgba(107, 31, 41, 0.1);
}

#nav.scrolled {
	box-shadow: 0 2px 10px rgba(107, 31, 41, 0.1);
}

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

.logo {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #6B1F29;
	text-decoration: none;
	letter-spacing: 0.1em;
}

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

.nav-links a {
	color: #3A2A2E;
	text-decoration: none;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #6B1F29;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 6rem 2rem 4rem;
	background: linear-gradient(135deg, rgba(245, 230, 224, 1) 0%, rgba(226, 179, 194, 0.1) 100%);
}

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

.icon-circle {
	width: 100px;
	height: 100px;
	margin: 0 auto 2rem;
	border: 2px solid #6B1F29;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	color: #6B1F29;
	animation: fadeInScale 0.8s ease;
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.hero h1 {
	font-family: 'Playfair Display', serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: #6B1F29;
	margin-bottom: 1rem;
	letter-spacing: 0.05em;
	animation: fadeInUp 0.8s ease 0.2s both;
}

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

.tagline {
	font-size: 1.5rem;
	color: #3A2A2E;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 1rem;
	animation: fadeInUp 0.8s ease 0.4s both;
}

.subtitle {
	font-size: 1rem;
	color: #5A4A4E;
	margin-bottom: 2.5rem;
	line-height: 1.8;
	animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s ease 0.8s both;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background: #6B1F29;
	color: white;
	border-color: #6B1F29;
}

.btn-primary:hover {
	background: #8B2F39;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(107, 31, 41, 0.3);
}

.btn-secondary {
	background: transparent;
	color: #6B1F29;
	border-color: #6B1F29;
}

.btn-secondary:hover {
	background: #6B1F29;
	color: white;
}

/* Section Styling */
section {
	padding: 5rem 0;
}

.section-title {
	font-family: 'Playfair Display', serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #6B1F29;
	text-align: center;
	margin-bottom: 1rem;
	position: relative;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #E2B3C2;
	margin: 1rem auto;
}

.section-subtitle {
	text-align: center;
	color: #5A4A4E;
	font-size: 1.1rem;
	margin-bottom: 3rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* About Section */
.about-section {
	background: white;
}

.about-content {
	max-width: 900px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
}

.about-content p {
	margin-bottom: 1.5rem;
}

/* Projects Section */
.projects-section {
	background: #F5E6E0;
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.project-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 2px 10px rgba(107, 31, 41, 0.08);
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(107, 31, 41, 0.15);
}

.project-image {
	position: relative;
	height: 250px;
	overflow: hidden;
	background: #E2B3C2;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
	transform: scale(1.05);
}

.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(107, 31, 41, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
	opacity: 1;
}

.btn-view {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: white;
	color: #6B1F29;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}

.btn-view:hover {
	background: #E2B3C2;
	color: white;
}

.btn-view.disabled {
	background: rgba(255, 255, 255, 0.8);
	cursor: default;
}

.project-content {
	padding: 1.75rem;
}

.project-content h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.4rem;
	color: #6B1F29;
	margin-bottom: 0.75rem;
}

.project-tags {
	margin-bottom: 1rem;
}

.tag {
	display: inline-block;
	background: rgba(226, 179, 194, 0.2);
	color: #6B1F29;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.project-content p {
	color: #5A4A4E;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
}

.project-impact {
	color: #6B1F29;
	font-size: 0.9rem;
	font-weight: 600;
}

/* Skills Section */
.skills-section {
	background: white;
}

.skills-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.skill-category {
	text-align: center;
	padding: 2rem;
	background: #F5E6E0;
	border-radius: 8px;
	transition: transform 0.3s ease;
	width: 100%;
}

.skill-category:hover {
	transform: translateY(-5px);
}

.skill-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #6B1F29;
	box-shadow: 0 4px 12px rgba(107, 31, 41, 0.1);
}

.skill-category h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.2rem;
	color: #6B1F29;
	margin-bottom: 1rem;
}

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

.skill-category li {
	padding: 0.5rem 0;
	color: #5A4A4E;
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(107, 31, 41, 0.1);
}

.skill-category li:last-child {
	border-bottom: none;
}

.certifications {
	margin-top: 4rem;
	text-align: center;
	padding: 2.5rem;
	background: #F5E6E0;
	border-radius: 8px;
}

.certifications h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	color: #6B1F29;
	margin-bottom: 1.5rem;
}

.cert-list {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.cert-badge {
	background: white;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	color: #6B1F29;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(107, 31, 41, 0.1);
}

/* Contact Section */
.contact-section {
	background: #F5E6E0;
}

.contact-content {
	max-width: 800px;
	margin: 0 auto;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(107, 31, 41, 0.08);
	width: 100%;
}

/* Center the 4th item (Graduation) */
.contact-item:nth-child(4) {
	grid-column: 2 / 3;
}

.contact-item i {
	font-size: 1.5rem;
	color: #6B1F29;
	margin-top: 0.25rem;
}

.contact-item strong {
	display: block;
	color: #6B1F29;
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
	color: #5A4A4E;
	text-decoration: none;
	font-size: 0.95rem;
}

.contact-item a:hover {
	color: #6B1F29;
}

.social-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	background: white;
	color: #6B1F29;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	border: 2px solid #6B1F29;
	transition: all 0.3s ease;
}

.social-btn:hover {
	background: #6B1F29;
	color: white;
}

.resume-download {
	text-align: center;
}

/* Footer */
.footer {
	background: #6B1F29;
	color: white;
	text-align: center;
	padding: 2rem 0;
}

.footer p {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
	.nav-links {
		gap: 1rem;
	}

	.nav-links a {
		font-size: 0.75rem;
	}

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

	.tagline {
		font-size: 1.2rem;
	}

	.section-title {
		font-size: 2rem;
	}

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

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

	.contact-info {
		grid-template-columns: 1fr;
	}
	
	.contact-item:nth-child(4) {
		grid-column: auto;
	}

	.social-links {
		flex-direction: column;
	}

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

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

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

	.tagline {
		font-size: 1rem;
	}

	section {
		padding: 3rem 0;
	}
}

/* Contact Form Styles */
.contact-form-wrapper {
	max-width: 600px;
	margin: 0 auto 3rem;
	background: white;
	padding: 2.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 15px rgba(107, 31, 41, 0.1);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	color: #6B1F29;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
	padding: 0.9rem 1.2rem;
	border: 2px solid rgba(107, 31, 41, 0.2);
	border-radius: 4px;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1rem;
	color: #3A2A2E;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: #F5E6E0;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #6B1F29;
	box-shadow: 0 0 0 3px rgba(107, 31, 41, 0.1);
	background: white;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form button[type="submit"] {
	margin-top: 0.5rem;
	width: 100%;
	justify-content: center;
}

.social-heading {
	text-align: center;
	color: #5A4A4E;
	font-size: 1rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.social-links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2.5rem;
	flex-direction: column;
	align-items: center;
}

/* Responsive form */
@media (max-width: 480px) {
	.contact-form-wrapper {
		padding: 1.5rem;
	}
	
	.form-group input,
	.form-group textarea {
		padding: 0.75rem 1rem;
		font-size: 0.95rem;
	}
}

/* Form Messages */
.form-message {
	margin-top: 1.5rem;
	padding: 1.5rem;
	border-radius: 4px;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	font-weight: 600;
	animation: slideDown 0.4s ease;
}

.form-message > div {
	flex: 1;
}

.form-message p {
	margin: 0.5rem 0 0 0;
	font-weight: 400;
	font-size: 0.95rem;
}

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

.form-message.success {
	background: #d4edda;
	color: #155724;
	border: 2px solid #c3e6cb;
}

.form-message.success i {
	color: #28a745;
	font-size: 1.5rem;
	margin-top: 0.2rem;
}

.form-message.error {
	background: #f8d7da;
	color: #721c24;
	border: 2px solid #f5c6cb;
}

.form-message.error i {
	color: #dc3545;
	font-size: 1.5rem;
	margin-top: 0.2rem;
}

/* Button loading state */
.btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.fa-spinner {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
