/*
Theme Name: Dent Matrix Custom
Theme URI: https://dentmatrix.rs
Author: Antigravity Google
Description: High-performance, SEO-first custom theme for Dent Matrix (Original Design Replica).
Version: 3.0
*/

/* 1. IMPORT ORIGINAL FONT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
    --primary-red: #e60000;
    --dark-bg: #121212;
    --text-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    /* Free Estimate Variables */
    --mojaplava: #29b6f6;
    --viber: #7360f2;
    --whatsapp: #25D366;
    /* Changed to ORIGINAL font */
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
       ORIGINAL HERO CSS (Exact Replica)
       ========================================= */

.hero-content-wrapper {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    padding-top: 40px;
    padding-bottom: 40px;
    perspective: 1000px;
    margin-top: 0 !important;
}

/* LOGO */
.hero-logo {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8));
    will-change: transform, opacity;
    animation: coinSpin 0.6s ease-out forwards;
    transform-style: preserve-3d;
    opacity: 0;
}

@keyframes coinSpin {
    0% {
        transform: rotateY(360deg) scale(0.5);
        opacity: 0;
    }

    60% {
        transform: rotateY(-20deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
}

/* Brand Name (Vizuelni ukras) */
.brand-title-container {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s ease-out 0.4s backwards;
}

.brand-word {
    font-family: 'Montserrat', sans-serif;
    font-size: 65px;
    /* Mobile size from user snippet */
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 1;
    filter: drop-shadow(0px 5px 0px #000000) drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.6));
    position: relative;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    20% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media (min-width: 768px) {
    .brand-word {
        font-size: 110px;
    }
}

.word-dent {
    background-image: linear-gradient(120deg, #0072ff 0%, #0da8ea 30%, #66ccff 50%, #0da8ea 70%, #0072ff 100%);
}

.word-matrix {
    background-image: linear-gradient(120deg, #990000 0%, #d90000 30%, #ff8080 50%, #d90000 70%, #990000 100%);
}

/* H1 - Sadrži SVE ključne reči */
.hero-h1-keyword {
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
    animation: fadeInUp 0.5s ease-out 0.5s backwards;
    padding: 0 10px;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    /* Mobile */
}

@media (min-width: 768px) {
    .hero-h1-keyword {
        font-size: 32px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

.h1-highlight {
    display: block;
    margin-top: 5px;
    color: #0da8ea;
}

.hero-separator {
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #0da8ea, #d90000);
    margin: 0 auto 25px auto;
    border-radius: 3px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    animation: widthGrow 0.5s ease-out 0.6s backwards;
}

.hero-description {
    color: #eeeeee;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.6;
    animation: fadeInUp 0.5s ease-out 0.7s backwards;
    font-family: 'Montserrat', sans-serif;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes widthGrow {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 120px;
        opacity: 1;
    }
}

/* =========================================
       ABOUT SECTION CSS (From front-page.php)
       ========================================= */
.about-section-container {
    width: 100%;
    padding: 50px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image-column {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(41, 182, 246, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    opacity: 1;
    transform: translateX(0);
}

.about-image-column::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 0;
    width: 4px;
    background: var(--mojaplava);
    z-index: 10;
    box-shadow: 0 0 10px var(--mojaplava);
    border-radius: 0 2px 2px 0;
}

.about-image-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.about-image-column:hover::after {
    opacity: 0.6;
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: brightness(0.85) contrast(1.15) saturate(1.1);
}

.about-image-column:hover .about-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1) saturate(1.1);
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
}

.about-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--mojaplava);
    box-shadow: 0 0 10px var(--mojaplava);
}

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #b0b5b9;
    margin-bottom: 10px;
    font-weight: 400;
}

.about-paragraph strong {
    color: inherit;
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-section-container {
        padding: 50px 15px;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image-column {
        order: 1;
        margin: 0 auto;
        max-width: 100%;
    }

    .about-text-column {
        order: 2;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .about-heading {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .about-paragraph {
        font-size: 1rem;
    }
}

/* 
   UTILITIES FOR WP THEME 
   (Buttons, Containers, Backgrounds) 
*/

/* UTILITIES FOR WP THEME */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-hero {
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax Effect */
    background-position: center;
}

/* FOOTER ALIGNMENT FIX (Robust Flexbox + ID Selector) */
#footer-reviews-widget {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

@media (min-width: 993px) {
    #footer-reviews-widget {
        padding-top: 100px !important;
    }
}

@media (max-width: 992px) {
    #footer-reviews-widget {
        padding-top: 20px !important;
        /* Reset for Mobile/Tablet */
    }
}

/* Mobile Parallax Fix */
@media (max-width: 768px) {
    .bg-hero {
        background-attachment: scroll;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
}

/* Mobile Sticky CTA (Always visible on phone bottom) */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    }

    .mobile-sticky-cta a {
        flex: 1;
        padding: 10px 2px;
        /* Minimal side padding */
        text-align: center;
        font-weight: bold;
        color: white;
        text-transform: uppercase;
        font-size: 10px;
        /* Compact font size */
        display: flex;
        flex-direction: column;
        /* Stack Icon above Text */
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    /* GLOBAL MOBILE SPACING FIX */
    .page-content,
    .full-page-wrapper,
    .bio-container,
    .gallery-content,
    .full-estimate-wrapper,
    .site-main section {
        padding-bottom: 20px !important;
    }

    .mobile-sticky-cta i {
        font-size: 18px;
        /* Icon size */
        margin: 0;
    }

    .btn-viber {
        background: #665cac;
    }

    .btn-whatsapp {
        background: #25D366;
    }

    .btn-call {
        background: #E53935;
        /* Bright Red */
    }

    .btn-location {
        background: #FF7A00 !important;
        /* User requested Orange */
    }

    /* Darker Red */
    .btn-location {
        background: #0da8ea;
    }

    /* Brand Blue */
}

/* =========================================
   FREE ESTIMATE PAGE STYLES
   ========================================= */

.full-estimate-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 0px 20px;
    margin-bottom: -20px;
    text-align: center;
}

/* --- HEADER (SA ANIMACIJOM) --- */
.est-header {
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.est-visual-title {
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.3;
    display: block;
}

.highlight-blue {
    color: var(--mojaplava);
}

.header-separator {
    width: 0px;
    height: 4px;
    background: var(--mojaplava);
    margin: 20px auto 25px;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(41, 182, 246, 0.6);
    animation: expandSeparator 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.est-subtitle {
    color: #b0b5b9;
    font-size: 18px;
    margin-top: 0;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- GRID UPUTSTVA --- */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.instruction-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 35px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;

    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.instruction-card:nth-child(1) {
    animation-delay: 0.2s;
}

.instruction-card:nth-child(2) {
    animation-delay: 0.4s;
}

.instruction-card:nth-child(3) {
    animation-delay: 0.6s;
}

.instruction-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--mojaplava);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.inst-icon {
    font-size: 45px;
    color: var(--mojaplava);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.instruction-card:hover .inst-icon {
    transform: scale(1.1) rotate(5deg);
}

.inst-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.inst-text {
    font-size: 14px;
    color: #b0b5b9;
    line-height: 1.6;
}

/* --- DUGMICI --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards 0.8s;
    padding-bottom: 10px;
}

.chat-btn {
    display: flex;
    align-items: center;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.chat-btn i {
    margin-right: 12px;
    font-size: 22px;
    color: #ffffff !important;
    /* Force White Icon */
}

/* Viber */
.btn-viber {
    background: var(--viber);
    box-shadow: 0 5px 15px rgba(115, 96, 242, 0.3);
}

.btn-viber:hover {
    background: #5e4bd6;
    box-shadow: 0 8px 25px rgba(115, 96, 242, 0.5);
    transform: translateY(-3px);
}

/* WhatsApp */
.btn-whatsapp {
    background: var(--whatsapp);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1ebc57;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

/* --- NOVI FOOTER LINK STIL --- */
.footer-helper-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 15px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;

    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards 1s;
}

/* Stil za sam link (broj telefona) */
.phone-link-animated {
    display: inline-block;
    /* Mora biti inline-block da bi radio transform */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-top: 3px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Elastična tranzicija */
    padding: 5px 10px;
    /* Malo prostora da se lakše klikne */
    border-radius: 8px;
}

.phone-link-animated:hover {
    color: var(--mojaplava);
    transform: scale(1.15) translateY(-2px);
    /* Povećava se i ide malo gore */
    text-shadow: 0 0 15px rgba(41, 182, 246, 0.5);
    /* Sjaj */
    background: rgba(255, 255, 255, 0.05);
    /* Suptilna pozadina na hover */
}

/* Animacije */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandSeparator {
    from {
        width: 0px;
    }

    to {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .est-visual-title {
        font-size: 26px;
    }

    .est-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .chat-btn {
        justify-content: center;
    }

    /* Hero Fixes for Mobile */
    .hero-h1-keyword {
        font-size: 2.2rem;
        /* Smaller H1 on mobile */
    }
}

/* =========================================
   FIXES & ADDITIONS (GLOBAL)
   ========================================= */

/* 1. Hero Background (Fixed) */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
}

/* 2. Animated Phone Link (Glowing) */
.phone-link-animated {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    margin-top: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 5px 15px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.phone-link-animated:hover,
.phone-link-animated:focus {
    color: var(--mojaplava);
    transform: scale(1.1) translateY(-2px);
    text-shadow: 0 0 15px rgba(41, 182, 246, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

/* 3. H1 Max Width Fix */
@media (min-width: 768px) {
    .hero-h1-keyword {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 4. Missing Hero Wrapper (CRITICAL FIX) */
.hero-bg-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* 5. NEW HEADER REDESIGN (Flex Menu + Socials) */

/* Force Flexbox on Navigation */
.main-navigation ul,
.header-menu-flex {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Menu Links */
.main-navigation li a,
.header-menu-flex li a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

/* Hover Effects */
.main-navigation li a:hover,
.header-menu-flex li a:hover {
    color: #e6b800 !important;
    /* Gold */
    transform: scale(1.15) translateY(-2px);
    text-shadow: 0 0 10px rgba(230, 184, 0, 0.4);
}

/* Active State */
.main-navigation li.current-menu-item a,
.header-menu-flex li.current-menu-item a {
    color: #e6b800 !important;
    border-bottom: 2px solid #e6b800;
    padding-bottom: 5px;
}

/* Social Icons */
.header-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Ensure gap exists */
}

.header-socials a:hover {
    color: #29b6f6 !important;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Mobile Hiding */
/* Mobile Visibility Fix */
@media (max-width: 900px) {

    .header-menu-flex,
    .main-navigation {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .header-menu-flex li a {
        font-size: 14px;
        /* Smaller font for mobile */
    }

    .header-socials {
        display: none !important;
        /* Keep socials hidden on mobile to save space */
    }
}

/* 6. FEATURES SECTION (Why Choose Us) - FIXED & CLEAN */
:root {
    --mojaplava: #29b6f6;
}

.features-section-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin: 0;
    padding: 50px 20px;
    /* Standardize Desktop Spacing */
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background-color: transparent;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
    /* Safety */
    z-index: 10;
    /* Ensure visibility */
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: 0px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: table;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-bottom: 10px;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--mojaplava);
    box-shadow: 0 0 10px var(--mojaplava);
    animation: expandWidth 1s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    /* FIX: Limit sirine sadrzaja */
    margin: 0 auto;
    /* FIX: Centriranje mreze */
    justify-content: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCard 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.7s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.8s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.9s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--mojaplava);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--mojaplava), transparent);
    opacity: 0.7;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(41, 182, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: background 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--mojaplava);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon {
    stroke: #ffffff;
    color: #ffffff;
}

.feature-icon {
    width: 35px;
    height: 35px;
    color: var(--mojaplava);
    transition: color 0.3s ease, stroke 0.3s ease;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b5b9;
    font-weight: 400;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    to {
        width: 100%;
    }
}

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .features-section-container {
        padding: 20px 15px 50px 15px;
    }

    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        width: 100%;
        max-width: 100%;
    }
}


/* Scoped Heading for Process Section */
.process-section {
    padding: 50px 20px;
    width: 100%;
    overflow: hidden;
}

.process-section .section-heading {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-bottom: 10px;
    border-bottom: none;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.process-section .section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--mojaplava);
    box-shadow: 0 0 10px var(--mojaplava);
    animation: expandWidth 1s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}

/* GRID */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    /* Centered content fix */
    margin: 0 auto;
}

/* KARTICA */
.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpCard 0.6s ease-out forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.4s;
}

.step-card:nth-child(2) {
    animation-delay: 0.6s;
}

.step-card:nth-child(3) {
    animation-delay: 0.8s;
}

.step-card:nth-child(4) {
    animation-delay: 1.0s;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--mojaplava);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* BROJ U POZADINI */
.step-number {
    font-size: 60px;
    font-weight: 900;
    color: #ffffff;
    opacity: 0.05;
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    pointer-events: none;
}

/* IKONA U KRUGU */
.step-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(41, 182, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
}

.step-card:hover .step-icon-box {
    background: var(--mojaplava);
    transform: scale(1.1);
}

/* Ostali tekstovi */
.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b5b9;
    font-weight: 400;
    text-align: center;
    /* Ensure readability */
}

.step-desc strong {
    color: #d0d5d9;
    font-weight: 700;
}

/* MOBILNI OPTIMIZACIJA for Process */
@media (max-width: 768px) {
    .process-section {
        padding: 50px 15px;
    }

    .process-section .section-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
    }
}

/* 8. GALLERY SECTION (Vertical Cards) */
.gallery-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    max-width: 100%;
    margin: 0;
    padding: 50px 20px;
    /* Standardize Desktop Spacing */
    background-image: url('assets/bg-premium.jpg');
    /* New Premium BG */
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    position: relative;
    z-index: 10;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    /* Consistent Overlay */
    z-index: 1;
}

.gallery-grid,
.gallery-section .section-heading,
.gallery-section p,
.gallery-footer {
    position: relative;
    z-index: 2;
    /* Content above overlay */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
    /* Vertical Video Aspect */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(41, 182, 246, 0.2);
    border-color: var(--mojaplava);
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-media {
    opacity: 1;
}

/* PRE / POSLE Markers */
.label-pre,
.label-posle {
    position: absolute;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 1px;
}

.label-pre {
    top: 20px;
    left: 20px;
    background: rgba(255, 0, 0, 0.7);
    /* Red-ish for Pre */
    backdrop-filter: blur(4px);
}

.label-posle {
    bottom: 20px;
    right: 20px;
    background: var(--mojaplava);
    /* Blue for Posle */
    box-shadow: 0 0 10px var(--mojaplava);
}

/* Play Icon Overlay */
.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .play-icon-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-icon-overlay i {
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
    /* Optical center */
}

/* View More Button Container */
.gallery-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-gallery-more {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--mojaplava);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-gallery-more:hover {
    background: var(--mojaplava);
    box-shadow: 0 0 20px var(--mojaplava);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        /* Keep responsive */
    }

    .gallery-card {
        height: 450px;
        /* Slightly smaller on mobile */
    }
}

/* MOBILE FIX: DISABLE FIXED BACKGROUNDS FOR PERFORMANCE & VISIBILITY */
@media (max-width: 1024px) {

    .site-footer,
    .hero-bg-wrapper,
    .about-section-container,
    .features-section-container,
    .process-section,
    .gallery-section {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        padding-top: 30px !important;
        /* Mobile Spacing */
        padding-bottom: 30px !important;
        /* Mobile Spacing */
        margin-top: -1px;
    }

    /* Hero Spacing Mobile */
    .hero-bg-wrapper {
        min-height: auto !important;
        margin-top: -80px;
        /* Increased pull-up to close gap */
        padding-bottom: 0px !important;
        /* Eliminate bottom gap */
    }

    .about-section-container {
        padding-top: 10px !important;
        /* Minimal Top Padding */
        margin-top: -10px;
        /* Force overlap slightly */
    }

    .about-section-container {
        padding-top: 30px !important;
        /* Reduced Top Padding */
        margin-top: -1px;
        /* Remove seams */
    }

    /* Hide Desktop Buttons */
    .action-buttons {
        display: none !important;
    }

    /* Show Helper Text on Mobile (Below Description) */
    .helper-text {
        display: block !important;
        margin-top: 10px;
        font-size: 13px;
        padding: 0 10px;
    }

    /* Footer Spacing Mobile */
    /* Footer Spacing Mobile */
    .footer-content-wrapper {
        margin-top: 0px !important;
        /* Eliminated gap */
        padding-top: 20px;
        min-height: auto;
    }

    .gallery-section {
        padding-bottom: 10px !important;
        /* Reduce gap before footer */
    }
}

/* 9. FOOTER SECTION (Split Layout) */
.site-footer {
    position: relative;
    width: 100%;
    width: 100%;
    background-image: url('assets/footer-bg-final.jpg');
    /* Updated Footer BG */
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
    overflow: hidden;
    padding-top: 0;
    /* Let content dictate height, map takes full */
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    /* Standardized Overlay (85%) */
    z-index: 1;
}

.footer-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* Match height */
    max-width: 1400px;
    margin: 50px auto 20px auto;
    /* Added top margin */
    padding: 0 20px;
    min-height: 450px;
}

