/*
Theme Name: Guts Agency
Theme URI: https://gutsagency.com
Author: Guts Agency
Author URI: https://gutsagency.com
Description: Ultra-modern, lightweight bilingual (AR/EN) agency theme with built-in dark/light mode, RTL/LTR switching and AJAX contact form.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: guts
Tags: one-column, custom-logo, custom-menu, rtl-language-support, translation-ready, threaded-comments
*/

:root {
	--font-en: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-ar: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--font: var(--font-en);

	--bg: #f5f6fa;
	--bg-2: #ffffff;
	--bg-3: #eceef4;
	--surface: rgba(255, 255, 255, .72);
	--surface-2: rgba(10, 12, 18, .05);
	--text: #0a0c12;
	--muted: #5a6072;
	--border: rgba(10, 12, 18, .09);
	--border-strong: rgba(10, 12, 18, .18);
	--glass: rgba(245, 246, 250, .72);
	--grid-line: rgba(10, 12, 18, .055);

	--accent: #6c4dff;
	--accent-2: #00a38c;
	--accent-3: #e8336b;
	--grad: linear-gradient(120deg, #6c4dff 0%, #4f7cff 50%, #00c2a8 100%);

	--shadow: 0 18px 50px -18px rgba(16, 18, 40, .22);
	--radius: 20px;
	--radius-sm: 12px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--container: 1200px;
	--header-h: 76px;
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #06070b;
	--bg-2: #0c0e14;
	--bg-3: #12151d;
	--surface: rgba(255, 255, 255, .035);
	--surface-2: rgba(255, 255, 255, .07);
	--text: #f3f4f8;
	--muted: #8c93a6;
	--border: rgba(255, 255, 255, .08);
	--border-strong: rgba(255, 255, 255, .18);
	--glass: rgba(6, 7, 11, .62);
	--grid-line: rgba(255, 255, 255, .045);
	--accent: #8b6cff;
	--accent-2: #2ee6c5;
	--accent-3: #ff5c8a;
	--grad: linear-gradient(120deg, #8b6cff 0%, #5b8cff 50%, #2ee6c5 100%);
	--shadow: 0 24px 60px -20px rgba(0, 0, 0, .75);
	color-scheme: dark;
}

[dir="rtl"] { --font: var(--font-ar); }

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	background: var(--bg);
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	transition: background-color .45s var(--ease), color .45s var(--ease);
}

img, video { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
[dir="rtl"] :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.skip-link {
	position: fixed;
	top: -100px;
	inset-inline-start: 1rem;
	z-index: 1000;
	padding: .6rem 1rem;
	border-radius: 8px;
	background: var(--accent);
	color: #fff;
	font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.alignleft { float: inline-start; margin-inline-end: 1.5rem; }
.alignright { float: inline-end; margin-inline-start: 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); }
.sticky, .bypostauthor { position: relative; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
