/*
Theme Name: SEO Agency Pro
Theme URI: https://xweb.com.tn
Author: Xweb
Author URI: https://xweb.com.tn
Description: A premium, modern WordPress theme designed for SEO agencies and digital marketing professionals. Features dark mode, glassmorphism effects, smooth animations, and a fully responsive layout.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
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: seo-agency-pro
Tags: dark-mode, seo, agency, marketing, custom-menu, custom-logo, featured-images, translation-ready
*/

:root {
    --color-bg-primary: #0a0a1a;
    --color-bg-secondary: #111128;
    --color-bg-header: rgba(10, 10, 26, 0.95);
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-glass: rgba(255, 255, 255, 0.05);
    --color-bg-glass-hover: rgba(255, 255, 255, 0.08);
    --color-border-glass: rgba(255, 255, 255, 0.08);
    --color-border-glass-hover: rgba(255, 255, 255, 0.15);
    --color-accent-primary: #4f46e5;
    --color-accent-secondary: #06b6d4;
    --color-accent-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --color-accent-gradient-hover: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-accent: #818cf8;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --fs-xs: .75rem;
    --fs-sm: .875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    --fs-7xl: 4.5rem;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --lh-tight: 1.1;
    --lh-snug: 1.25;
    --lh-normal: 1.5;
    --lh-relaxed: 1.75;
    --space-xs: .25rem;
    --space-sm: .5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --radius-sm: .375rem;
    --radius-md: .5rem;
    --radius-lg: .75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .4);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, .15);
    --transition-fast: 150ms ease;
    --transition-default: 300ms ease;
    --transition-slow: 500ms ease;
    --container-max: 1280px;
    --container-narrow: 900px;
    --header-height: 80px;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
}

[data-theme="light"] {
    --color-bg-primary: #f8fafc;
    --color-bg-secondary: #ffffff;
    --color-bg-header: rgba(255, 255, 255, 0.95);
    --color-bg-card: rgba(0,0,0,0.03);
    --color-bg-glass: rgba(0,0,0,0.05);
    --color-bg-glass-hover: rgba(0,0,0,0.08);
    --color-border-glass: rgba(0,0,0,0.08);
    --color-border-glass-hover: rgba(0,0,0,0.15);
    --color-text-primary: #0f172a;
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;
    --color-text-accent: #4f46e5;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
    line-height: var(--lh-normal)
}

a {
    color: var(--color-text-accent);
    text-decoration: none;
    transition: color var(--transition-fast)
}

a:hover {
    color: var(--color-accent-secondary)
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

ul,
ol {
    list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--color-text-primary)
}

h1 {
    font-size: var(--fs-5xl)
}

h2 {
    font-size: var(--fs-4xl)
}

h3 {
    font-size: var(--fs-2xl)
}

h4 {
    font-size: var(--fs-xl)
}

h5 {
    font-size: var(--fs-lg)
}

h6 {
    font-size: var(--fs-base)
}

p {
    color: var(--color-text-secondary);
    line-height: var(--lh-relaxed)
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl)
}

.container--narrow {
    max-width: var(--container-narrow)
}

.section {
    padding: var(--space-5xl) 0
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-4xl)
}

.section__label {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-accent-secondary);
    background: rgba(6, 182, 212, .1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md)
}

.section__title {
    margin-bottom: var(--space-md)
}

.section__description {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--fs-lg)
}

.gradient-text {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap
}

.alignleft {
    float: left;
    margin: 0 var(--space-xl) var(--space-lg) 0
}

.alignright {
    float: right;
    margin: 0 0 var(--space-lg) var(--space-xl)
}

.aligncenter {
    display: block;
    margin: 0 auto var(--space-lg)
}

.wp-caption {
    max-width: 100%
}

.wp-caption-text {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-sm)
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md)
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden
}