/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



.verse-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #10b981;
            color: white;
            padding: 12px 24px;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            z-index: 9999;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.3s ease;
        }
        .verse-notification.show {
            opacity: 1;
            transform: translateX(0);
        }

.col-full{
    align-items: center !important;
}        

.verse-single-wrapper{
    align-items: center !important; 
    align-content: center !important;
    padding: 0px 0px !important ;
}

/* ===== DVOKOLONSKI LAYOUT ZA STIHOVE ===== */
.verse-two-columns {
    display: flex;
    glyph-orientation-horizontal: center;
    margin-left: 263px !important;
    gap: 40px;
    max-width: 1050px;
    margin: 20px auto;
    padding: 0 0px;
}

/* Leva kolona - 60% širine */
.verse-left-column {
    flex: 0 0 60%;
    max-width: 60%;
}

/* Desna kolona - 40% širine */
.verse-right-column {
    padding-top:0px !important;
    flex: 0 0 40%;
    max-width: 40%;
}

/* Stih kartica */
.verse-card {
    background: #fff !important;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 40px;
    padding-bottom: 20px !important;
    color: #333;
    margin-bottom: 30px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
}

.verse-card-content {
    position: relative;
    z-index: 2;
}

.verse-quote-icon {
    font-size: 150px;
    font-family: serif;
    position: absolute;
    top: -40px;
    left: -20px;
    opacity: 0.2;
    color: white;
}

.verse-text {
    font-family: Roboto Serif !important;
    font-size: 21px;
    color: rgb(51, 51, 51);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
}

.verse-reference {
    font-family: Roboto Serif;
    font-size: 20px;
    text-align: right;
    font-style: italic;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}


