/*
Theme Name: Agensi
Description: A modern block-based WordPress theme designed for digital agencies and creative professionals.
Version: 1.0.0
Author: Your Name
Text Domain: agensi
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: block-themes, one-column, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Basic reset and typography */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: #1e293b;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

/* Enhanced Typography System */
:root {
	/* Color Palette */
	--primary-50: #eff6ff;
	--primary-100: #dbeafe;
	--primary-200: #bfdbfe;
	--primary-300: #93c5fd;
	--primary-400: #60a5fa;
	--primary-500: #3b82f6;
	--primary-600: #2563eb;
	--primary-700: #1d4ed8;
	--primary-800: #1e40af;
	--primary-900: #1e3a8a;
	
	/* Neutral Colors */
	--gray-50: #f8fafc;
	--gray-100: #f1f5f9;
	--gray-200: #e2e8f0;
	--gray-300: #cbd5e1;
	--gray-400: #94a3b8;
	--gray-500: #64748b;
	--gray-600: #475569;
	--gray-700: #334155;
	--gray-800: #1e293b;
	--gray-900: #0f172a;
	
	/* Spacing Scale */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;
	
	/* Typography Scale */
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.875rem;
	--text-4xl: 2.25rem;
	--text-5xl: 3rem;
	--text-6xl: 3.75rem;
	
	/* Line Heights */
	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-normal: 1.5;
	--leading-relaxed: 1.625;
	--leading-loose: 2;
	
	/* Border Radius */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-xl: 1rem;
	--radius-2xl: 1.5rem;
	
	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	line-height: var(--leading-tight);
	margin-bottom: var(--space-lg);
	color: var(--gray-800);
}

h1 {
	font-size: var(--text-5xl);
	line-height: var(--leading-tight);
	margin-bottom: var(--space-xl);
}

h2 {
	font-size: var(--text-4xl);
	line-height: var(--leading-snug);
	margin-bottom: var(--space-lg);
}

h3 {
	font-size: var(--text-3xl);
	line-height: var(--leading-snug);
	margin-bottom: var(--space-lg);
}

h4 {
	font-size: var(--text-2xl);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-md);
}

h5 {
	font-size: var(--text-xl);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-md);
}

h6 {
	font-size: var(--text-lg);
	line-height: var(--leading-normal);
	margin-bottom: var(--space-md);
}

p {
	font-size: var(--text-base);
	line-height: var(--leading-relaxed);
	margin-bottom: var(--space-lg);
	color: var(--gray-600);
}

/* Enhanced Text Styles */
.text-lead {
	font-size: var(--text-xl);
	line-height: var(--leading-relaxed);
	color: var(--gray-700);
	margin-bottom: var(--space-xl);
}

.text-small {
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	color: var(--gray-500);
}

.text-muted {
	color: var(--gray-500);
}

.text-primary {
	color: var(--primary-600);
}

.text-secondary {
	color: var(--gray-600);
}

/* Link Styles */
a {
	color: #6366f1;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #10b981;
}

/* Button Enhancements */
.wp-block-button__link {
	border-radius: var(--radius-lg);
	padding: var(--space-md) var(--space-xl);
	font-weight: 600;
	transition: all 0.3s ease;
	background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
	color: white;
	border: none;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	text-decoration: none;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
}

/* Navigation Enhancements */
.wp-block-navigation {
	font-weight: 500;
}

.wp-block-navigation-item a {
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-md);
	transition: all 0.3s ease;
	color: var(--gray-700);
}

.wp-block-navigation-item a:hover {
	background-color: var(--primary-50);
	color: var(--primary-700);
}

/* Header Styles */
.wp-block-template-part[data-area="header"] {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--gray-200);
	padding: var(--space-md) 0;
}

/* Hero Section Styles */
.hero-section {
	min-height: 80vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
	color: white;
	padding: var(--space-4xl) var(--space-xl);
}

.hero-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: var(--space-2xl);
}

