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

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
	color: #ffffff;
	overflow-x: hidden;
	line-height: 1.6;
}

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

h2 {
	font-size: 2.5rem;
	color: #A855F7;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(12, 12, 12, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

nav.scrolled {
	background: rgba(12, 12, 12, 0.98);
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

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

.logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: #A855F7;
}

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

#nav-links a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
}

#nav-links a:hover {
	color: #8A2BE2;
	transform: translateY(-2px);
}

#nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #8A2BE2, #663399);
	transition: width 0.3s ease;
}

#nav-links a:hover::after {
	width: 100%;
}

/* Hamburger Menu */
#hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 4px;
	z-index: 1001;
}

#hamburger span {
	width: 25px;
	height: 3px;
	background: #A855F7;
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

#hamburger.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

#hamburger.active span:nth-child(2) {
	opacity: 0;
}

#hamburger.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
#home {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	background: 
		linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
		radial-gradient(circle at center, rgba(102, 51, 153, 0.2) 0%, transparent 70%),
		url('./img/hero.jpg') center/cover;
	background-attachment: fixed;
}

.hero-content h1 {
	font-size: 4rem;
	font-weight: 800;
	margin-bottom: -1rem;
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
	animation: fadeInUp 1s ease-out;
}

.hero-content .subtitle {
	font-size: 1.5rem;
	color: #e0e0e0;
	margin-bottom: 2rem;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
	animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
	display: inline-block;
	background: linear-gradient(135deg, #8A2BE2, #663399);
	color: #ffffff;
	padding: 1rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	animation: fadeInUp 1s ease-out 0.6s both;
	box-shadow: 0 8px 32px rgba(138, 43, 226, 0.4);
}

.cta-button:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 12px 48px rgba(138, 43, 226, 0.6);
}

/* Footer */
#footer {
	background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
	padding: 3rem 2rem 2rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#footer p {
	color: #888888;
	font-size: 0.9rem;
}

/* Services Section */
#services {
	padding: 6rem 2rem;
	background: linear-gradient(135deg, #0c0c0c 0%, #1c1c1c 50%, #0f0f0f 100%);
}

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

.service-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 2.5rem;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(102, 51, 153, 0.05));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(138, 43, 226, 0.2);
	border-color: rgba(138, 43, 226, 0.3);
}

.service-card:hover::before {
	opacity: 1;
}

.service-icon {
	margin-bottom: 2rem;
	position: relative;
	z-index: 1;
}

.icon-circle {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #8A2BE2, #663399);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	transition: transform 0.3s ease;
}

.service-card:hover .icon-circle {
	transform: scale(1.1) rotate(5deg);
}

.icon {
	font-size: 2rem;
}

.service-card h3 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: #A855F7;
	position: relative;
	z-index: 1;
}

.service-card p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #cccccc;
	margin-bottom: 2rem;
	position: relative;
	z-index: 1;
}

.service-highlight {
	display: inline-block;
	background: linear-gradient(135deg, #8A2BE2, #663399);
	color: white;
	padding: 0.5rem 1.5rem;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

a.service-highlight {
	border-color: rgba(138, 43, 226, 0.3);
	text-decoration: none;
	transition: all 0.4s ease;
}

a.service-highlight:hover {
	text-decoration: underline;
	box-shadow: 0 20px 60px rgba(138, 43, 226, 0.2);
	transform: translateY(-3px);
}

/* Portfolio Grid */
#portfolio {
	padding: 8rem 2rem 6rem 2rem;
	max-width: 1400px;
	margin: 0 auto;
	background: linear-gradient(135deg, #0f0f0f 0%, #1c1c1c 100%);
	position: relative;
}

.section-title {
	text-align: center;
	font-weight: 700;
	margin-bottom: 3rem;
	color: #A855F7;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-bottom: 4rem;
}

.portfolio-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 3/4;
	cursor: pointer;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

.portfolio-item:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

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

/* About Section */
#about {
	padding: 6rem 2rem;
	background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(102, 51, 153, 0.08));
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-text {
	font-size: 1.2rem;
	line-height: 1.8;
	color: #dddddd;
}

.about-text h2 {
	margin-bottom: 2rem;
}

.about-text p:not(:last-child) {
	padding-bottom: 1rem;
}

.about-image {
	border-radius: 20px;
	aspect-ratio: 1;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Image caption overlay */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #999;
    padding: 8px;
    font-size: 0.7rem;
}

/* Contact Section */
#contact {
	padding: 6rem 2rem;
	text-align: center;
}

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

