/*!
Theme Name: ekoton
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ekoton
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ekoton is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import "tailwind.css";

/* ============================================
   CTA Section - Animated Gradient with Lines
   ============================================ */

/* CTA Section Container */
.cta-section {
	position: relative;
	overflow: hidden;
	padding: 5rem 1rem;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 768px) {
	.cta-section {
		padding: 6rem 2rem;
		min-height: 450px;
	}
}

/* Animated Gradient Mesh Background with Lines */
.cta-gradient-mesh {
	position: absolute;
	inset: 0;
	z-index: 0;

	/* Base gradient - corporate teal theme */
	background:
		linear-gradient(135deg,
			oklch(38% 0.17 195) 0%,
			oklch(45% 0.22 187.881) 35%,
			oklch(52.8% 0.23 187.881) 65%,
			oklch(48% 0.2 200) 100%);

	animation: ctaGradientShift 20s ease-in-out infinite;
}

/* Animated grid lines overlay */
.cta-gradient-mesh::before {
	content: '';
	position: absolute;
	inset: 0;

	/* Grid lines pattern */
	background-image:
		/* Horizontal lines */
		repeating-linear-gradient(0deg,
			transparent,
			transparent 39px,
			rgba(255, 255, 255, 0.06) 39px,
			rgba(255, 255, 255, 0.06) 40px),
		/* Vertical lines */
		repeating-linear-gradient(90deg,
			transparent,
			transparent 39px,
			rgba(255, 255, 255, 0.06) 39px,
			rgba(255, 255, 255, 0.06) 40px);

	background-size: 40px 40px;
	animation: ctaGridMove 25s linear infinite;
	pointer-events: none;
}

/* Animated glow spots */
.cta-gradient-mesh::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 40% at 70% 30%, oklch(60% 0.18 187.881 / 0.35) 0%, transparent 50%),
		radial-gradient(ellipse 50% 50% at 25% 70%, oklch(55% 0.2 200 / 0.3) 0%, transparent 45%),
		radial-gradient(ellipse 70% 50% at 50% 50%, oklch(50% 0.15 195 / 0.2) 0%, transparent 40%);
	background-size: 200% 200%;
	animation: ctaGlowPulse 15s ease-in-out infinite;
	pointer-events: none;
}

/* Gradient shift animation */
@keyframes ctaGradientShift {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

/* Grid lines subtle movement */
@keyframes ctaGridMove {
	0% {
		background-position: 0 0, 0 0;
	}

	100% {
		background-position: 40px 40px, 40px 40px;
	}
}

/* Glow pulse animation */
@keyframes ctaGlowPulse {

	0%,
	100% {
		background-position: 0% 50%;
		opacity: 1;
	}

	50% {
		background-position: 100% 50%;
		opacity: 0.8;
	}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

	.cta-gradient-mesh,
	.cta-gradient-mesh::before,
	.cta-gradient-mesh::after {
		animation: none;
	}
}