/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/hello-theme/
 Description:  Hello Elementor Child Theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/

/* Global font settings */
body,
html {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
}

/* Typography Classes */
.header-1 {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    font-size: 105px;
    font-style: normal;
    font-weight: 500; /* Medium */
    letter-spacing: normal;
    line-height: 105px;
    text-transform: none;
    color: #000000;
}

.content-1 {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300; /* Light */
    letter-spacing: normal;
    line-height: 90px;
    text-transform: uppercase;
    color: #000000;
    background-color: #FFFFFF;
}

.content-2 {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300; /* Light */
    letter-spacing: normal;
    line-height: 33px;
    text-transform: none;
    color: #000000;
}

.content-3 {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300; /* Light */
    letter-spacing: normal;
    line-height: 90px;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: #000000;
}

/* Elementor overrides for global fonts */
:root {
    --e-global-typography-primary-font-family: 'Barlow', Helvetica, Arial, sans-serif;
    --e-global-typography-secondary-font-family: 'Barlow', Helvetica, Arial, sans-serif;
    --e-global-typography-text-font-family: 'Barlow', Helvetica, Arial, sans-serif;
    --e-global-typography-accent-font-family: 'Barlow', Helvetica, Arial, sans-serif;
}



/* Aktualno cards styling */
article.post--card {
    border: 0px solid var( --e-global-color-688066e );
    border-radius: 8px;
}

article.post--card .post__title {
    font-size: 26px;
    line-height: 1.2;
}

/* Header and Footer max-width constraint */
header.elementor-location-header .e-con-inner,
header.elementor-location-header > .e-con > .e-con-inner,
footer.elementor-location-footer .e-con-inner,
footer.elementor-location-footer > .e-con > .e-con-inner {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

header.elementor-location-header .e-con.e-parent,
footer.elementor-location-footer .e-con.e-parent {
    --content-width: 1300px;
}

/* Footer padding */
footer.elementor-location-footer {
    padding-top: 60px;
}

@media (max-width: 767px) {
    footer.elementor-location-footer {
        padding-top: 40px;
    }
}

/* Footer element with full-width border */
.elementor-75 .elementor-element.elementor-element-60a47da {
    --flex-direction: row;
    --container-widget-width: calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
    --flex-wrap-mobile: wrap;
    --justify-content: flex-start;
    --align-items: center;
    --gap: 10px 10px;
    --row-gap: 10px;
    --column-gap: 10px;
    --padding-top: 20px;
    --padding-bottom: 10px;
    --padding-left: 10px;
    --padding-right: 10px;
    position: relative;
}

/* Full-width border using pseudo-element */
.elementor-75 .elementor-element.elementor-element-60a47da::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: currentColor;
    opacity: 0.2;
}

/* Modern HTML table styling for program */
.program-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    font-family: 'Barlow', sans-serif;
}

.program-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.program-table tbody tr:last-child {
    border-bottom: none;
}

.program-table tbody tr:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.program-table td {
    padding: 18px 24px;
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: top;
}

.program-table td:first-child {
    font-weight: 600;
    color: #667eea;
    white-space: nowrap;
    width: 180px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-right: 2px solid rgba(102, 126, 234, 0.1);
}

.program-table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 250, 0.3);
}

.program-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

/* Global padding to prevent content from touching edges */
.elementor-section > .elementor-container,
.e-con-inner,
.e-con > .elementor-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 1024px) {
    .elementor-section > .elementor-container,
    .e-con-inner,
    .e-con > .elementor-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 767px) {
    .elementor-section > .elementor-container,
    .e-con-inner,
    .e-con > .elementor-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

body {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .program-table {
        font-size: 14px;
        border-radius: 12px;
    }
    
    .program-table td {
        padding: 12px 16px;
        font-size: 14px;
        display: block;
        width: 100% !important;
    }
    
    .program-table td:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(102, 126, 234, 0.2);
        padding-bottom: 8px;
        margin-bottom: 8px;
        background: transparent;
    }
    
    .program-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        padding: 12px;
    }
}

/* Style last menu item (PRIJAVA) as red button */
.elementor-element-7a55859e .elementor-nav-menu--main .menu-item:last-child a,
#menu-header-menu > li:last-child > a {
    background-color: #E4151B !important;
    color: #FFFFFF !important;
    padding: 5px 18px !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease;
}

.elementor-element-7a55859e .elementor-nav-menu--main .menu-item:last-child a:hover,
#menu-header-menu > li:last-child > a:hover {
    background-color: #B41116 !important;
    color: #FFFFFF !important;
}

/* Tablet and Mobile - increase button height */
@media (max-width: 1024px) {
    .elementor-element-7a55859e .elementor-nav-menu--main .menu-item:last-child a,
    #menu-header-menu > li:last-child > a {
        padding: 10px 20px !important;
    }
}

/* Very small screens - reduce font size */
@media (max-width: 333px) {
    .elementor-element-7a55859e .elementor-item,
    .elementor-element-7a55859e .elementor-nav-menu--main .menu-item a {
        font-size: 13px !important;
    }
}