/* LEFT SIDE - CONTACT INFO */
.footer-left {
    flex: 1;
    /* Equal split */
    padding: 100px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    /* Fully transparent as requested */
    /* backdrop-filter removed to show clear BG */
}

/* RIGHT SIDE: Google Reviews Widget - ALIGNMENT FIX */
/* Removed ineffective CSS, using inline style in footer.php instead */

/* USER PROVIDED LEFT SIDE STYLES (Integrated) */
@keyframes slideUpFadeSynced {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.side-contact-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    animation: slideUpFadeSynced 1.2s ease-out forwards;
    opacity: 0;
}

.brand-intro {
    margin-bottom: 25px;
    border-left: 4px solid var(--mojaplava);
    padding-left: 15px;
}

.brand-name {
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: 1px;
}

.brand-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b5b9;
    margin: 0;
    text-align: left;
}

.brand-desc strong {
    color: #ced2d6;
    font-weight: 500;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.c-item {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.c-item:hover {
    transform: translateX(5px);
}

.c-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(13, 168, 234, 0.1);
    border: 1px solid rgba(13, 168, 234, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mojaplava);
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: 0.3s;
}

.c-item:hover .c-icon-box {
    background: var(--mojaplava);
    color: #fff;
}

.c-content h5 {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.c-content p,
.c-content a {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
}

.c-content a:hover {
    color: var(--mojaplava);
}

.chat-apps-inline {
    display: inline-flex;
    margin-left: 10px;
    gap: 8px;
    vertical-align: middle;
}

.fa-whatsapp {
    color: #25D366;
    font-size: 20px;
}

.fa-viber {
    color: #7360f2;
    font-size: 20px;
}

.social-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.social-row-title {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.s-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    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: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.s-btn:hover {
    background: var(--mojaplava);
    transform: translateY(-3px);
    border-color: var(--mojaplava);
}

/* RIGHT SIDE - REVIEWS WIDGET */
.footer-right {
    flex: 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 100px 40px 60px 40px !important;
    min-height: auto !important;
}

.footer-map-frame {
    width: 100%;
    height: 100%;
    border: none;
    /* Filter removed for standard map colors */
}

/* COPYRIGHT BAR */
.footer-copyright {
    position: relative;
    z-index: 5;
    background: #000;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #111;
}

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
    .footer-content-wrapper {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-left {
        padding: 40px 20px;
    }

    .footer-right {
        height: 400px;
        /* Fixed height for map on mobile */
        min-height: 400px;
    }
}

/* 10. SCROLL TO TOP & COPYRIGHT (User Provided) */
.position-wrapper {
    position: fixed;
    /* Fixed to viewport */
    bottom: 80px;
    /* Above standard footer or CTA */
    right: 20px;
    padding: 5px;
    z-index: 999;
    pointer-events: auto;
}

.footer-btn-wrap {
    position: relative;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;

    /* Glass Effect */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    /* Blue Border */
    border: 2px solid #29b6f6;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    /* Animation */
    animation: floatUp 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* ANIMATED BUTTON */
.btn-gallery-more {
    animation: blinkGlow 2s infinite;
}

@keyframes blinkGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(41, 182, 246, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(41, 182, 246, 0.9);
        transform: scale(1.05);
    }
}

/* 11. MOBILE STICKY CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 10px 5px;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.btn-cta {
    flex: 1;
    margin: 0 3px;
    padding: 6px 3px;
    /* Minimal Padding */
    border-radius: 8px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    /* Micro Font */
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: transform 0.2s;
}

.btn-cta i {
    font-size: 14px;
    /* Optimal Icon Size */
    margin-bottom: 2px;
}

.btn-viber {
    background: #665CAC;
    border: 1px solid #7D73C0;
}

.btn-whatsapp {
    background: #25D366;
    border: 1px solid #4CE484;
}

.btn-call {
    background: #29b6f6;
    border: 1px solid #5acafe;
}

.btn-cta:active {
    transform: scale(0.95);
}

/* Hide Sticky on Desktop */
@media (min-width: 901px) {
    .mobile-sticky-cta {
        display: none !important;
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* COPYRIGHT SECTION OVERRIDES */
.copyright-container {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    /* Reduced margin */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    position: relative;
    z-index: 5;
    padding-bottom: 20px;
}

/* This targets the span we will add in footer.php */
.copyright-content-wrapper {
    display: inline-block;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Line full width of text */
    padding-top: 15px;
}

.copyright-text {
    color: #888888;
    font-size: 11px;
    letter-spacing: 0.3px;
    margin: 0;
}

.copyright-break {
    display: block;
    margin-top: 2px;
    color: #666;
    font-size: 10px;
}

.copyright-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.copyright-link:hover {
    color: #29b6f6;
}

/* FINAL MOBILE OVERRIDES */
@media (max-width: 900px) {
    #o-nama {
        padding-top: 5px !important;
        margin-top: -10px;
    }

    .footer-content-wrapper {
        margin-top: 0 !important;
    }

    .btn-cta i {
        font-size: 11px !important;
    }

    .btn-cta {
        font-size: 9px !important;
    }
}

/* ENABLE MOBILE CARD ANIMATIONS */
@media (max-width: 900px) {

    .feature-card,
    .step-card {
        animation: fadeInUp 0.6s ease-out forwards !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .feature-card:hover,
    .step-card:hover {
        transform: translateY(-10px) scale(1.02) !important;
    }

    .gallery-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .site-footer {
        margin-top: 0 !important;
    }
}


/* WHITE STICKY ICONS */
.mobile-sticky-cta .btn-cta i {
    color: #ffffff !important;
}


/* ELIMINATE HERO TOP GAP */
.hero-logo {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ENHANCED MOBILE CARD ANIMATIONS */
@media (max-width: 900px) {

    .feature-card,
    .step-card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .feature-card:active,
    .step-card:active {
        transform: translateY(-15px) scale(1.05) !important;
        box-shadow: 0 20px 40px rgba(41, 182, 246, 0.4), 0 0 20px rgba(41, 182, 246, 0.3) !important;
        border-color: rgba(41, 182, 246, 0.5) !important;
    }
}


/* DESKTOP-ONLY HERO GAP FIX (min-width: 901px) */
@media (min-width: 901px) {
    .hero-logo {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .hero-content-wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hero-bg-wrapper {
        padding-top: 20px !important;
    }
}

/* MOBILE HERO RESTORE (max-width: 900px) */
@media (max-width: 900px) {
    .hero-bg-wrapper {
        padding-top: 60px !important;
        margin-top: 0 !important;
    }

    .hero-logo {
        margin-top: 20px !important;
    }
}


/* MOBILE HERO PROPER RESTORE */
@media (max-width: 900px) {
    .hero-bg-wrapper {
        justify-content: center !important;
        /* Keep centered on mobile */
        padding-top: 40px !important;
        min-height: auto !important;
    }
}

/* INSTANT CARD FEEDBACK ON TAP */
@media (max-width: 900px) {

    .feature-card,
    .step-card {
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .feature-card:focus,
    .step-card:focus,
    .feature-card:hover,
    .step-card:hover {
        transform: translateY(-15px) scale(1.05) !important;
        box-shadow: 0 20px 40px rgba(41, 182, 246, 0.4), 0 0 25px rgba(41, 182, 246, 0.3) !important;
        border-color: rgba(41, 182, 246, 0.6) !important;
        transition: all 0.2s ease-out !important;
    }
}


/* DESKTOP HERO PERFECT CENTERING */
@media (min-width: 901px) {
    .hero-bg-wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        /* Perfect vertical centering */
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: 100vh !important;
    }
}


/* MOBILE HERO CENTERING - PUSH UP */
@media (max-width: 900px) {
    .hero-bg-wrapper {
        justify-content: flex-start !important;
        padding-top: 20px !important;
        padding-bottom: 80px !important;
        /* Space for sticky CTA */
    }
}

/* DESKTOP CARD BLUE SHADOW HOVER */
@media (min-width: 901px) {

    .feature-card:hover,
    .step-card:hover {
        transform: translateY(-15px) scale(1.03) !important;
        box-shadow: 0 20px 40px rgba(41, 182, 246, 0.4), 0 0 25px rgba(41, 182, 246, 0.3) !important;
        border-color: rgba(41, 182, 246, 0.6) !important;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }
}


/* MOBILE HERO FIX - SHOW NOVI SAD */
@media (max-width: 900px) {
    .hero-bg-wrapper {
        min-height: calc(100vh - 120px) !important;
        /* Account for header and sticky CTA */
        padding-bottom: 100px !important;
        /* More space for sticky bar */
    }

    .hero-logo {
        max-width: 180px !important;
        /* Slightly smaller logo */
        margin-bottom: 10px !important;
    }

    .brand-word {
        font-size: 55px !important;
        /* Slightly smaller text */
    }

    .hero-h1-keyword {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
}


/* MOBILE - REDUCE GAP BETWEEN HERO AND O NAMA */
@media (max-width: 900px) {
    .hero-bg-wrapper {
        padding-bottom: 30px !important;
        /* Reduced from 100px */
    }

    .about-section-container {
        padding-top: 20px !important;
        /* Reduced top padding */
        margin-top: 0 !important;
    }
}


/* CENTER REVIEWS WIDGET ON DESKTOP */
@media (min-width: 901px) {
    .footer-right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}


/* GALLERY PAGE DARK THEME */
.page-template-page-galerija main,
.page-galerija main,
body.page-galerija {
    background: #0a0a0a !important;
}

.page-template-page-galerija .site-content,
.page-galerija .site-content {
    background: #0a0a0a !important;
}

/* BLUE VIGNETTE EFFECT */
.page-template-page-galerija::after,
.page-galerija::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: inset 0 0 150px 50px rgba(13, 168, 234, 0.3);
}

/* INSTAGRAM FEED 4 COLUMNS */
#sb_instagram .sbi_item,
#sbi_images .sbi_item {
    width: 25% !important;
    padding: 5px !important;
}

@media (max-width: 900px) {

    #sb_instagram .sbi_item,
    #sbi_images .sbi_item {
        width: 50% !important;
    }
}

/* TRUSTINDEX - Ensure all text is visible */
.ti-footer,
.ti-footer-filter-text {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
}

/* REMOVE CARD GLOW */
#sb_instagram .sbi_photo_wrap,
.sbi_item .sbi_photo_wrap {
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* GALLERY TITLE STYLING */
.gallery-page-title {
    font-size: 3rem !important;
    font-weight: 900 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 3px !important;
}


/* GALLERY PAGE - HIDE INSTAGRAM HEADER */
#sb_instagram .sb_instagram_header,
#sbi_images .sbi_header_text,
.sbi_header_text_wrap,
.sb_instagram_header {
    display: none !important;
}

/* GALLERY PAGE - LARGER VIDEO ITEMS */
#sb_instagram .sbi_item,
#sbi_images .sbi_item {
    width: 25% !important;
    padding: 8px !important;
}

#sb_instagram .sbi_photo_wrap img,
.sbi_item img {
    border-radius: 10px !important;
}

@media (max-width: 900px) {

    #sb_instagram .sbi_item,
    #sbi_images .sbi_item {
        width: 50% !important;
    }
}



/* =========================================
   MOBILE MENU & HAMBURGER (FIXED - PREMIUM & ROBUST)
   ========================================= */

/* 1. HAMBURGER BUTTON (Base Styles) */
.hamburger-btn {
    display: none;
    /* Hidden on desktop by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Above everything */
    position: relative;
    border-radius: 0;
    box-shadow: none;
    margin-right: 15px;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transform-origin: center;
}

/* 2. ACTIVE ANIMATION (X STATE) */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* 3. DESKTOP NAV DEFAULTS */
.main-navigation {
    flex-grow: 1;
    margin: 0 30px;
    display: block;
}

.header-menu-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 4. HEADER SOCIALS */
.header-socials {
    display: flex !important;
    gap: 15px;
    align-items: center;
}

.header-socials a {
    color: #fff !important;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-socials a:hover {
    color: var(--mojaplava) !important;
    transform: translateY(-2px);
}

/* 5. RESPONSIVE / MOBILE STYLES */
@media (max-width: 900px) {

    /* Force Show Hamburger */
    .hamburger-btn {
        display: flex !important;
        order: 3;
    }

    /* Force Hide Socials */
    .header-socials {
        display: none !important;
    }

    /* Resize Logo */
    .logo img {
        height: 40px !important;
        width: auto !important;
    }

    /* Mobile Navigation Container */
    .main-navigation {
        display: none !important;
        /* Force hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        /* Premium Glassmorphism Background */
        background: rgba(15, 15, 15, 0.95) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    /* Open State */
    .main-navigation.open {
        display: block !important;
        /* Force show */
        animation: slideDownMenu 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile Menu Items - Flex Column */
    .header-menu-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-menu-flex li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block !important;
        margin: 0 !important;
        opacity: 0;
        animation: fadeInUpItem 0.4s ease forwards;
    }

    /* Staggered Animation */
    .main-navigation.open .header-menu-flex li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(5) {
        animation-delay: 0.3s;
    }

    @keyframes fadeInUpItem {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-menu-flex li:last-child {
        border-bottom: none;
    }

    .header-menu-flex a {
        display: block !important;
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        text-align: center;
        color: #e0e0e0 !important;
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
    }

    .header-menu-flex a:active,
    .header-menu-flex a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--mojaplava) !important;
    }
}

background: #fff;
margin: 5px 0;
MOBILE MENU & HAMBURGER (FIXED - BULLETPROOF)=========================================*/
/* =========================================
/* =========================================
   MOBILE MENU & HAMBURGER (FIXED - PREMIUM & ROBUST)
   ========================================= */

/* 1. HAMBURGER BUTTON (Base Styles) */
.hamburger-btn {
    display: none;
    /* Hidden on desktop by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Above everything */
    position: relative;
    border-radius: 0;
    box-shadow: none;
    margin-right: 15px;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transform-origin: center;
}

/* 2. ACTIVE ANIMATION (X STATE) */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* 3. DESKTOP NAV DEFAULTS */
.main-navigation {
    flex-grow: 1;
    margin: 0 30px;
    display: block;
}

.header-menu-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 4. HEADER SOCIALS */
.header-socials {
    display: flex !important;
    gap: 15px;
    align-items: center;
}

.header-socials a {
    color: #fff !important;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-socials a:hover {
    color: var(--mojaplava) !important;
    transform: translateY(-2px);
}

/* 5. RESPONSIVE / MOBILE STYLES */
@media (max-width: 900px) {

    /* Force Show Hamburger */
    .hamburger-btn {
        display: flex !important;
        order: 3;
    }

    /* Force Hide Socials */
    .header-socials {
        display: none !important;
    }

    /* Resize Logo */
    .logo img {
        height: 40px !important;
        width: auto !important;
    }

    /* Mobile Navigation Container */
    .main-navigation {
        display: none !important;
        /* Force hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        /* Premium Glassmorphism Background */
        background: rgba(15, 15, 15, 0.95) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
        z-index: 1000;
    }

    /* Open State */
    .main-navigation.open {
        display: block !important;
        /* Force show */
        animation: slideDownMenu 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile Menu Items - Flex Column */
    .header-menu-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-menu-flex li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: block !important;
        margin: 0 !important;
        text-align: center !important;
        /* Center the text */
        opacity: 0;
        animation: fadeInUpItem 0.4s ease forwards;
    }

    /* Staggered Animation */
    .main-navigation.open .header-menu-flex li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .main-navigation.open .header-menu-flex li:nth-child(5) {
        animation-delay: 0.3s;
    }

    @keyframes fadeInUpItem {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-menu-flex li:last-child {
        border-bottom: none;
    }

    .header-menu-flex a {
        display: inline-block !important;
        /* Only width of text */
        width: auto !important;
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
        font-weight: 600;
        text-align: center;
        color: #e0e0e0 !important;
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .header-menu-flex a:active,
    .header-menu-flex a:hover {
        background: transparent !important;
        color: #e6b800 !important;
    }
}