/*
Theme Name: Adam Sadler Portfolio
Theme URI: https://adamsadler.me
Author: Adam Sadler
Author URI: https://adamsadler.me
Description: A modern, animated portfolio theme inspired by contemporary design. Features smooth animations, light/dark mode, and a clean aesthetic perfect for showcasing creative work.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adam-sadler-portfolio
Tags: portfolio, custom-menu, featured-images, full-width-template, sticky-post, theme-options, translation-ready, two-columns, blog, custom-colors, custom-header, custom-logo, editor-style, threaded-comments

Adam Sadler Portfolio WordPress Theme, (C) 2025 Adam Sadler
*/

/* CSS Variables for Light/Dark Mode */
:root {
	/* Light Mode Colors */
	--bg-primary: #ffffff;
	--bg-secondary: #f5f5f5;
	--text-primary: #000000;
	--text-secondary: #666666;
	--accent-color: #000000;
	--border-color: #e0e0e0;
	--hover-bg: #f0f0f0;
	
	/* Typography */
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	--font-size-base: 16px;
	--line-height-base: 1.6;
	
	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--spacing-xl: 6rem;
	
	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;
}

/* Dark Mode */
[data-theme="dark"] {
	--bg-primary: #000000;
	--bg-secondary: #111111;
	--text-primary: #ffffff;
	--text-secondary: #999999;
	--accent-color: #ffffff;
	--border-color: #333333;
	--hover-bg: #1a1a1a;
}

/* Reset & Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: var(--font-size-base);
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	color: var(--text-primary);
	background-color: var(--bg-primary);
	transition: background-color var(--transition-base), color var(--transition-base);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: var(--spacing-sm);
	color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p {
	margin-bottom: var(--spacing-sm);
	color: var(--text-secondary);
}

a {
	color: var(--text-primary);
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

a:hover {
	opacity: 0.7;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Utility Classes */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.fade-in {
	animation: fadeIn 0.6s ease-out;
}

.slide-in {
	animation: slideIn 0.6s ease-out;
}

