/*!
Theme Name: Riskilling Simples
Description: Simple Landing Page Theme with Tailwind CSS for DX Training
Author: Asty24
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riskilling_simples
*/

/* Basic Reset and Utilities */
.skip-link {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

.skip-link:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 7px;
	width: auto;
	z-index: 100000;
}

/* Smooth scrolling for anchor links */
html {
	scroll-behavior: smooth;
}

/* Custom styles to match reference design */
.hero-gradient {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-bg {
	background-color: #f8fafc;
}

.card-hover {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Hero Section Animations */
@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
}

.hero-float {
	animation: float 6s ease-in-out infinite;
}

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

.fade-in-up {
	animation: fadeInUp 0.8s ease-out;
}

/* Parallax Effect */
.parallax-bg {
	transform: translateZ(0);
	will-change: transform;
}

/* Enhanced Text Shadows */
.text-shadow-lg {
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.text-shadow-md {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Contact Form 7 Styling */
.contact-form-wrapper .wpcf7-form {
	max-width: 100%;
}

.contact-form-wrapper .wpcf7-form-control {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background-color: #ffffff;
}

.contact-form-wrapper .wpcf7-form-control:focus {
	outline: none;
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact-form-wrapper .wpcf7-textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-form-wrapper .wpcf7-submit {
	background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
	color: white;
	padding: 14px 32px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: none;
	min-width: 150px;
}

.contact-form-wrapper .wpcf7-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.contact-form-wrapper .wpcf7-form p {
	margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #374151;
	font-size: 14px;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
	color: #ef4444;
	font-size: 14px;
	margin-top: 4px;
}

.contact-form-wrapper .wpcf7-validation-errors {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 12px 16px;
	color: #dc2626;
	margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
	background-color: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 12px 16px;
	color: #15803d;
	margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7-spinner {
	margin-left: 10px;
}

/* WordPress alignment classes */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.clear {
	clear: both;
}