/*
Theme Name: Vocal Agent Theme
Theme URI: https://agent-vocal-ia.fr/
Description: 100% Exact Clone of Lovable Design for Agent Vocal IA.
Author: Antigravity
Version: 1.0.0
Text Domain: vocal-agent-theme
*/

:root {
    --primary: #5adbff; /* Updated to match user request */
    --primary-foreground: #0c1129;
    --background: #ffffff;
    --foreground: #020817;
    --card: #ffffff;
    --card-foreground: #020817;
    --popover: #ffffff;
    --popover-foreground: #020817;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #f1632b; /* Updated to user request */
    --accent-foreground: #ffffff;
    --destructive: #000000;
    --destructive-foreground: #ffffff;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #5adbff; /* Updated */
    --radius: 0.75rem;
    --footer: #020817;
    --header-bg: #0c1129; /* New specific header color */
}

.dark {
    --background: #0c1129; /* Updated to match user request */
    --foreground: #f8fafc;
    --card: #0c1129; /* Updated */
    --card-foreground: #f8fafc;
    --popover: #0c1129;
    --popover-foreground: #f8fafc;
    --secondary: #1e293b;
    --secondary-foreground: #f8fafc;
    --muted: #1e293b;
    --muted-foreground: #94a3b8;
    --accent: #f1632b; /* Updated */
    --accent-foreground: #ffffff;
    --destructive: #000000;
    --destructive-foreground: #ffffff;
    --border: #1e293b;
    --input: #1e293b;
    --ring: #5adbff; /* Updated */
    --footer: #010409;
    --header-bg: #0c1129; /* Match background */
}

body {
    font-family: 'Karla', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utilities based on Tailwind classes used in the HTML */
.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.bg-background { background-color: var(--background); }
.text-foreground { color: var(--foreground); }
.border-border { border-color: var(--border); }
.bg-card { background-color: var(--card); }
.text-muted-foreground { color: var(--muted-foreground); }

/* Custom Animations and Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.link-underline {
    position: relative;
}
.link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}
.link-underline:hover::after {
    width: 100%;
}

.noise-bg {
    position: relative;
}
.noise-bg::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 1;
}

.scanlines {
    position: relative;
}
.scanlines::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 2;
}

/* Prose Custom Styles for Single Post Content */
.prose-custom h2 {
    font-family: 'Bitter', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose-custom h3 {
    font-family: 'Bitter', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose-custom p {
    margin-bottom: 1.25rem;
}

.prose-custom strong {
    color: var(--foreground);
    font-weight: 700;
}

.prose-custom blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    font-style: italic;
    color: var(--muted-foreground);
    margin: 1.5rem 0;
}

.prose-custom ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose-custom ol {
    list-style-type: decimal;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose-custom li {
    margin-bottom: 0.25rem;
}

.prose-custom a {
    color: var(--primary);
    text-decoration: none;
}

.prose-custom a:hover {
    text-decoration: underline;
}

.prose-custom table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose-custom th {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
}

.prose-custom td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-footer {
    background-color: var(--footer);
}
