/*
Theme Name: Zlatnab Clean
Theme URI: https://zlatnab.com
Author: Zlatnab Team
Version: 1.0.0
Description: Clean responsive theme with Laboom styling
Text Domain: zlatnab-clean
*/

/* === SITE STRUCTURE === */
body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === HEADING STYLES - DOMAĆA RAKIJA STYLE === */
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", "Arial Black", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 38px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h3 {
    font-size: 32px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

h4 {
    font-size: 26px;
    color: #ffd700;
}

h5 {
    font-size: 22px;
    color: #fff;
}

h6 {
    font-size: 18px;
    color: #ffd700;
}

/* Dark backgrounds for headings on light sections */
.site-content h1,
.site-content h2,
.site-content h3 {
    color: #1a1a1a;
    text-shadow: none;
}

.site-content h2,
.site-content h4,
.site-content h6 {
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* === TOPBAR - 3 COLUMNS === */
.site-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.site-topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.topbar-column {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.topbar-column:first-child {
    justify-content: flex-start;
}

.topbar-column:last-child {
    justify-content: flex-end;
}

.topbar-column i {
    font-size: 16px;
    color: #ffd700;
    opacity: 1;
}

/* === HEADER - TRANSPARENT & BIG === */
.site-header {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    height: 120px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 25px rgba(255, 215, 0, 0.2);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    height: 90px;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === LOGO === */
.site-branding {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-branding .custom-logo {
    max-height: 90px;
    width: auto;
    height: auto;
    max-width: 300px;
    filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.4));
    transition: all 0.3s ease;
}

.site-header.scrolled .site-branding .custom-logo {
    max-height: 65px;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.site-title {
    font-size: 36px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-title a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.site-title a:hover {
    color: #ffd700;
}

.site-header.scrolled .site-title a {
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.6);
}

/* === MAIN NAVIGATION - DOMAĆA RAKIJA STYLE === */
.main-navigation {
    height: 100%;
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-navigation ul,
.main-navigation #primary-menu,
.main-navigation .menu {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 8px;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-navigation li {
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0;
    padding: 0;
}

/* Main Menu Links - BOLD IMPACT STYLE */
.main-navigation a {
    display: block !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Roboto", "Arial Black", sans-serif;
}

/* Hover Effect - GOLD GLOW */
.main-navigation > ul > li > a:hover,
.main-navigation > #primary-menu > li > a:hover,
.main-navigation > .menu > li > a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700 !important;
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Active/Current Menu Item - GOLD HIGHLIGHT */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7),
                 2px 2px 4px rgba(0,0,0,0.5);
}

/* Scrolled State - Dark Background */
.site-header.scrolled .main-navigation a {
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.site-header.scrolled .main-navigation > ul > li > a:hover,
.site-header.scrolled .main-navigation > #primary-menu > li > a:hover,
.site-header.scrolled .main-navigation > .menu > li > a:hover {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.9),
                 2px 2px 4px rgba(0,0,0,0.6);
}

.site-header.scrolled .main-navigation .current-menu-item > a,
.site-header.scrolled .main-navigation .current_page_item > a {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700 !important;
}

/* === DROPDOWN MENUS === */
.main-navigation .sub-menu {
    display: none !important;
    position: fixed;
    top: calc(100% + 15px);
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    padding: 10px 0;
    min-width: 240px;
    z-index: 10001;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    flex-direction: column !important;
    gap: 0 !important;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navigation li:hover > .sub-menu {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    width: 100%;
    margin: 0 !important;
}

.main-navigation .sub-menu a {
    display: block !important;
    padding: 14px 24px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6) !important;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    border-radius: 0;
    letter-spacing: 1px;
}

.main-navigation .sub-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.15) 100%);
    color: #ffd700 !important;
    transform: translateX(5px);
    padding-left: 30px !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8),
                 2px 2px 4px rgba(0,0,0,0.6) !important;
}

.main-navigation .sub-menu .current-menu-item > a {
    background: rgba(255, 215, 0, 0.25);
    color: #ffd700 !important;
    font-weight: 900;
}

