/*
Theme Name: Abilitas Employment
Theme URI: https://abilitas.hr
Author: Abilitas Employment
Author URI: https://abilitas.hr
Description: Premium tamna tema za Abilitas Employment agenciju s glassmorphism efektima, animacijama i ACF integracijom. Uključuje predloške za Početnu, O nama, FAQ, Blog i Success Stories stranice.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
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: abilitas
Tags: dark-mode, glassmorphism, recruitment, agency, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready

Abilitas Employment Theme - Premium tamna tema za agencije za zapošljavanje.
*/

/* ==========================================================================
   BASE RESET & VARIABLES
   ========================================================================== */

:root {
    /* Colors - Cyan/Blue Theme */
    --color-primary: #06b6d4;
    --color-primary-light: #22d3ee;
    --color-primary-dark: #0891b2;
    --color-secondary: #3b82f6;
    --color-secondary-light: #60a5fa;
    --color-accent: #14b8a6;
    
    /* Dark Theme Colors */
    --color-bg-dark: #0f172a;
    --color-bg-darker: #020617;
    --color-bg-card: rgba(30, 41, 59, 0.6);
    --color-bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --color-text-white: #ffffff;
    --color-text-light: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-dark: #1e293b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #06b6d4, #3b82f6);
    --gradient-cyan-teal: linear-gradient(135deg, #06b6d4, #14b8a6);
    --gradient-blue-cyan: linear-gradient(135deg, #3b82f6, #06b6d4);
    
    /* Shadows */
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(6, 182, 212, 0.5);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

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

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--color-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-text-white);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-white);
}

.logo-text span {
    color: var(--color-primary);
}

/* Custom Logo */
.site-logo .custom-logo-link,
.site-logo .custom-logo,
.footer-logo .custom-logo-link,
.footer-logo .custom-logo {
    max-height: 40px;
    width: auto;
}

.site-logo img,
.footer-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.custom-logo {
	max-width:130px;
}

/* Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: block;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color var(--transition-base);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text-white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

.btn-header {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--color-text-white);
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
}

.btn-header:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-strong);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-white);
    transition: all var(--transition-base);
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-darker);
    z-index: 999;
    padding: 6rem 2rem 2rem;
}

.mobile-navigation.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-menu a {
    color: var(--color-text-white);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
    background: var(--color-bg-darker);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-bg-glass);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-text-white);
}

.footer-column h4 {
    color: var(--color-text-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--color-primary-light);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), var(--shadow-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), var(--shadow-glow-strong);
}

.btn-secondary {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    color: var(--color-text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: var(--color-text-white);
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

[data-animate] { opacity: 0; }
[data-animate].animated { animation-duration: 0.7s; animation-fill-mode: forwards; }
[data-animate="fade-up"].animated { animation-name: fadeInUp; }
[data-animate="fade-left"].animated { animation-name: fadeInLeft; }
[data-animate="fade-right"].animated { animation-name: fadeInRight; }
[data-animate="scale-up"].animated { animation-name: scaleIn; }

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.floating-element-1 {
    width: 18rem;
    height: 18rem;
    background: rgba(6, 182, 212, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
    width: 24rem;
    height: 24rem;
    background: rgba(59, 130, 246, 0.2);
    animation: float 8s ease-in-out infinite reverse;
}