/*
Theme Name: Aesthetic Fonts
Description: Aesthetic font generator theme for WordPress. Live Unicode text transformer with 88+ styles, symbol library, and bio templates.
Version: 1.0.1
Author: aestheticfonts.im
License: GPL v2 or later
Text Domain: aesthetic-fonts
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --aw-font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
    --aw-font-serif: ui-serif, Georgia, serif;
    --aw-font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    --aw-color-primary: rgb(0 113 227);
    --aw-color-secondary: rgb(0 113 227);
    --aw-color-accent: rgb(36 138 61);
    --aw-color-text-heading: rgb(29 29 31);
    --aw-color-text-default: rgb(29 29 31);
    --aw-color-text-muted: rgb(110 110 115);
    --aw-color-bg-page: rgb(245 245 247);
    --aw-color-bg-page-dark: rgb(5 5 5);
    --aw-color-line: rgb(229 231 235);
    --aw-color-line-strong: rgb(18 23 33);
    --aw-color-surface: rgb(255 255 255);
    --aw-color-card: rgb(255 255 255);
    --aw-color-hairline: rgb(18 23 33);
    --aw-color-accent-strong: rgb(57 123 24);
}

.dark {
    --aw-color-primary: rgb(41 151 255);
    --aw-color-secondary: rgb(41 151 255);
    --aw-color-accent: rgb(48 209 88);
    --aw-color-text-heading: rgb(245 245 247);
    --aw-color-text-default: rgb(245 245 247);
    --aw-color-text-muted: rgb(161 161 166);
    --aw-color-bg-page: rgb(5 5 5);
    --aw-color-line: rgb(38 38 40);
    --aw-color-line-strong: rgb(245 245 247);
    --aw-color-surface: rgb(18 18 18);
    --aw-color-card: rgb(18 18 18);
    --aw-color-hairline: rgb(245 245 247);
    --aw-color-accent-strong: rgb(72 255 136);
}

::selection {
    color: white;
    background-color: var(--aw-color-primary);
}

body {
    font-family: var(--aw-font-sans);
    background-color: var(--aw-color-bg-page);
    color: var(--aw-color-text-default);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--aw-font-heading);
    color: var(--aw-color-text-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--aw-color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Layout */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 2px solid var(--aw-color-hairline);
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--aw-color-surface);
    color: var(--aw-color-text-default);
}

.btn:hover {
    background: var(--aw-color-bg-page);
}

.btn-primary {
    background: var(--aw-color-text-heading);
    color: var(--aw-color-surface);
    border-color: var(--aw-color-text-heading);
}

.btn-primary:hover {
    background: var(--aw-color-text-muted);
}

/* Form elements */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--aw-color-line);
    border-radius: 0.5rem;
    background: var(--aw-color-surface);
    color: var(--aw-color-text-default);
    width: 100%;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--aw-color-primary);
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-700 {
    animation-delay: 0.7s;
}

/* Grid */
.grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Borders */
.border {
    border: 1px solid var(--aw-color-line);
}

.border-2 {
    border: 2px solid var(--aw-color-line);
}

.border-t {
    border-top: 1px solid var(--aw-color-line);
}

.border-b {
    border-bottom: 1px solid var(--aw-color-line);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Backgrounds */
.bg-white {
    background-color: var(--aw-color-surface);
}

.bg-gray-50 {
    background-color: var(--aw-color-bg-page);
}

.dark .bg-white {
    background-color: var(--aw-color-card);
}

.dark .bg-gray-50 {
    background-color: var(--aw-color-bg-page);
}

/* Text colors */
.text-gray-600 {
    color: var(--aw-color-text-muted);
}

.text-gray-900 {
    color: var(--aw-color-text-heading);
}

.dark .text-gray-600 {
    color: var(--aw-color-text-muted);
}

.dark .text-gray-900 {
    color: var(--aw-color-text-heading);
}

/* Font sizes */
.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

/* Font weights */
.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none;
    }
}

/* WordPress specific */
.aligncenter {
    display: block;
    margin: 1rem auto;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.wp-block-button__link {
    background: var(--aw-color-text-heading);
    color: var(--aw-color-surface);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.wp-block-button__link:hover {
    opacity: 0.9;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--aw-color-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