.hero-content h1 {
	color: white;
	font-size: var(--text-6xl);
	margin-bottom: var(--space-xl);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
	color: var(--primary-100);
	font-size: var(--text-xl);
	margin-bottom: var(--space-2xl);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Card Styles */
.service-card,
.portfolio-card {
	background: white;
	border-radius: var(--radius-2xl);
	padding: var(--space-2xl);
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
	border: 1px solid var(--gray-200);
}

.service-card:hover,
.portfolio-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-200);
}

.service-card h3,
.portfolio-card h3 {
	color: #ffffff !important;
	margin-bottom: var(--space-md);
}

.service-card p,
.portfolio-card p {
	color: var(--gray-600);
	margin-bottom: var(--space-lg);
}

/* Section Titles Above Image Sections */
#services h2,
.portfolio-section h2,
.wp-block-group h2.text-center {
	color: #ffffff !important;
}

/* Hero Title Styling */
.hero-title,
.hero-section h1,
.wp-block-cover h1,
.has-white-color {
	color: #ffffff !important;
}

/* Grid Layouts */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--space-2xl);
	margin: var(--space-3xl) 0;
	padding: 0 var(--space-xl);
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: var(--space-2xl);
	margin: var(--space-3xl) 0;
	padding: 0 var(--space-xl);
}

/* Image Enhancements */
.wp-block-image img {
	border-radius: 0.5rem;
	transition: transform 0.3s ease;
}

.wp-block-image:hover img {
	transform: scale(1.02);
}

/* Quote Styles */
.wp-block-quote {
	border-left: 4px solid #6366f1;
	padding-left: 2rem;
	margin: 2rem 0;
	font-style: italic;
	font-size: 1.125rem;
}

/* Footer Styles */
.wp-block-template-part[data-area="footer"] {
	background-color: var(--gray-800);
	color: white;
	padding: var(--space-4xl) 0;
	margin-top: var(--space-4xl);
	border-top: 1px solid var(--gray-700);
}

.wp-block-template-part[data-area="footer"] h1,
.wp-block-template-part[data-area="footer"] h2,
.wp-block-template-part[data-area="footer"] h3,
.wp-block-template-part[data-area="footer"] h4,
.wp-block-template-part[data-area="footer"] h5,
.wp-block-template-part[data-area="footer"] h6 {
	color: white;
}

.wp-block-template-part[data-area="footer"] p {
	color: var(--gray-300);
}

.wp-block-template-part[data-area="footer"] a {
	color: var(--gray-400);
	transition: color 0.3s ease;
	text-decoration: none;
}

.wp-block-template-part[data-area="footer"] a:hover {
	color: var(--primary-300);
}

/* Enhanced Responsive Design */

/* Breadcrumbs Styling */
.breadcrumbs a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumbs a:hover {
	color: #1e40af;
}

.breadcrumbs span {
	color: #1e40af;
	font-weight: 500;
}

/* Sidebar Widgets */
.sidebar-widget {
	margin-bottom: 2rem;
}

.sidebar-widget h3 {
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 0.75rem;
	margin-bottom: 1.5rem;
}

.sidebar-newsletter {
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Blog Post Cards */
.wp-block-post {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid #e2e8f0;
}

.wp-block-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
}