/* Dropdown Arrow Indicator */
.main-navigation li.menu-item-has-children > a::after {
    content: "▾";
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    opacity: 1;
    transition: transform 0.3s ease;
    color: #ffd700;
}

.main-navigation li.menu-item-has-children:hover > a::after {
    transform: translateY(2px);
}

/* === CONTENT === */
.site-content {
    flex: 1;
    width: 100%;
}

article {
    max-width: 1200px;
    margin: 0 auto;
}

/* === REVOLUTION SLIDER === */
.rev_slider_wrapper {
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

.site-content > *:first-child,
.site-content > article > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* === FOOTER === */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 3px solid #ffd700;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.site-footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .site-header {
        height: 110px;
    }
    
    .header-container,
    .topbar-container {
        padding: 0 30px;
    }
    
    .main-navigation a {
        padding: 12px 20px;
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    h1 { font-size: 42px; }
    h2 { font-size: 34px; }
    h3 { font-size: 28px; }
}

@media (max-width: 992px) {
    .site-header {
        height: 100px;
    }
    
    .site-header.scrolled {
        height: 85px;
    }
    
    .topbar-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .topbar-column {
        justify-content: center !important;
        font-size: 13px;
    }
    
    .main-navigation > ul,
    .main-navigation > #primary-menu,
    .main-navigation > .menu {
        gap: 6px;
    }
    
    .main-navigation a {
        padding: 10px 16px;
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .site-branding .custom-logo {
        max-height: 75px;
    }
    
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
}

@media (max-width: 768px) {
    .site-topbar {
        position: relative;
        background: rgba(0, 0, 0, 0.95);
        padding: 10px 0;
    }
    
    .topbar-container {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0 20px;
    }
    
    .topbar-column {
        font-size: 12px;
        justify-content: center !important;
    }
    
    .site-header {
        position: relative;
        top: 0;
        height: auto;
        min-height: 80px;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .header-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .site-branding .custom-logo {
        max-height: 60px;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .site-title a {
        color: #ffd700 !important;
    }
    
    .main-navigation ul,
    .main-navigation #primary-menu,
    .main-navigation .menu {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 15px 0 !important;
        width: 100%;
    }
    
    .main-navigation a {
        font-size: 16px;
        color: #fff !important;
        width: 100%;
        text-align: center;
        padding: 14px 20px !important;
        letter-spacing: 1.5px;
    }
    
    .main-navigation a:hover {
        background: rgba(255, 215, 0, 0.25) !important;
        color: #ffd700 !important;
    }
    
    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.8);
        margin: 8px 0 0 0;
        border-radius: 8px;
        padding: 10px 0 !important;
        border: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .main-navigation .sub-menu a {
        padding: 12px 20px !important;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
}

/* === ADDITIONAL OVERRIDES === */
.entry-content img {
    max-width: 100%;
    height: auto;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Force Visibility - Override Conflicts */
.main-navigation,
.main-navigation *,
.main-navigation ul,
.main-navigation li,
.main-navigation a {
    visibility: visible !important;
    opacity: 1 !important;
}

/* === CONTACT FORM MODAL === */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: auto;
    padding: 0;
    border: 3px solid #ffd700;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(255, 215, 0, 0.4);
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 30px;
    border-radius: 17px 17px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

.modal-close {
    position: fixed;
    right: 20px;
    top: 20px;
    color: #1a1a1a;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

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

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

.form-group label {
    color: #ffd700;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

.form-submit-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.form-submit-btn:active {
    transform: translateY(-1px);
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    color: #4CAF50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
    display: block;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .form-submit-btn {
        font-size: 16px;
        padding: 15px 30px;
    }
}

/* Time Cards Hover Effects */
.time-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5) !important;
}

.time-item i {
    transition: all 0.3s ease;
}

.time-item:hover i {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays for multiple items */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }

/* Active menu item highlighting based on scroll position */
.main-navigation a.active-section {
    color: #ffd700 !important;
    background: rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Parallax effect for sections */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Smooth color transitions */
section {
    transition: background-color 0.5s ease;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #ffd700 0%, #fff 100%);
    z-index: 10000;
    transition: width 0.1s ease;
}
