/*
 Theme Name:   Pergo Child
 Theme URI:    http://jthemes.org/wp/pergo/
 Description:  Pergo child theme
 Author:       JThemes
 Author URI:   http://themeforest.net/user/themeperch
 Template:     pergo
 Version:      1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  pergo
*/

/* Add your custom css below */



@font-face {
  font-family: 'Aeonik';
  src: url('/wp-content/themes/pergo-child/fonts/Aeonik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('/wp-content/themes/pergo-child/fonts/Aeonik-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.navbar-expand-lg .navbar-nav .nav-link{
  font-family: 'Aeonik', sans-serif;
  font-weight: 700;

}

h1, h2, h3, h4, h5, h6{
  font-family: 'Aeonik', sans-serif;
  font-weight: 700;
}

.section-desc{list-style: disc; padding-left: 20px;}

h1 {font-size: 52px; margin-bottom:-4px;}
.ispod-glavnog-naslova {font-family:Aeonik, sans-serif; font-size: 32px;}

.hero-opis{font-family:Aeonik, sans-serif; font-size: 19px;}
.section-subtitle{font-family:Aeonik, sans-serif; font-size: 32px; font-weight: 400;}
.btn {
  background-color: #6181c1;
  border: 2px solid #6181c1;
}

.section-title{
  font-family: 'Aeonik', sans-serif;
  font-weight: 700;
  font-size: 52px;
}

.section-description{
  font-family: 'Aeonik', sans-serif;
  font-size: 19px;
}

.section-subtitle {
  font-family: Aeonik, sans-serif;
    font-size: 32px;
    font-weight: 
}

body{
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  body::-webkit-scrollbar{
    display: none;
  }

  .vc_row{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }


    /* Reset & Base */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    
    /* ------------------------------------------- */
    /* DESKTOP STYLES (min-width: 769px) */
    /* ------------------------------------------- */
    @media (min-width: 769px) {
        .mobile-only-image { display: none !important; } /* Hide mobile images */
        
        .dbrand-wrapper {
            width: 100%;
            /* Height set by JS */
            position: relative;
        }

        .dbrand-sticky {
            position: sticky;
            top: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            background: #fff;
            overflow: hidden;
        }

        .left-col {
            width: 40%;
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px;
            z-index: 10;
            background: #fff;
            overflow: hidden;
        }

        .text-content {
            position: absolute;
            left: 60px;
            right: 60px;
            top: 50%;
            transform: translateY(-50%);
            will-change: transform, opacity;
        }
        
        .text-1 { opacity: 1; z-index: 2; }
        .text-2 { opacity: 0; z-index: 1; }

        .right-col {
            width: 60%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .image-stack {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .slide-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            will-change: transform;
        }

        .img-1 { z-index: 2; }
        .img-2 { z-index: 1; }

        .section-title {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            color: #000;
        }

        .section-desc {
            font-size: 19px;
            line-height: 1.6;
            color: #333;
        }
    }

    /* ------------------------------------------- */
    /* MOBILE STYLES (max-width: 768px) */
    /* ------------------------------------------- */
    @media (max-width: 768px) {
        .dbrand-wrapper { height: auto !important; }
        .dbrand-sticky { display: block; position: static; height: auto; }
        .right-col { display: none; } /* Hide desktop image stack */
        
        .left-col {
            width: 100%;
            height: auto;
            padding: 40px 20px;
            display: block;
        }

        /* Reset text positioning to static block flow */
        .text-content {
            position: relative;
            top: auto;
            transform: none;
            opacity: 1 !important;
            left: auto;
            right: auto;
            margin-bottom: 60px; /* Space between sections */
        }

        .section-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.2;
            color: #000;
        }

        .section-desc {
            font-size: 16px;
            line-height: 1.5;
            color: #333;
            margin-bottom: 20px;
        }

        /* Mobile Images */
        .mobile-only-image {
            display: block;
            width: 100%;
            height: 300px; /* Or whatever height you prefer */
            object-fit: cover;
            margin-top: 20px;
            border-radius: 8px;
        }
    }