/* Comments Styling */
.wp-block-comments .wp-block-comment {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.wp-block-comment-author-name {
	font-weight: 600;
	color: #1e40af;
}

.wp-block-comment-date {
	color: #64748b;
	font-size: 0.875rem;
}

/* Social Links Enhancement */
.wp-block-social-links .wp-block-social-link {
	transition: transform 0.3s ease;
}

.wp-block-social-links .wp-block-social-link:hover {
	transform: translateY(-2px);
}

/* Form Styling */
.wp-block-post-comments-form input,
.wp-block-post-comments-form textarea {
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.75rem;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.wp-block-post-comments-form input:focus,
.wp-block-post-comments-form textarea:focus {
	outline: none;
	border-color: #1e40af;
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Tablet Styles */
@media (max-width: 1024px) {
	.wp-block-columns {
		flex-direction: column;
	}
	
	.wp-block-column {
		flex-basis: 100% !important;
		margin-bottom: 2rem;
	}
	
	.services-grid,
	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
	
	/* Navigation adjustments */
	.wp-block-navigation {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.wp-block-navigation-item {
		width: 100%;
		text-align: center;
	}
}

/* Mobile Styles */
@media (max-width: 768px) {
	/* Typography adjustments */
	h1 {
		font-size: 2rem;
		line-height: 1.2;
	}
	
	h2 {
		font-size: 1.75rem;
	}
	
	h3 {
		font-size: 1.5rem;
	}
	
	/* Hero section */
	.hero-content {
		padding: 1rem;
		text-align: center;
	}
	
	.hero-section {
		min-height: 60vh;
		padding: 2rem 1rem;
	}
	
	/* Grid layouts */
	.services-grid,
	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	/* Cards */
	.service-card,
	.portfolio-card,
	.wp-block-post {
		padding: 1.5rem;
		margin-bottom: 1.5rem;
	}
	
	/* Spacing adjustments */
	.wp-block-group {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	
	/* Button adjustments */
	.wp-block-button__link {
		padding: 0.75rem 1.25rem;
		font-size: 0.875rem;
		width: 100%;
		text-align: center;
	}
	
	.wp-block-buttons {
		flex-direction: column;
		gap: 1rem;
	}
	
	/* Navigation mobile */
	.wp-block-navigation {
		padding: 1rem;
	}
	
	.wp-block-navigation-item a {
		padding: 0.75rem 1rem;
		display: block;
		width: 100%;
	}
	
	/* Header adjustments */
	.wp-block-template-part[data-area="header"] {
		position: relative;
	}
	
	/* Sidebar adjustments */
	.sidebar-widget {
		margin-bottom: 1.5rem;
		padding: 1.5rem !important;
	}
	
	/* Comments mobile */
	.wp-block-comment .wp-block-columns {
		flex-direction: row;
		align-items: flex-start;
	}
	
	.wp-block-comment .wp-block-column:first-child {
		flex-basis: 60px !important;
		margin-bottom: 0;
	}
	
	/* Form mobile */
	.wp-block-post-comments-form input,
	.wp-block-post-comments-form textarea {
		width: 100%;
		margin-bottom: 1rem;
	}
}

/* Small Mobile Styles */
@media (max-width: 480px) {
	/* Further typography adjustments */
	h1 {
		font-size: 1.75rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	/* Tighter spacing */
	.wp-block-group {
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}
	
	.service-card,
	.portfolio-card,
	.sidebar-widget {
		padding: 1rem !important;
	}
	
	/* Hero adjustments */
	.hero-section {
		min-height: 50vh;
		padding: 1.5rem 0.75rem;
	}
	
	/* Button full width */
	.wp-block-button {
		width: 100%;
	}
	
	.wp-block-button__link {
		width: 100%;
		padding: 1rem;
	}
	
	/* Social links stack */
	.wp-block-social-links {
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	
	/* Image adjustments */
	.wp-block-image {
		margin: 1rem 0;
	}
	
	.wp-block-post-featured-image {
		margin-bottom: 1rem;
	}
}

/* Enhanced Visual Styling */

/* Modern Card Shadows and Effects */
.service-card,
.portfolio-card,
.sidebar-widget {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.portfolio-card:hover {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	transform: translateY(-8px);
}

/* Enhanced Button Styling */
.wp-block-button__link {
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
	border: none;
	border-radius: 8px;
	padding: 0.875rem 2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.wp-block-button__link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.wp-block-button__link:hover::before {
	left: 100%;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
	letter-spacing: -0.025em;
}

/* Modern Input Styling */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
	width: 100%;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: #3b82f6;
	background: white;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Enhanced Navigation */
.wp-block-navigation-item a {
	position: relative;
	font-weight: 500;
	transition: all 0.3s ease;
}

.wp-block-navigation-item a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
	transition: width 0.3s ease;
}

.wp-block-navigation-item a:hover::after {
	width: 100%;
}

/* Modern Quote Styling */
.wp-block-quote {
	border-left: 4px solid #3b82f6;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 2rem;
	border-radius: 0 12px 12px 0;
	position: relative;
	margin: 2rem 0;
}

.wp-block-quote::before {
	content: '"';
	position: absolute;
	top: -10px;
	left: 20px;
	font-size: 4rem;
	color: #3b82f6;
	font-family: serif;
	opacity: 0.3;
}

/* Enhanced Image Styling */
.wp-block-image img {
	border-radius: 12px;
	transition: all 0.3s ease;
}

.wp-block-image:hover img {
	transform: scale(1.02);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Modern Table Styling */
.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wp-block-table th {
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
	color: white;
	padding: 1rem;
	font-weight: 600;
	text-align: left;
}

.wp-block-table td {
	padding: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.wp-block-table tr:hover {
	background: #f8fafc;
}

/* Enhanced Search Form */
.wp-block-search {
	position: relative;
}

.wp-block-search__input {
	padding-right: 3rem;
}

.wp-block-search__button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
	border: none;
	border-radius: 6px;
	padding: 0.5rem;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
}

.wp-block-search__button:hover {
	transform: translateY(-50%) scale(1.05);
}

/* Animation Classes */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease forwards;
}

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

.slide-up {
	animation: slideUp 0.8s ease-out;
}

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

/* Pulse Animation for CTAs */
.pulse {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

/* Floating Animation */
.float {
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
}

/* Advanced Animations and Interactions */

/* Stagger Animation for Cards */
.services-grid .service-card,
.portfolio-grid .portfolio-card {
	opacity: 0;
	transform: translateY(30px);
	animation: staggerIn 0.6s ease-out forwards;
}

.services-grid .service-card:nth-child(1),
.portfolio-grid .portfolio-card:nth-child(1) {
	animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(2),
.portfolio-grid .portfolio-card:nth-child(2) {
	animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(3),
.portfolio-grid .portfolio-card:nth-child(3) {
	animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(4),
.portfolio-grid .portfolio-card:nth-child(4) {
	animation-delay: 0.4s;
}

@keyframes staggerIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hover Effects for Images */
.wp-block-post-featured-image img,
.wp-block-image img {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	filter: brightness(1) saturate(1);
}

.wp-block-post-featured-image:hover img,
.wp-block-image:hover img {
	filter: brightness(1.1) saturate(1.2);
	transform: scale(1.05);
}

/* Interactive Button Effects */
.wp-block-button {
	position: relative;
}

/* Loading Animation for Content */
.wp-block-group {
	animation: contentLoad 0.8s ease-out;
}

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

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

/* Interactive Navigation */
.wp-block-navigation-item {
	position: relative;
	overflow: hidden;
}

.wp-block-navigation-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, var(--primary-100), transparent);
	transition: left 0.5s;
}

.wp-block-navigation-item:hover::before {
	left: 100%;
}

/* Parallax Effect for Hero */
.hero-section {
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

/* Interactive Cards with Tilt Effect */
.service-card,
.portfolio-card {
	transform-style: preserve-3d;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.portfolio-card:hover {
	transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
}

/* Glowing Effect for Focus States */
input:focus,
textarea:focus,
select:focus {
	box-shadow: 0 0 0 3px var(--primary-200), 0 0 20px var(--primary-300);
}

/* Typewriter Effect for Hero Text */
.hero-typewriter {
	overflow: hidden;
	border-right: 2px solid var(--primary-300);
	white-space: nowrap;
	animation: typewriter 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typewriter {
	from { width: 0; }
	to { width: 100%; }
}

@keyframes blink-caret {
	from, to { border-color: transparent; }
	50% { border-color: var(--primary-300); }
}

/* Button Link Styles */
.wp-block-button__link {
	position: relative;
}

/* Gradient Text Animation */
.gradient-text {
	background: linear-gradient(-45deg, var(--primary-600), var(--primary-400), var(--primary-700), var(--primary-500));
	background-size: 400% 400%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Bounce Animation for CTAs */
.bounce {
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 53%, 80%, 100% {
		animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
		transform: translate3d(0,0,0);
	}
	40%, 43% {
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		transform: translate3d(0, -30px, 0);
	}
	70% {
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		transform: translate3d(0, -15px, 0);
	}
	90% {
		transform: translate3d(0,-4px,0);
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.text-gradient {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.shadow-lg {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Block Editor Styles */
.editor-styles-wrapper {
	font-family: 'Inter', sans-serif;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
	font-family: 'Playfair Display', serif;
}