/*
Theme Name: Jupiter Odvjetnik
Theme URI: https://jupiter-media.hr
Author: Jupiter Media
Author URI: https://jupiter-media.hr
Description: Custom WordPress tema za odvjetnicke urede - puni sajt (homepage, podrucja rada, kontakt, blog). Izradio Jupiter Media.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: jupiter-odvjetnik
*/

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

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: #1A1A2E;
            background: #FFFFFF;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

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

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        ul, ol {
            list-style: none;
        }

        button, input, textarea, select {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }

        /* ZERO border-radius — the key "kockastost" feature */
        * {
            border-radius: 0 !important;
        }

        /* ============================================
           TYPOGRAPHY
           ============================================ */
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
            font-weight: 400;
            line-height: 1.2;
            color: #1A1A2E;
        }

        .label-uppercase {
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #8B1A1A;
        }

        /* ============================================
           LAYOUT
           ============================================ */
        .container {
            max-width: 1340px;
            margin: 0 auto;
            padding: 0 32px;
        }

        .section-padding {
            padding: 120px 0;
        }

        /* ============================================
           DEMO BANNER
           ============================================ */
        .demo-banner {
            background: linear-gradient(135deg, #7C3AED, #a855f7);
            color: #FFFFFF;
            text-align: center;
            padding: 14px 20px;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            position: relative;
            z-index: 1001;
        }

        .demo-banner a {
            color: #FFFFFF;
            font-weight: 700;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .demo-banner a:hover {
            opacity: 0.85;
        }

        /* ============================================
           HEADER
           ============================================ */
        .site-header {
            background: #FFFFFF;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
            border-bottom: 1px solid transparent;
        }

        .site-header.scrolled {
            border-bottom-color: #E8E4DE;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 32px;
            height: 90px;
            max-width: 1340px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .logo-main {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: #1A1A2E;
            line-height: 1;
        }

        .logo-sub {
            font-family: 'Inter', sans-serif;
            font-size: 0.65rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #8B1A1A;
            font-variant: small-caps;
        }

        .main-nav {
            display: flex;
            align-items: center;
            gap: 0;
        }

        .main-nav a {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            color: #1A1A2E;
            padding: 8px 20px;
            position: relative;
            transition: color 0.3s ease;
            letter-spacing: 0.3px;
        }

        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20px;
            right: 20px;
            height: 2px;
            background: #8B1A1A;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .main-nav a:hover {
            color: #8B1A1A;
        }

        .main-nav a:hover::after {
            transform: scaleX(1);
        }

        /* Mega dropdown for Područja rada */
        .nav-dropdown-wrapper {
            position: relative;
        }

        .nav-dropdown-wrapper > a {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .nav-dropdown-wrapper > a .dropdown-arrow {
            width: 10px;
            height: 10px;
            display: inline-flex;
            transition: transform 0.3s ease;
        }

        .nav-dropdown-wrapper:hover > a .dropdown-arrow {
            transform: rotate(180deg);
        }

        .mega-dropdown {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            width: 860px;
            background: #FFFFFF;
            border: 1px solid #E8E4DE;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            padding: 40px;
            display: grid;
            grid-template-columns: 1fr 1fr 0.8fr;
            gap: 32px;
            opacity: 0;
            visibility: hidden;
            transform: translateX(-50%) translateY(10px);
            transition: all 0.3s ease;
            z-index: 100;
        }

        .nav-dropdown-wrapper:hover .mega-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .mega-col h4 {
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #8B1A1A;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid #E8E4DE;
        }

        .mega-col a {
            display: block;
            font-size: 0.9rem;
            color: #444;
            padding: 8px 0;
            transition: color 0.2s ease, padding-left 0.2s ease;
        }

        .mega-col a:hover {
            color: #8B1A1A;
            padding-left: 8px;
        }

        .mega-col a::after {
            display: none;
        }

        .mega-cta-col {
            background: #FAFAF5;
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .mega-cta-col h4 {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.1rem;
            font-weight: 400;
            text-transform: none;
            letter-spacing: 0;
            color: #1A1A2E;
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 12px;
        }

        .mega-cta-col p {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .btn-burgundy {
            display: inline-block;
            background: #8B1A1A;
            color: #FFFFFF;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 14px 28px;
            letter-spacing: 0.5px;
            transition: background 0.3s ease;
            cursor: pointer;
            text-align: center;
            border: none;
        }

        .btn-burgundy:hover {
            background: #6B1414;
            color: #FFFFFF;
        }

        .mega-cta-col .btn-burgundy,
        .header-cta.btn-burgundy,
        .mobile-nav-overlay .btn-burgundy {
            color: #FFFFFF !important;
        }


        .btn-outline {
            display: inline-block;
            background: transparent;
            color: #1A1A2E;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 14px 28px;
            letter-spacing: 0.5px;
            border: 2px solid #1A1A2E;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: center;
        }

        .btn-outline:hover {
            background: #1A1A2E;
            color: #FFFFFF;
        }

        .btn-outline-light {
            display: inline-block;
            background: transparent;
            color: #FFFFFF;
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 14px 28px;
            letter-spacing: 0.5px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: center;
        }

        .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.7);
            color: #FFFFFF;
        }

        .header-cta {
            margin-left: 20px;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 6px;
            width: 32px;
            height: 32px;
            cursor: pointer;
            z-index: 1002;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 2px;
            background: #1A1A2E;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }

        /* ============================================
           MOBILE NAV OVERLAY
           ============================================ */
        .mobile-nav-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #FFFFFF;
            z-index: 9999;
            padding: 120px 32px 40px;
            overflow-y: auto;
        }

        .mobile-nav-close-row {
            position: absolute;
            top: 16px;
            left: 0;
            right: 0;
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 10;
        }

        .mobile-nav-close-row button {
            cursor: pointer;
            padding: 8px;
        }

        .mobile-nav-overlay.active {
            display: block;
        }

        .mobile-nav-overlay a {
            display: block;
            font-family: 'Libre Baskerville', serif;
            font-size: 1.1rem;
            color: #1A1A2E;
            padding: 12px 0;
            border-bottom: 1px solid #E8E4DE;
            transition: color 0.3s ease;
        }

        .mobile-nav-overlay a:hover {
            color: #8B1A1A;
        }

        .mobile-nav-overlay .mobile-cta {
            margin-top: 32px;
        }

        .mobile-nav-overlay .btn-burgundy {
            width: 100%;
            padding: 18px 28px;
            font-size: 1rem;
        }

        .mobile-nav-sub {
            padding-left: 24px;
        }

        .mobile-nav-sub a {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 400;
            border-bottom-color: #F0ECE6;
        }

        /* ============================================
           HERO
           ============================================ */
        .hero-section {
            padding: 100px 0 80px;
            background: #FFFFFF;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 80px;
            align-items: center;
        }

        .hero-label {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 32px;
        }

        .hero-label span {
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #8B1A1A;
        }

        .hero-label-line {
            width: 48px;
            height: 1px;
            background: #8B1A1A;
        }

        .hero-h1 {
            font-size: 4.8rem;
            font-weight: 400;
            line-height: 1.08;
            color: #1A1A2E;
            margin-bottom: 28px;
            letter-spacing: -1px;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 44px;
            max-width: 520px;
        }

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

        .hero-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border: 1px solid #E8E4DE;
        }

        .hero-stat {
            padding: 40px 32px;
            border: 1px solid #E8E4DE;
            margin: -1px;
        }

        .hero-stat-number {
            font-family: 'Libre Baskerville', serif;
            font-size: 3.2rem;
            font-weight: 700;
            color: #8B1A1A;
            line-height: 1;
            margin-bottom: 8px;
        }

        .hero-stat-label {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #888;
        }

        .hero-divider {
            width: 100%;
            height: 1px;
            background: #E8E4DE;
            margin-top: 80px;
        }

        /* ============================================
           SERVICES / PODRUČJA RADA
           ============================================ */
        .services-section {
            background: #FAFAF5;
        }

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

        .section-header .label-uppercase {
            margin-bottom: 20px;
            display: block;
        }

        .section-header h2 {
            font-size: 3rem;
            max-width: 600px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }

        .service-item {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 24px;
            padding: 40px 32px 40px 0;
            border-top: 1px solid #D4D0CA;
            align-items: start;
            transition: background 0.3s ease;
        }

        .service-item:nth-child(even) {
            padding-left: 48px;
            border-left: 1px solid #D4D0CA;
        }

        .service-item:hover {
            background: rgba(139, 26, 26, 0.03);
        }

        .service-number {
            font-family: 'Libre Baskerville', serif;
            font-size: 2rem;
            font-weight: 700;
            color: #8B1A1A;
            opacity: 0.4;
            line-height: 1;
            padding-top: 4px;
        }

        .service-content h3 {
            font-size: 1.35rem;
            font-weight: 400;
            margin-bottom: 12px;
            color: #1A1A2E;
        }

        .service-content p {
            font-size: 0.92rem;
            color: #666;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .service-link {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #8B1A1A;
            transition: letter-spacing 0.3s ease;
        }

        .service-link:hover {
            letter-spacing: 2.5px;
        }

        /* ============================================
           O NAMA / ABOUT
           ============================================ */
        .about-section {
            background: #FFFFFF;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .about-image-wrap {
            position: relative;
            overflow: hidden;
        }

        .about-image-wrap img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .about-badge {
            position: absolute;
            bottom: 24px;
            left: 24px;
            background: #8B1A1A;
            color: #FFFFFF;
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            padding: 12px 20px;
        }

        .about-content .label-uppercase {
            margin-bottom: 20px;
            display: block;
        }

        .about-content h2 {
            font-size: 2.6rem;
            line-height: 1.2;
            margin-bottom: 24px;
        }

        .about-content p {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .about-list {
            margin-top: 32px;
        }

        .about-list-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 0;
            border-bottom: 1px solid #E8E4DE;
        }

        .about-list-item:first-child {
            border-top: 1px solid #E8E4DE;
        }

        .about-list-marker {
            width: 24px;
            height: 1px;
            background: #8B1A1A;
            flex-shrink: 0;
        }

        .about-list-item span {
            font-size: 0.95rem;
            font-weight: 500;
            color: #1A1A2E;
        }

        /* ============================================
           PROCESS
           ============================================ */
        .process-section {
            background: #1A1A2E;
        }

        .process-section .section-header .label-uppercase {
            color: #8B1A1A;
        }

        .process-section .section-header h2 {
            color: #FFFFFF;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
        }

        .process-step {
            padding: 40px 32px;
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .process-step:first-child {
            border-left: none;
            padding-left: 0;
        }

        .process-step-number {
            width: 56px;
            height: 56px;
            border: 2px solid #8B1A1A;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Libre Baskerville', serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: #8B1A1A;
            margin-bottom: 28px;
        }

        .process-step h3 {
            font-size: 1.3rem;
            color: #FFFFFF;
            margin-bottom: 14px;
            font-weight: 400;
        }

        .process-step p {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.55);
            line-height: 1.7;
        }

        .process-connector {
            position: absolute;
            top: 68px;
            right: -12px;
            color: rgba(255, 255, 255, 0.2);
            font-size: 1.2rem;
            z-index: 1;
        }

        /* ============================================
           TEAM
           ============================================ */
        .team-section {
            background: #FAFAF5;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
        }

        .team-card {
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-4px);
        }

        .team-card-image {
            width: 100%;
            height: 380px;
            overflow: hidden;
            position: relative;
        }

        .team-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .team-card:hover .team-card-image img {
            transform: scale(1.03);
        }

        .team-card-info {
            padding: 24px 0;
            border-bottom: 2px solid transparent;
            transition: border-color 0.3s ease;
        }

        .team-card:hover .team-card-info {
            border-bottom-color: #8B1A1A;
        }

        .team-card-info h3 {
            font-size: 1.2rem;
            font-weight: 400;
            margin-bottom: 6px;
            color: #1A1A2E;
        }

        .team-card-info p {
            font-family: 'Inter', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #8B1A1A;
        }

        /* ============================================
           TESTIMONIALS
           ============================================ */
        .testimonials-section {
            background: #FFFFFF;
            text-align: center;
        }

        .testimonial-card {
            max-width: 800px;
            margin: 0 auto;
        }

        .testimonial-quote-mark {
            font-family: 'Libre Baskerville', serif;
            font-size: 8rem;
            color: #8B1A1A;
            line-height: 0.5;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .testimonial-text {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.5rem;
            font-style: italic;
            font-weight: 400;
            color: #1A1A2E;
            line-height: 1.7;
            margin-bottom: 40px;
        }

        .testimonial-author {
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: #1A1A2E;
            margin-bottom: 4px;
        }

        .testimonial-role {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            color: #888;
        }

        .testimonial-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 48px;
        }

        .testimonial-dot {
            width: 10px;
            height: 10px;
            background: #D4D0CA;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .testimonial-dot.active {
            background: #8B1A1A;
        }

        /* ============================================
           STRUČNI ČLANCI / ARTICLES
           ============================================ */
        .articles-section {
            background: #FAFAF5;
        }

        .articles-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 72px;
        }

        .articles-header .section-header {
            margin-bottom: 0;
        }

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

        .article-card {
            background: #FFFFFF;
            border: 1px solid #E8E4DE;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        }

        .article-card-image {
            width: 100%;
            height: 240px;
            overflow: hidden;
        }

        .article-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .article-card:hover .article-card-image img {
            transform: scale(1.05);
        }

        .article-card-body {
            padding: 28px;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .article-date {
            font-family: 'Inter', sans-serif;
            font-size: 0.78rem;
            color: #999;
        }

        .article-category {
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #8B1A1A;
            padding: 4px 12px;
            border: 1px solid #8B1A1A;
        }

        .article-card-body h3 {
            font-size: 1.2rem;
            font-weight: 400;
            line-height: 1.4;
            margin-bottom: 12px;
            color: #1A1A2E;
            transition: color 0.3s ease;
        }

        .article-card:hover .article-card-body h3 {
            color: #8B1A1A;
        }

        .article-card-body p {
            font-size: 0.9rem;
            color: #777;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .article-read-more {
            font-family: 'Inter', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: #8B1A1A;
            transition: letter-spacing 0.3s ease;
        }

        .article-read-more:hover {
            letter-spacing: 2.5px;
        }

        /* ============================================
           CONTACT
           ============================================ */
        .contact-section {
            background: #1A1A2E;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }

        .contact-form-side .label-uppercase {
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 20px;
            display: block;
        }

        .contact-form-side h2 {
            color: #FFFFFF;
            font-size: 2.6rem;
            margin-bottom: 12px;
        }

        .contact-form-side > p {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.95rem;
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

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

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

        .form-group label {
            font-family: 'Inter', sans-serif;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.5);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #FFFFFF;
            padding: 14px 16px;
            font-size: 0.95rem;
            transition: border-color 0.3s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #8B1A1A;
        }

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

        .form-group select {
            appearance: none;
            -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            cursor: pointer;
        }

        .form-group select option {
            background: #1A1A2E;
            color: #FFFFFF;
        }

        .contact-form .btn-burgundy {
            width: 100%;
            padding: 16px 28px;
            font-size: 0.9rem;
            margin-top: 8px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .contact-info-side .label-uppercase {
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 20px;
            display: block;
        }

        .contact-info-side h2 {
            color: #FFFFFF;
            font-size: 2.6rem;
            margin-bottom: 40px;
        }

        .contact-info-list {
            display: flex;
            flex-direction: column;
            gap: 28px;
            margin-bottom: 48px;
        }

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

        .contact-info-icon {
            width: 48px;
            height: 48px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #8B1A1A;
        }

        .contact-info-text h4 {
            font-family: 'Inter', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 4px;
        }

        .contact-info-text p {
            color: #FFFFFF;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .contact-info-text a {
            color: #FFFFFF;
            transition: color 0.3s ease;
        }

        .contact-info-text a:hover {
            color: #8B1A1A;
        }

        .contact-map-placeholder {
            width: 100%;
            height: 200px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.25);
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            letter-spacing: 1px;
        }

        /* ============================================
           FOOTER
           ============================================ */
        .site-footer {
            background: #0F0F1A;
            padding: 80px 0 48px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 48px;
            margin-bottom: 56px;
        }

        .footer-col .footer-logo {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #FFFFFF;
            margin-bottom: 16px;
        }

        .footer-col p {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.45);
            line-height: 1.7;
            margin-bottom: 8px;
        }

        .footer-col h4 {
            font-family: 'Inter', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.35);
            margin-bottom: 24px;
        }

        .footer-col a {
            display: block;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.55);
            padding: 6px 0;
            transition: color 0.3s ease;
        }

        .footer-col a:hover {
            color: #FFFFFF;
        }

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

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

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.55);
            transition: color 0.3s ease;
        }

        .footer-bottom a:hover {
            color: #FFFFFF;
        }

        .footer-bottom-right {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .footer-bottom-right a {
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.35);
        }

        /* ============================================
           SCROLL ANIMATIONS
           ============================================ */
        .reveal {
            opacity: 0;
            transform: translateY(32px);
        }

        .reveal.revealed {
            animation: revealUp 0.7s ease forwards;
        }

        .reveal-delay-1 { animation-delay: 0.1s !important; }
        .reveal-delay-2 { animation-delay: 0.2s !important; }
        .reveal-delay-3 { animation-delay: 0.3s !important; }
        .reveal-delay-4 { animation-delay: 0.4s !important; }
        .reveal-delay-5 { animation-delay: 0.5s !important; }
        .reveal-delay-6 { animation-delay: 0.6s !important; }

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

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 1100px) {
            .hero-h1 {
                font-size: 3.6rem;
            }

            .hero-grid {
                gap: 48px;
            }

            .about-grid {
                gap: 48px;
            }

            .section-header h2 {
                font-size: 2.4rem;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 968px) {
            .section-padding {
                padding: 80px 0;
            }

            .main-nav,
            .header-cta {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .hero-section {
                padding: 60px 0 60px;
            }

            .hero-grid {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .hero-h1 {
                font-size: 3rem;
            }

            .hero-stats {
                max-width: 400px;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .service-item:nth-child(even) {
                padding-left: 0;
                border-left: none;
            }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-image-wrap img {
                height: 360px;
            }

            .process-grid {
                grid-template-columns: 1fr 1fr;
                gap: 0;
            }

            .process-step {
                padding: 32px 24px;
                border-left: 1px solid rgba(255, 255, 255, 0.1);
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .process-step:nth-child(odd) {
                border-left: none;
            }

            .process-connector {
                display: none;
            }

            .team-grid {
                grid-template-columns: 1fr 1fr;
                gap: 24px;
            }

            .team-card-image {
                height: 300px;
            }

            .articles-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .articles-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 24px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .testimonial-text {
                font-size: 1.2rem;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 16px;
                text-align: center;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 20px;
            }

            .section-padding {
                padding: 64px 0;
            }

            .header-inner {
                height: 72px;
                padding: 0 20px;
            }

            .logo-main {
                font-size: 1.2rem;
                letter-spacing: 3px;
            }

            .logo-sub {
                font-size: 0.58rem;
            }

            .hero-section {
                padding: 40px 0 48px;
            }

            .hero-h1 {
                font-size: 2.2rem;
                letter-spacing: 0;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .hero-stat-number {
                font-size: 2.4rem;
            }

            .hero-stat {
                padding: 28px 20px;
            }

            .section-header h2 {
                font-size: 2rem;
            }

            .about-content h2 {
                font-size: 2rem;
            }

            .contact-form-side h2,
            .contact-info-side h2 {
                font-size: 2rem;
            }

            .process-grid {
                grid-template-columns: 1fr;
            }

            .process-step {
                border-left: none;
            }

            .process-step:not(:last-child) {
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .team-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .team-card-image {
                height: 340px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .hero-buttons .btn-burgundy,
            .hero-buttons .btn-outline {
                width: 100%;
                text-align: center;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }

            .footer-bottom-right {
                flex-direction: column;
                gap: 12px;
            }

            .demo-banner {
                font-size: 0.8rem;
                padding: 12px 16px;
            }

            .article-card-image {
                height: 200px;
            }

            .mobile-nav-overlay {
                padding: 100px 20px 40px;
            }

            .mobile-nav-overlay a {
                font-size: 1rem;
                padding: 10px 0;
            }
        }

/* ============================================
   CONTACT FORM 7 - uskladeno s dizajnom
   ============================================ */
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: #1a1a2e; margin-bottom: 8px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D4D0CA;
    border-radius: 0;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: border-color 0.3s ease;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { outline: none; border-color: #8B1A1A; }
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"] {
    display: inline-block;
    background: #8B1A1A;
    color: #FFFFFF;
    border: none;
    padding: 16px 36px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.wpcf7-form input[type="submit"]:hover { background: #6d1414; transform: translateY(-2px); }
.wpcf7-form .wpcf7-list-item { margin: 0 12px 0 0; }
.wpcf7 .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; font-size: 0.9rem; border-radius: 0; }
.wpcf7-form-control-wrap { display: block; }
/* dvije kolone na vecim ekranima za prvi red (ime/email) */
@media (min-width: 640px) {
    .wpcf7-form .cf7-row { display: flex; gap: 20px; }
    .wpcf7-form .cf7-row > p { flex: 1; }
}

/* CF7 response poruke - vidljiv bijeli tekst */
.wpcf7 .wpcf7-response-output {
    color: #FFFFFF !important;
    background: #1a1a2e;
    border: none !important;
    margin: 18px 0 0;
    padding: 14px 18px;
    font-size: 0.92rem;
    border-radius: 4px;
}
.wpcf7-form.sent .wpcf7-response-output { background: #1e7a3e; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output { background: #8B1A1A; }
.wpcf7-not-valid-tip { color: #ffd6d6 !important; font-size: 0.8rem; }
span.wpcf7-not-valid-tip { color: #8B1A1A !important; }
