/* WordPress Theme Styles for Layeye Showcase */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

/* CSS Variables for theme colors */
:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --popover: #ffffff;
    --popover-foreground: #0f172a;
    --primary: #3b82f6;
    --primary-foreground: #fafafa;
    --secondary: #f1f5f9;
    --secondary-dark: #e2e8f0;
    --secondary-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #ef4444;
    --accent-foreground: #fafafa;
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #3b82f6;
    --radius: 0.5rem;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-inverse: #ffffff;
}

/* Utility classes */
.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-text-inverse { color: var(--text-inverse); }
.bg-background { background-color: var(--background); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-dark { background-color: var(--secondary-dark); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.border-border { border-color: var(--border); }
.border-primary { border-color: var(--primary); }
.shadow-large { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary) 90%, black);
}

.btn-outline {
    border-color: var(--input);
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

/* Navigation styles */
nav a {
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
}

/* WordPress specific styles */
.site-header {
    position: relative;
    z-index: 50;
}

.site-content {
    min-height: 100vh;
}

/* Responsive utilities */
@media (max-width: 640px) {
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-20 {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

/* WordPress menu styles */
.wp-menu-item {
    color: var(--text-inverse);
    text-decoration: none;
    transition: opacity 0.2s;
}

.wp-menu-item:hover {
    opacity: 0.8;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader text */
.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;
}