/* ==========================================================================
   Jennifer Priscila Thuler - Portfólio & Social Media
   CSS Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
	--primary: #fc466b;
	--primary-hover: #e03557;
	--secondary: #3f5efb;
	--gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	--gradient-hover: linear-gradient(135deg, #e03557 0%, #2b48db 100%);
	
	--dark-bg: #0f101d;
	--dark-card: #18192b;
	--dark-text: #f1f5f9;
	--dark-muted: #94a3b8;
	
	--light-bg: #f8fafc;
	--light-card: #ffffff;
	--light-text: #0f172a;
	--light-muted: #64748b;
	
	/* Current Active Theme Variables (Default: Light) */
	--bg-color: var(--light-bg);
	--card-bg: var(--light-card);
	--text-color: var(--light-text);
	--muted-color: var(--light-muted);
	--border-color: #e2e8f0;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
	--header-bg: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] {
	--bg-color: var(--dark-bg);
	--card-bg: var(--dark-card);
	--text-color: var(--dark-text);
	--muted-color: var(--dark-muted);
	--border-color: #2e3248;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
	--header-bg: rgba(15, 16, 29, 0.85);
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background: var(--bg-color);
	transition: background-color 0.3s ease, color 0.3s ease;
	overflow-x: hidden;
}

/* ==========================================================================
   Header & Navigation (Glassmorphism)
   ========================================================================== */

header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--header-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

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

.logo {
	font-size: 1.4rem;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
	letter-spacing: -0.5px;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 2rem;
}

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

.nav-links a {
	color: var(--text-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.2s ease;
	position: relative;
}

.nav-links a:hover {
	color: var(--primary);
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient);
	transition: width 0.3s ease;
}

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

.theme-toggle {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-color);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
}

.theme-toggle:hover {
	transform: rotate(15deg) scale(1.05);
	border-color: var(--primary);
	color: var(--primary);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--text-color);
	font-size: 1.5rem;
	cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
	background: var(--gradient);
	color: white;
	padding: 5rem 2rem 6rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	pointer-events: none;
}

.hero-content {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 3.5rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

.hero-image-wrapper {
	position: relative;
	display: inline-block;
}

.hero-image {
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 6px solid rgba(255, 255, 255, 0.9);
	object-fit: cover;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.badge-tag {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: white;
	color: var(--primary);
	padding: 6px 16px;
	border-radius: 20px;
	font-weight: 700;
	font-size: 0.85rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	gap: 6px;
}

.hero-text h1 {
	font-size: 2.8rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.25rem;
	font-weight: 500;
	opacity: 0.95;
	margin-bottom: 1.2rem;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hero-description {
	font-size: 1.05rem;
	opacity: 0.9;
	max-width: 650px;
	margin-bottom: 2rem;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0.85rem 1.8rem;
	border-radius: 30px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: white;
	color: var(--primary);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
	background: #ffffff;
	color: var(--primary-hover);
}

.btn-outline {
	background: rgba(255, 255, 255, 0.15);
	color: white;
	border: 2px solid rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(5px);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: white;
	transform: translateY(-3px);
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.social-links a {
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background: white;
	color: var(--primary);
	transform: translateY(-4px);
}

/* ==========================================================================
   Stats Counter Section
   ========================================================================== */

.stats-section {
	margin-top: -3rem;
	position: relative;
	z-index: 10;
	margin-bottom: 4rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	background: var(--card-bg);
	padding: 2rem;
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border-color);
}

.stat-card {
	text-align: center;
	padding: 0.5rem;
}

.stat-number {
	font-size: 2.2rem;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.2rem;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--muted-color);
	font-weight: 600;
}

/* ==========================================================================
   Container & Sections
   ========================================================================== */

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

section {
	margin-bottom: 5rem;
}

.section-header {
	margin-bottom: 2.5rem;
}

h2 {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--text-color);
	position: relative;
	display: inline-block;
	margin-bottom: 0.5rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 50%;
	height: 4px;
	background: var(--gradient);
	border-radius: 4px;
}

.section-subtitle {
	color: var(--muted-color);
	font-size: 1.05rem;
	margin-top: 0.5rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	gap: 3rem;
	align-items: start;
}

.about-text p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1.2rem;
	color: var(--text-color);
}

.info-cards {
	display: grid;
	gap: 1.2rem;
}

.info-card {
	background: var(--card-bg);
	padding: 1.4rem;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 1.2rem;
}

.info-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary);
}

.info-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(252, 70, 107, 0.1), rgba(63, 94, 251, 0.1));
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	flex-shrink: 0;
}

.info-details h3 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--muted-color);
	margin-bottom: 0.2rem;
}

.info-details p {
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--text-color);
}

/* ==========================================================================
   Skills & Services
   ========================================================================== */

.skills-container {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 3rem;
}

.skill-bar {
	margin-bottom: 1.8rem;
}

.skill-name {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.6rem;
	font-weight: 700;
	font-size: 0.95rem;
}

.skill-progress {
	height: 12px;
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	overflow: hidden;
	padding: 2px;
}

.skill-fill {
	height: 100%;
	background: var(--gradient);
	border-radius: 20px;
	transition: width 1.2s cubic-bezier(0.1, 0.5, 0.5, 1);
}

.services-grid {
	display: grid;
	gap: 1.5rem;
}

