/* Hide default Astra footer on landing page */
.page-template-page-landing #colophon,
.page-template-page-landing .site-footer {
    display: none !important;
}

/* Custom Footer */
.custom-footer {
    width: 100%;
    background-color: #f8f8f8;
    margin-top: 0;
    position: relative;
}

/* Newsletter sekcija u footer-u */
.footer-newsletter-section {
    background-color: var(--primary-color);
    width: 100%;
    padding: 20px 0;
}

.footer-newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-newsletter-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.footer-newsletter-form {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.footer-newsletter-input-wrapper {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333333;
    background-color: transparent;
}

.footer-newsletter-input::placeholder {
    color: #999999;
    font-style: italic;
}

.footer-newsletter-btn {
    background-color: #333333;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    border-radius: 0;
}

.footer-newsletter-btn:hover {
    background-color: #000000;
    transform: scale(1.05);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.footer-social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer glavni sadržaj */
.footer-main {
    background-color: #f8f8f8;
    padding: 50px 0 30px 0;
}

.footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
    margin: 0 0 25px 0;
    line-height: 1.2;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column p {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.footer-column .contact-info {
    margin-bottom: 10px;
}

.footer-column .contact-info strong {
    color: #333333;
    font-weight: 600;
}

.footer-column .contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-column .contact-info a:hover {
    text-decoration: underline;
}

/* Footer copyright */
.footer-copyright {
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    color: #999999;
    font-size: 13px;
    margin: 0;
}

/* Responzivnost */
@media (max-width: 768px) {
    .footer-newsletter-section {
        padding: 15px 0;
    }
    
    .footer-newsletter-container {
        padding: 0 15px;
    }
    
    .footer-newsletter-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-newsletter-title {
        font-size: 16px;
        text-align: center;
    }
    
    .footer-newsletter-form {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .footer-newsletter-input-wrapper {
        flex-direction: row;
        border-radius: 8px;
    }
    
    .footer-newsletter-input {
        padding: 10px 12px;
        font-size: 13px;
        border: none;
    }
    
    .footer-newsletter-btn {
        padding: 10px 15px;
        font-size: 11px;
        border-radius: 0;
    }
    
    .footer-social-icons {
        gap: 12px;
        justify-content: center;
    }
    
    .footer-social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile footer - bijela pozadina kao sekcija */
    .footer-main {
        padding: 0;
        background-color: #ffffff;
    }
    
    .footer-main-container {
        padding: 0;
        max-width: 100%;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    /* Mobilni accordion stil za kolone */
    .footer-column {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
    
    .footer-column h3 {
        font-size: 16px;
        margin: 0;
        padding: 20px;
        background-color: #ffffff;
        border: none;
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.3s ease;
    }
    
    .footer-column h3:hover {
        background-color: #f8f8f8;
    }
    
    .footer-column h3::after {
        content: '+';
        font-size: 20px;
        font-weight: 300;
        color: #666666;
        transition: transform 0.3s ease;
    }
    
    .footer-column.active h3::after {
        content: '−';
        transform: rotate(0deg);
    }
    
    .footer-column ul,
    .footer-column .contact-info {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 20px;
        background-color: #ffffff;
    }
    
    .footer-column.active ul,
    .footer-column.active .contact-info {
        max-height: 500px;
        padding: 0 20px 20px 20px;
    }
    
    .footer-column ul li {
        margin-bottom: 12px;
    }
    
    .footer-column ul li a {
        font-size: 14px;
        color: #666666;
    }
    
    .footer-column .contact-info {
        margin-bottom: 0;
    }
    
    /* Copyright na mobilu */
    .footer-copyright {
        background-color: #ffffff;
        border-top: 1px solid #e0e0e0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .footer-newsletter-section {
        padding: 12px 0;
    }
    
    .footer-newsletter-title {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .footer-newsletter-input {
        padding: 8px 10px;
        font-size: 12px;
        border: none;
    }
    
    .footer-newsletter-btn {
        padding: 8px 12px;
        font-size: 10px;
        border-radius: 0;
    }
    
    .footer-social-icons {
        gap: 10px;
    }
    
    .footer-social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-main {
        padding: 30px 0 15px 0;
    }
    
    .footer-columns {
        gap: 25px;
    }
    
    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-column ul li {
        margin-bottom: 10px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-column p {
        font-size: 13px;
    }
} 