#contact h2 {
	margin-bottom: 1rem;
}

#contact p {
	font-size: 1.2rem;
	color: #aaaaaa;
	margin-bottom: 2rem;
}

.contact-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
}

.contact-link {
	color: #ffffff;
	text-decoration: none;
	font-size: 1.1rem;
	padding: 0.5rem 1rem;
	border-radius: 10px;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link.default {
	background: linear-gradient(135deg, #6A1FB8, #4B278A);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.contact-link:hover {
	background: linear-gradient(135deg, #8A2BE2, #663399);
	color: #ffffff;
	transform: translateY(-2px);
}

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

.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
	h2 {
		font-size: 2rem;
	}
	
	#hamburger {
		display: flex;
	}
	
	#nav-links {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		height: calc(100vh - 70px);
		background: rgba(12, 12, 12, 0.98);
		backdrop-filter: blur(20px);
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		gap: 0.5rem;
		padding-top: 3rem;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}
	
	#nav-links.active {
		transform: translateX(0);
	}
	
	#nav-links li {
		width: 100%;
		text-align: center;
	}
	
	#nav-links a {
		font-size: 1.5rem;
		display: block;
		padding: 0.2rem;
	}
	
	.hero-content h1 {
		font-size: 3rem;
	}
	
	.hero-content .subtitle {
		font-size: 1rem;
		margin-top: 1rem;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.service-card {
		padding: 2rem;
	}
	
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.about-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.about-image {
		display: none;
	}

	.contact-links {
		flex-direction: column;
		align-items: center;
	}
	
}

@media (max-width: 360px) {
	.hero-content h1 {
		font-size: 2rem;
	}
	
	.hero-content .subtitle {
		font-size: 1rem;
		margin-top: 1rem;
	}
	
	#services, #portfolio, #about, #contact {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.service-card {
		padding: 1rem;
	}
	
	#footer div p:last-child {
		text-align: right;
	}
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(135deg, #8A2BE2, #663399);
	border-radius: 4px;
}

/* Lightbox Styles */
#lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	justify-content: center;
	align-items: center;
	z-index: 2000;
	backdrop-filter: blur(10px);
	display: flex;
	opacity: 0;
	visibility: hidden;
}

#lightbox.active {
	animation: fadeIn 0.3s ease;
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: zoomIn 0.3s ease;
}

.lightbox-close {
	position: absolute;
	top: -50px;
	right: -50px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 2rem;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.lightbox-close:hover {
	background: rgba(138, 43, 226, 0.8);
	transform: scale(1.1);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 2rem;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
	background: rgba(138, 43, 226, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
	left: -80px;
}

.lightbox-nav.next {
	right: -80px;
}

.lightbox-info {
	display: none;
}

.lightbox-info h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: #8A2BE2;
}

.lightbox-info p {
	color: #cccccc;
	font-size: 1rem;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

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

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
	.lightbox-close {
		top: 10px;
		right: 10px;
		font-size: 1rem;
		width: 1.2rem;
		height: 1.2rem;
	}
	
	.lightbox-nav {
		width: 2rem;
		height: 2rem;
		font-size: 1.5rem;
	}
	
	.lightbox-nav.prev {
		left: 15px;
	}
	
	.lightbox-nav.next {
		right: 15px;
	}
}

@media (max-width: 360px) {
	.lightbox-nav {
		width: 1.5rem;
		height: 1.5rem;
		font-size: 1.25rem;
	}
	
	.lightbox-nav.prev {
		left: 10px;
	}
	
	.lightbox-nav.next {
		right: 10px;
	}
}