/*
Theme Name: Vrabic Theme
Theme URI: https://vrabic.com
Author: Aleš Vrabič
Author URI: https://vrabic.com
Description: Profesionalna tema za Vrabic.Com informacijske storitve
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: vrabic
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal:          #2ABCB4;
    --teal-dark:     #1fa09a;
    --teal-light:    #e6f9f8;
    --teal-glow:     rgba(42, 188, 180, 0.12);
    --orange:        #F5A623;
    --orange-dark:   #e09218;
    --orange-light:  #fff8ec;
    --bg:            #ffffff;
    --bg-section:    #f7fafa;
    --bg-card:       #ffffff;
    --text-primary:  #1a2e2d;
    --text-secondary:#5a7a79;
    --border:        rgba(42, 188, 180, 0.15);
    --border-strong: rgba(42, 188, 180, 0.3);
    --radius:        12px;
    --transition:    0.3s ease;
    --font-mono:     'Space Mono', 'Courier New', monospace;
    --font:          'Inter', 'Segoe UI', system-ui, sans-serif;
    --shadow:        0 4px 24px rgba(42, 188, 180, 0.1);
    --shadow-hover:  0 8px 40px rgba(42, 188, 180, 0.2);
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

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

/* ===========================
   HEADER / NAV
=========================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(42, 188, 180, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-logo > span { color: var(--teal); }
.site-logo > span span { color: var(--orange); }

.site-logo-img {
    border-radius: 50%;
    border: 2px solid var(--orange);
}

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

.nav-menu a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
    font-family: var(--font-mono);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--teal);
    background: var(--teal-light);
}

.nav-cta a {
    background: var(--teal) !important;
    color: #fff !important;
    padding: 8px 20px !important;
}

.nav-cta a:hover {
    background: var(--teal-dark) !important;
    color: #fff !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 60% 40%, rgba(42,188,180,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,166,35,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(42,188,180,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42,188,180,0.18) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-light);
    border: 1px solid rgba(245,166,35,0.4);
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .highlight {
    color: var(--teal);
    position: relative;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(42, 188, 180, 0.3);
    font-family: var(--font-mono);
}

.btn-primary:hover {
    background: var(--teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(42, 188, 180, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--teal);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--teal);
    transition: all var(--transition);
    font-family: var(--font-mono);
}

.btn-secondary:hover {
    color: #fff;
    background: var(--teal);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 340px;
    height: 340px;
}

.hero-card {
    position: absolute;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-card-main {
    width: 280px;
    top: 20px;
    left: 30px;
    z-index: 3;
    box-shadow: 0 16px 48px rgba(42,188,180,0.15);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-light);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.hero-card-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.hero-stat-card {
    width: 160px;
    bottom: 30px;
    right: 0;
    z-index: 4;
    text-align: center;
    box-shadow: 0 8px 32px rgba(245,166,35,0.2);
    border-color: rgba(245,166,35,0.3);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===========================
   SECTIONS
=========================== */
section { padding: 100px 24px; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 60px;
}

/* ===========================
   SERVICES
=========================== */
.services-section {
    background: var(--bg-section);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--teal-light);
    border: 2px solid var(--border-strong);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    color: var(--teal);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-mono);
    transition: gap var(--transition);
}

.service-link:hover { gap: 10px; color: var(--teal-dark); }

/* ===========================
   WHY US
=========================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.stat-box {
    background: var(--bg-section);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}

.stat-box:hover {
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(245,166,35,0.15);
}

.stat-box-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-mono);
}

.stat-box-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border: 2px solid var(--border-strong);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.why-feature-title {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.why-feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   CONTACT
=========================== */
.contact-section {
    background: var(--bg-section);
    border-top: 2px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-light);
    border: 2px solid var(--border-strong);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: var(--text-primary);
    border-top: 3px solid var(--teal);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 300px;
}

.footer-nav h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav ul a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.footer-nav ul a:hover { color: var(--teal); }

.footer-nav ul span { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* Footer logo */
.site-footer .site-logo {
    color: #fff;
}

.site-footer .site-logo > span { color: #fff; }
.site-footer .site-logo > span span { color: var(--orange); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .services-grid,
    .services-grid-4 { grid-template-columns: 1fr 1fr; }
    .hero-content { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: rgba(255,255,255,0.98); padding: 24px; gap: 4px; border-bottom: 2px solid var(--border); }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .services-grid,
    .services-grid-4 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
