/*
Theme Name: Jaka Jannes
Description: Block theme for Jaka Jannes, 3D Environment Artist — dark background, gold accent, uppercase display type. Build pages with the block editor / Site Editor.
Author: Jaka Jannes
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
*/

html{ scroll-behavior: smooth; }

a{ text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Uppercase, letter-spaced nav links to match the brand's display type */
.wp-block-navigation a{
	letter-spacing: 0.05em;
}

.wp-block-navigation:not(.has-text-color) a{
	color: var(--wp--preset--color--text);
}

.wp-block-navigation a:hover{
	color: var(--wp--preset--color--accent) !important;
}

/* Site title link inherits the header's light text color */
.wp-block-site-title a{
	color: inherit;
	text-decoration: none;
}

.site-footer{
	border-top: 1px solid var(--wp--preset--color--border);
}

/* Bouncing scroll hint — add a Paragraph block inside a Cover block
   with the custom CSS class "scroll-hint". Set the Cover's own
   "Content position" (toolbar grid icon) to Bottom Center, and set
   this paragraph's text alignment to Center — the animation only
   handles the vertical bounce, Cover's own flex layout does the centering. */
.scroll-hint{
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
	animation: bounce 2.2s infinite;
}

@keyframes bounce{
	0%, 100% { transform: translateY(0); opacity: 0.6; }
	50% { transform: translateY(8px); opacity: 1; }
}

/* Small uppercase eyebrow label above a section — add to a Paragraph
   or Heading block via "Additional CSS class(es)": section-label */
.section-label{
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin-bottom: 1.25rem;
	text-align: center;
}

/* Social links grid — use with a Custom HTML block, see chat for the markup. */
.social-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.social-link{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	padding: 1.5rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	text-decoration: none;
	color: var(--wp--preset--color--text);
	background: rgba(255,255,255,0.02);
	transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.social-link:hover{
	border-color: var(--wp--preset--color--accent);
	transform: translateY(-3px);
	background: rgba(255,255,255,0.05);
	text-decoration: none;
}

.social-link.discord{
	grid-column: 1 / -1;
	flex-direction: row;
	justify-content: center;
	background: rgba(88,101,242,0.12);
	border-color: rgba(88,101,242,0.4);
	font-weight: 600;
}

.social-link.discord:hover{
	border-color: var(--wp--preset--color--discord);
	background: rgba(88,101,242,0.2);
}

.social-link svg{ width: 26px; height: 26px; fill: currentColor; }
.social-link span{ font-size: 0.9rem; letter-spacing: 0.02em; }