@media (max-width: 768px) {
    /* Desna kolona - 40% širine */

   .verse-two-columns {
        flex-direction: column;
        max-width: 100% !important;
        align-items: center;
        margin: 10px auto !important;
        padding: 10px !important;
    }
.verse-right-column {
    padding-top:0px !important;
    flex: 0 0 70%;
    max-width: 70%;
}

.verses-sidebar {
    max-width: 300px;
    background: white;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 25px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: sticky;
    top: 100px;
}
    .verse-card {
    background: #fff !important;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 30px !important;
    padding-bottom: 20px !important;
    color: #333;
    margin-bottom: 15px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
}

.verse-card-content {
    position: relative;
    z-index: 2;
}

.verse-quote-icon {
    font-size: 150px;
    font-family: serif;
    position: absolute;
    top: -40px;
    left: -20px;
    opacity: 0.2;
    color: white;
}

.verse-text {
    font-family: Roboto Serif !important;
    font-size: 18px;
    color: rgb(51, 51, 51);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.verse-reference {
    font-family: Roboto Serif;
    font-size: 18px;
    text-align: right;
    font-style: italic;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}
}

@media (max-width: 435px){
.verse-two-columns {
        flex-direction: column;
        max-width: 100% !important;
        align-items: center;
        margin: 10px auto !important;
        padding: 10px !important;
    }
    .verse-right-column {
    padding-top:0px !important;
    flex: 0 0 70%;
    max-width: 70%;
}
   .verses-sidebar {
    max-width: 300px;
    background: white;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 25px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: sticky;
    top: 100px;
}

.verse-card {
    background: #fff !important;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 30px !important;
    padding-bottom: 20px !important;
    color: #333;
    margin-bottom: 15px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: relative;
    overflow: hidden;
}

.verse-card-content {
    position: relative;
    z-index: 2;
}

.verse-quote-icon {
    font-size: 150px;
    font-family: serif;
    position: absolute;
    top: -40px;
    left: -20px;
    opacity: 0.2;
    color: white;
}

.verse-text {
    font-family: Roboto Serif !important;
    font-size: 18px;
    color: rgb(51, 51, 51);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.verse-reference {
    font-family: Roboto Serif;
    font-size: 18px;
    text-align: right;
    font-style: italic;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}
}
/* Akcije i deljenje */
.verse-actions {
    background: white;
    border-radius: 10px;
    border: solid 1px #f0f0f0;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.actions-title {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 7px !important;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.btn-icon {
    font-size: 16px;
    margin-top: 2px;
    margin-left: 3px;
    margin-right: -8px;
    align-items: center;
}

.share-btn:hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 7px !important;
    border: none;
    border-radius: 4px;
    background: rgb(247, 246, 242) ;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.share-btn-copy-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 7px !important;
    border: none;
    border-radius: 4px !important;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.image-action {
    background: #f4f1ea !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 7px !important;
    padding-right: 12px!important;
    border: solid 1px #d6d0c4 ;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333 !important;
}


.copy-btn { background: #6c757d; }
.copy-btn:hover { background: #5a6268; transform: translateY(0px); }

.facebook-btn { background: #3b5998; }
.facebook-btn:hover { background: #2d4373; transform: translateY(0px); }

.whatsapp-btn { background: #25d366; }
.whatsapp-btn:hover { background: #1da851; transform: translateY(0px); }

.twitter-btn { background: #1da1f2; }
.twitter-btn:hover { background: #0c85d0; transform: translateY(0px); }

.email-btn { background: #ea4335; }
.email-btn:hover { background: #d33426; transform: translateY(0px); }




/* Desni sidebar sa brojevima stihova */
.verses-sidebar {
    max-width: 300px;
    background: white;
    border-radius: 12px;
    border: solid 1px #f0f0f0;
    padding: 25px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.title-icon {
    font-size: 24px;
}

/* Grid za brojeve stihova - 4 kolone */
.verses-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
    margin-bottom: 20px;
}

.verse-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 2px;
    background: #f3f4f6;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 12px;
    font-weight: 500;
}

.verse-sidebar-item:hover {
    background: #f4f1ea;
    color: #333;
    transform: translateY(0px);
}

.verse-sidebar-item.active {
    background: #f4f1ea;
    color: #333;
    font-weight: 700;
    box-shadow: 0 0px 0px rgba(16,185,129,0);
}

.verse-number {
    font-weight: 600;
}

/* Footer u sidebaru */
.sidebar-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 13px;
}

.sidebar-link:hover {
    background: #f4f1ea;
    color: #333;
}

.link-icon {
    font-size: 16px;
}


/* Desni sidebar sa brojevima stihova */
.verses-sidebar {
    max-width: 300px;
    background: white;
    border-radius: 12px;
    border: solid 1px #f0f0f0 ;
    padding: 25px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.title-icon {
    font-size: 24px;
}

/* Grid za brojeve stihova - 4 kolone */
.verses-grid-sidebar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.verse-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 2px;
    background: #f3f4f6;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 12px;
    font-weight: 500;
}

.verse-sidebar-item:hover {
    background: #f4f1ea;
    color: #333;
    transform: translateY(0px);
}

.verse-sidebar-item.active {
    background: #f4f1ea;
    color: #333;
    font-weight: 700;
    box-shadow: 0 0px 0px rgba(16,185,129,0);
}

.verse-number {
    font-weight: 600;
}

/* Footer u sidebaru */
.sidebar-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.sidebar-link:hover {
    background: #f4f1ea;
    color: #333;
}

.link-icon {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .verse-two-columns {
        flex-direction: column;
    }
    
    .verse-left-column,
    .verse-right-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .verses-grid-sidebar {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    /*.verse-card {
        padding: 20px;
    }
    
       .verse-text {
        font-size: 22px;
    }*/
    
    .verses-grid-sidebar {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .share-buttons {
        justify-content: center;
    }
}




    
@media (max-width: 435px) {
 .verse-two-columns {
        flex-direction: column;
        max-width: 100% !important;
        align-items: center;
        margin: 0px auto;
        padding: 0 0px;
    }

    .versverse-image-card{

        max-width: 100% !important;
    }
   
}

.watermark-in-reference{
    color: rgba(255, 255, 255, 0.5);
}

/* Overlay za sliku */
.verse-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 69, 145, 0.44);
    z-index: 1;
}

.verse-image-card {
    position: relative;
    background-size: cover;
    background-position: center;
}

.verse-image-content {
    position: relative;
    z-index: 2;
}



/* Slika stiha */
.verse-image-section {
    background: white;
    border-radius: 15px;
    border: solid 1px #f0f0f0;
    padding: 15px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.verse-image-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0px;
    padding: 50px;
    color: white;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 435px) {
    .verse-image-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0px;
    padding: 20px;
    color: white;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.verse-image-section {
    background: white;
    border-radius: 15px;
    border: solid 1px #f0f0f0;
    padding-top: 8px ;
    padding-bottom: 8px;
    padding-left: 5px !important;
    padding-right: 5px !important;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}
    
} 

.verse-image-content {
    position: relative;
    z-index: 2;
}

.verse-image-quote {
    font-size: 100px;
    font-family: serif;
    position: absolute;
    top: -62px;
    left: -5px;
    opacity: 0.2;
    color: white;
}

.verse-image-text {
    font-family: Roboto ;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
}

.verse-image-reference {
    font-family: Roboto ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: clamp(15px, 3vw, 25px);
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap; /* Uvek u istoj liniji */
}



.watermark-in-reference{
    color: rgba(255, 255, 255, 0.5);
}
.watermark {
    font-size: clamp(11px, 2.5vw, 16px);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Arial', sans-serif;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    backdrop-filter: blur(2px);
    flex-shrink: 0;
}

.reference {
    font-size: clamp(12px, 3vw, 20px);
    font-style: italic;
    color: white;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    flex: 1;
    min-width: 0; /* Dozvoljava smanjivanje */
}

/* Na jako malim ekranima smanji font */
@media (max-width: 360px) {
    .watermark {
        font-size: 9px;
        padding: 3px 8px;
    }
    
.verse-image-section {
    width: 100% !important;
    }

    .reference {
        font-size: 8px !important;
    }
}

/* Responsive za manje ekrane */
@media (max-width: 480px) {
    .verse-image-reference {
        grid-template-columns: 1fr; /* Jedna kolona na mobilnom */
        gap: 8px;
    }
    
    .watermark {
        justify-self: center;
        width: fit-content;
    }
    
    .reference {
        text-align: center;
        font-size: 14px;
    }
}



/* ===== BOOKMARK (OMILJENI) STILOVI ===== */
.verse-card {
    position: relative;
    background: rgb(247, 246, 242);
    border-radius: 12px;
    padding: 40px;
    color: #333;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Nevidljivi header - samo za pozicioniranje bookmark-a */
.verse-card-header {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 10;
    background: transparent;
    pointer-events: none; /* Omogućava klik na dugme kroz header */
}

/* Bookmark dugme */
.bookmark-btn {
    position: absolute;
    color: #333 !important;
    top: 0px;
    right: -15px;
    border: none;
    background: none !important;
    cursor: pointer;
    z-index: 20;
    padding: 15px 27px !important;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Omogućava klik na dugme */
}

.bookmark-icon {
    width: 27px;
    height: 27px;
    display: block;
    transition: all 0.2s ease;
}

.bookmark-icon.active path {
    fill: #10b981;
}

.bookmark-icon path {
    transition: all 0.2s ease;
}



.bookmark-btn:hover .bookmark-icon path {
    stroke: none;
}

.bookmark-btn.active:hover .bookmark-icon path {
    fill: none;
}

/* Responsive */
@media (max-width: 768px) {
    .verse-card-header {
        width: 50px;
        height: 50px;
    }
    
    .bookmark-btn {
        top: -5px;
        right: -18px;
    }
    
    .bookmark-icon {
        width: 26px;
        height: 26px;
    }
}


/* Responsive */
@media (max-width: 435px) {
    .verse-card-header {
        width: 50px;
        height: 50px;
    }
    
    .bookmark-btn {
        top: -5px;
        right: -18px;
    }
    
    .bookmark-icon {
        width: 25px;
        height: 25px;
    }
}




/* ===== LOGIN MODAL STILOVI ===== */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.login-modal {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.login-modal-icon {
    font-size: 48px;
}

.login-modal-close {
    background: none!important;
    border: none;
    font-size: 27px;
    cursor: pointer;
    color: #333 !important;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.login-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.login-modal-shortcode {
    padding-bottom: 15px;
    max-width: 120px;
    margin-left: 33% !important;
    display: flex;
    justify-content: space-evenly;

}

@media (max-width: 435px) {

.login-modal-shortcode {
    padding-bottom: 15px;
    max-width: 120px;
    margin-left: 33% !important;
    display: flex;
    justify-content:space-evenly;
}
}

@media (max-width: 495px) {

.login-modal-shortcode {
    padding-bottom: 15px;
    max-width: 120px;
    margin-left: 33% !important;
    display: flex;
    justify-content:space-evenly;
}
}

@media (max-width: 768px) {

.login-modal-shortcode {
    padding-bottom: 15px;
    max-width: 120px;
    margin-left: 33% !important;
    display: flex;
    justify-content:space-evenly;
}
}

.login-modal-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    text-align: center !important;
}

.login-modal-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center !important;
}

.login-modal-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.login-modal-btn {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.login-btn {
    background: #10b981;
    color: white;
}

.login-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.register-btn {
    background: #f3f4f6;
    color: #333;
    border: 1px solid #e5e7eb;
}

.register-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.login-modal-note {
    font-size: 12px !important;
    color: #999 !important;
    text-align: center;
    margin-bottom: 0 !important;
}

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

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

/* Responsive */
@media (max-width: 480px) {
    .login-modal {
        padding: 20px;
        width: 95%;
    }
    
    .login-modal-actions {
        flex-direction: column;
    }
    
    .login-modal-content h3 {
        font-size: 20px;
    }
}