.service-card {
	background: var(--card-bg);
	padding: 1.6rem;
	border-radius: 14px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-color);
	border-left: 4px solid var(--primary);
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateX(8px);
	box-shadow: var(--shadow-md);
}

.service-card h4 {
	color: var(--primary);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

.service-card p {
	color: var(--muted-color);
	font-size: 0.95rem;
	line-height: 1.6;
}

.experience-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.timeline-column {
	display: flex;
	flex-direction: column;
}

.timeline-title {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 1.8rem;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-color);
	position: sticky;
	top: 90px;
	z-index: 10;
	background: var(--bg-color);
	padding: 0.6rem 0;
	transition: background-color 0.3s ease;
}

.timeline-item {
	background: var(--card-bg);
	padding: 1.6rem;
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border-color);
	border-left: 5px solid var(--primary);
	margin-bottom: 1.5rem;
	position: relative;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
	overflow: hidden;
}

.timeline-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.timeline-item.visible:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.timeline-date {
	display: inline-block;
	background: linear-gradient(135deg, rgba(252, 70, 107, 0.1), rgba(63, 94, 251, 0.1));
	color: var(--primary);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 0.8rem;
}

.timeline-item h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 0.3rem;
}

.timeline-item h5 {
	color: var(--primary);
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
}

.timeline-item p {
	color: var(--muted-color);
	font-size: 0.92rem;
	line-height: 1.6;
}

/* ==========================================================================
   Instagram & Portfolio Tabs & Grids
   ========================================================================== */

.portfolio-filter-tabs {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2.5rem;
	flex-wrap: wrap;
}

.filter-btn {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	color: var(--text-color);
	padding: 0.7rem 1.6rem;
	border-radius: 30px;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
	background: var(--gradient);
	color: white;
	border-color: transparent;
	box-shadow: 0 6px 18px rgba(252, 70, 107, 0.3);
}

/* Instagram Iframe Embed Cards Grid & Split Layout */
.portfolio-split-layout {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 2.5rem;
	align-items: start;
}

.portfolio-left-col {
	position: sticky;
	top: 90px;
}

.instagram-card {
	background: var(--card-bg);
	border-radius: 16px;
	border: 1px solid var(--border-color);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.instagram-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.instagram-card-header {
	padding: 1rem 1.2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(0, 0, 0, 0.02);
	border-bottom: 1px solid var(--border-color);
}

.instagram-user {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--text-color);
	text-decoration: none;
}

.instagram-user i {
	color: #e1306c;
	font-size: 1.3rem;
}

.instagram-iframe-wrapper {
	width: 100%;
	height: 520px;
	background: #fafafa;
	position: relative;
}

.instagram-iframe-wrapper iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.instagram-card-footer {
	padding: 1rem 1.2rem;
	text-align: center;
	background: var(--card-bg);
	border-top: 1px solid var(--border-color);
}

.btn-instagram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 25px;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: white;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-instagram:hover {
	opacity: 0.95;
	transform: translateY(-2px);
}

/* Traditional Design Portfolio Grid */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.portfolio-item {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	background: var(--card-bg);
	aspect-ratio: 1;
	cursor: pointer;
	border: 1px solid var(--border-color);
}

.portfolio-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

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

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

.portfolio-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 16, 29, 0.9) 0%, rgba(15, 16, 29, 0.2) 100%);
	color: white;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	transition: opacity 0.3s ease;
}

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

.portfolio-overlay h4 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.3rem;
}

.portfolio-overlay p {
	font-size: 0.85rem;
	opacity: 0.85;
}

/* ==========================================================================
   Image Modal (Lightbox)
   ========================================================================== */

.modal-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.modal-lightbox.active {
	display: flex;
}

.modal-content-box {
	max-width: 800px;
	max-height: 90vh;
	background: var(--card-bg);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 25px 50px rgba(0,0,0,0.5);
	display: flex;
	flex-direction: column;
}

.modal-img {
	max-height: 70vh;
	width: 100%;
	object-fit: contain;
	background: #000;
}

.modal-info {
	padding: 1.5rem;
}

.modal-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	z-index: 10;
}

/* ==========================================================================
   Footer & CTA Box
   ========================================================================== */

.cta-box {
	background: var(--gradient);
	color: white;
	padding: 3.5rem 2rem;
	border-radius: 20px;
	text-align: center;
	box-shadow: var(--shadow-lg);
	margin-bottom: 4rem;
}

.cta-box h3 {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.cta-box p {
	font-size: 1.1rem;
	opacity: 0.95;
	max-width: 600px;
	margin: 0 auto 2rem;
}

footer {
	background: #0b0c16;
	color: #94a3b8;
	text-align: center;
	padding: 2.5rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
	font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero-image-wrapper {
		margin: 0 auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.social-links {
		justify-content: center;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-grid,
	.skills-container,
	.experience-grid,
	.portfolio-split-layout {
		grid-template-columns: 1fr;
	}

	.portfolio-left-col {
		position: static;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--card-bg);
		border-bottom: 1px solid var(--border-color);
		flex-direction: column;
		padding: 1.5rem;
		box-shadow: var(--shadow-lg);
	}

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

	.menu-toggle {
		display: block;
	}

	.hero-text h1 {
		font-size: 2.2rem;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		padding: 1.2rem;
	}

	.stat-number {
		font-size: 1.8rem;
	}
}
